summaryrefslogtreecommitdiff
path: root/writerperfect
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2011-04-04 17:36:31 +0200
committerFridrich Štrba <fridrich.strba@bluewin.ch>2011-04-04 17:36:31 +0200
commit6825072a2704bac457918ceed239cbaf741f8de9 (patch)
tree709aa87b03d8ea1a3d7e03f21f2d4dcb57a810f2 /writerperfect
parent0131c3ea0e4b0275858b342cc4ccf768790181a1 (diff)
occurrence -> occurence and don't crash anymore
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 fa077b4b4305..7c3718303335 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";
}