From 2364ad704aa418b0944d9f12a11ce0d266554ac5 Mon Sep 17 00:00:00 2001 From: Christian Lohmaier Date: Tue, 18 Jan 2011 15:28:00 -0500 Subject: WaE patch for filter Signed-off-by: Kohei Yoshida --- writerperfect/source/filter/DocumentCollector.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'writerperfect') 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(mWriterListStates.top().miLastListNumber+1)))) { WRITER_DEBUG_MSG(("Attempting to create a new ordered list style (listid: %i)\n", id)); WPXString sName; -- cgit