[Libreoffice-commits] .: Branch 'libreoffice-3-4' - writerperfect/source

Fridrich Strba fridrich at kemper.freedesktop.org
Mon Apr 4 08:36:50 PDT 2011


 writerperfect/source/filter/DocumentCollector.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ff53bc2f87527178ea5978cc4958e2edb97fd64d
Author: Fridrich Å trba <fridrich.strba at bluewin.ch>
Date:   Mon Apr 4 17:36:31 2011 +0200

    occurrence -> occurence and don't crash anymore

diff --git a/writerperfect/source/filter/DocumentCollector.cxx b/writerperfect/source/filter/DocumentCollector.cxx
index 5093520..cae7736 100644
--- a/writerperfect/source/filter/DocumentCollector.cxx
+++ b/writerperfect/source/filter/DocumentCollector.cxx
@@ -459,7 +459,7 @@ void DocumentCollector::openPageSpan(const WPXPropertyList &propList)
 static bool
 isOccurrenceEven (const WPXPropertyList &propList)
 {
-    const WPXProperty *occurance = propList["libwpd:occurrence"];
+    const WPXProperty *occurance = propList["libwpd:occurence"];
     return occurance && occurance->getStr() == "even";
 }
 


More information about the Libreoffice-commits mailing list