From kde-commits Fri Sep 17 22:07:14 2010 From: Carlos Licea Date: Fri, 17 Sep 2010 22:07:14 +0000 To: kde-commits Subject: koffice/libs/kotext/opendocument Message-Id: <20100917220714.CC82FAC88E () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=128476094028112 SVN commit 1176532 by clicea: Remove assert. At the time I wrote the code I didn't consider the case in which there's no style at all. M +0 -1 KoTextLoader.cpp --- trunk/koffice/libs/kotext/opendocument/KoTextLoader.cpp #1176531:1176532 @@ -1263,7 +1263,6 @@ } QTextTableCellFormat cellFormat = cell.format().toTableCellFormat(); - Q_ASSERT(cellStyle); if (cellStyle) cellStyle->applyStyle(cellFormat); cell.setFormat(cellFormat);