summaryrefslogtreecommitdiff
path: root/writerperfect
diff options
context:
space:
mode:
authorChristian Lohmaier <lohmaier+libreoffice@googlemail.com>2011-01-18 15:28:00 -0500
committerKohei Yoshida <kyoshida@novell.com>2011-01-18 15:32:22 -0500
commit2364ad704aa418b0944d9f12a11ce0d266554ac5 (patch)
treedc458f16f1a00f2326f97cbc75c888fd4c7a6f78 /writerperfect
parentce13ac6030d82300d629c88a7aad3e94a4b70532 (diff)
WaE patch for filter
Signed-off-by: Kohei Yoshida <kyoshida@novell.com>
Diffstat (limited to 'writerperfect')
-rw-r--r--writerperfect/source/filter/DocumentCollector.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/writerperfect/source/filter/DocumentCollector.cxx b/writerperfect/source/filter/DocumentCollector.cxx
index 39aa1dc9f991..5f8633be5179 100644
--- a/writerperfect/source/filter/DocumentCollector.cxx
+++ b/writerperfect/source/filter/DocumentCollector.cxx
@@ -655,7 +655,7 @@ void DocumentCollector::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() != (mWriterListStates.top().miLastListNumber+1))))
+ (propList["text:start-value"] && propList["text:start-value"]->getInt() != static_cast<int>(mWriterListStates.top().miLastListNumber+1))))
{
WRITER_DEBUG_MSG(("Attempting to create a new ordered list style (listid: %i)\n", id));
WPXString sName;