diff options
author | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2011-05-09 13:59:57 +0200 |
---|---|---|
committer | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2011-05-09 13:59:57 +0200 |
commit | 4634429ebd01bb5ec22b00a1e2ae9a8835af80f4 (patch) | |
tree | b80d65fb1ce1bf4d74c9277d94c19a83bae2b7cb | |
parent | 8813585838266ebbaf6bd82ca71b0b1ed339bf75 (diff) |
WaE - comparison between signed and unsigned
-rw-r--r-- | writerperfect/source/filter/OdtGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/writerperfect/source/filter/OdtGenerator.cxx b/writerperfect/source/filter/OdtGenerator.cxx index 241e3992b60e..a3298ca9d83c 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; |