[Libreoffice-commits] .: writerperfect/source
Christian Lohmaier
cloph at kemper.freedesktop.org
Mon May 9 05:00:50 PDT 2011
writerperfect/source/filter/OdtGenerator.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 976fcac93e28aef4c18596bbecad7e5863eed4e2
Author: Christian Lohmaier <lohmaier+LibreOffice at googlemail.com>
Date: Mon May 9 13:59:57 2011 +0200
WaE - comparison between signed and unsigned
diff --git a/writerperfect/source/filter/OdtGenerator.cxx b/writerperfect/source/filter/OdtGenerator.cxx
index 241e399..a3298ca 100644
--- a/writerperfect/source/filter/OdtGenerator.cxx
+++ b/writerperfect/source/filter/OdtGenerator.cxx
@@ -797,7 +797,7 @@ void OdtGenerator::defineOrderedListLevel(const WPXPropertyList &propList)
// is starting a new list at level 1 (and only level 1)
if (pOrderedListStyle == NULL || pOrderedListStyle->getListID() != id ||
(propList["libwpd:level"] && propList["libwpd:level"]->getInt()==1 &&
- (propList["text:start-value"] && propList["text:start-value"]->getInt() != (mpImpl->mWriterListStates.top().miLastListNumber+1))))
+ (propList["text:start-value"] && static_cast<unsigned>(propList["text:start-value"]->getInt()) != (mpImpl->mWriterListStates.top().miLastListNumber+1))))
{
WRITER_DEBUG_MSG(("Attempting to create a new ordered list style (listid: %i)\n", id));
WPXString sName;
More information about the Libreoffice-commits
mailing list