[PATCH] libwpd: correct spelling of occurrence

Thomas Arnhold (via Code Review) gerrit at gerrit.libreoffice.org
Mon Mar 4 08:46:57 PST 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/2543

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/43/2543/1

libwpd: correct spelling of occurrence

http://libwpd.sourcearchive.com/documentation/0.9.4-1/classRawDocumentGenerator_a3eab0d3f755a72589cb84d3db1938548.html

Change-Id: Ib39d358619ec9944965f774eefbf2467482a67be
---
M writerperfect/source/filter/OdtGenerator.cxx
1 file changed, 2 insertions(+), 2 deletions(-)



diff --git a/writerperfect/source/filter/OdtGenerator.cxx b/writerperfect/source/filter/OdtGenerator.cxx
index 88bcc18..259b0f2 100644
--- a/writerperfect/source/filter/OdtGenerator.cxx
+++ b/writerperfect/source/filter/OdtGenerator.cxx
@@ -512,7 +512,7 @@
 {
     std::vector<DocumentElement *> * pHeaderFooterContentElements = new std::vector<DocumentElement *>;
 
-    if (propList["libwpd:occurence"]->getStr() == "even")
+    if (propList["libwpd:occurrence"]->getStr() == "even")
         mpImpl->mpCurrentPageSpan->setHeaderLeftContent(pHeaderFooterContentElements);
     else
         mpImpl->mpCurrentPageSpan->setHeaderContent(pHeaderFooterContentElements);
@@ -529,7 +529,7 @@
 {
     std::vector<DocumentElement *> * pHeaderFooterContentElements = new std::vector<DocumentElement *>;
 
-    if (propList["libwpd:occurence"]->getStr() == "even")
+    if (propList["libwpd:occurrence"]->getStr() == "even")
         mpImpl->mpCurrentPageSpan->setFooterLeftContent(pHeaderFooterContentElements);
     else
         mpImpl->mpCurrentPageSpan->setFooterContent(pHeaderFooterContentElements);

-- 
To view, visit https://gerrit.libreoffice.org/2543
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib39d358619ec9944965f774eefbf2467482a67be
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Thomas Arnhold <thomas at arnhold.org>



More information about the LibreOffice mailing list