[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/libs/kotext/opendocument
From: Carlos Licea <carlos_licea () hotmail ! com>
Date: 2010-09-17 22:07:10
Message-ID: 20100917220710.DCF06AC888 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1176531 by clicea:
Don't look up the style on every iteration, just once. Thanks to
Thorsten for the heads up.
M +1 -1 KoTextLoader.cpp
--- trunk/koffice/libs/kotext/opendocument/KoTextLoader.cpp #1176530:1176531
@@ -1203,8 +1203,8 @@
QString defaultCellStyleName = \
tblTag.attributeNS(KoXmlNS::table, "default-cell-style-name", ""); if \
(!defaultCellStyleName.isEmpty()) { + KoTableCellStyle \
*cellStyle = d->textSharedData->tableCellStyle(defaultCellStyleName, \
d->stylesDotXml);
for (int c = columns; c < columns + repeatColumn; c++) {
- KoTableCellStyle *cellStyle = \
d->textSharedData->tableCellStyle(defaultCellStyleName, \
d->stylesDotXml);
tcarManager->setDefaultColumnCellStyle(c, cellStyle);
}
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic