summaryrefslogtreecommitdiff
path: root/writerperfect
diff options
context:
space:
mode:
authorChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2011-05-09 13:59:57 +0200
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2011-05-09 13:59:57 +0200
commit4634429ebd01bb5ec22b00a1e2ae9a8835af80f4 (patch)
treeb80d65fb1ce1bf4d74c9277d94c19a83bae2b7cb /writerperfect
parent8813585838266ebbaf6bd82ca71b0b1ed339bf75 (diff)
WaE - comparison between signed and unsigned
Diffstat (limited to 'writerperfect')
-rw-r--r--writerperfect/source/filter/OdtGenerator.cxx2
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;