diff options
-rw-r--r-- | writerperfect/source/filter/OdtGenerator.cxx | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/writerperfect/source/filter/OdtGenerator.cxx b/writerperfect/source/filter/OdtGenerator.cxx index e681a395ba7c..04e035195cc6 100644 --- a/writerperfect/source/filter/OdtGenerator.cxx +++ b/writerperfect/source/filter/OdtGenerator.cxx @@ -547,16 +547,10 @@ void OdtGenerator::openSection(const WPXPropertyList &propList, const WPXPropert int iNumColumns = columns.count(); double fSectionMarginLeft = 0.0; double fSectionMarginRight = 0.0; - double fSectionSpaceAfter = 0.0; if (propList["fo:margin-left"]) fSectionMarginLeft = propList["fo:margin-left"]->getDouble(); if (propList["fo:margin-right"]) fSectionMarginRight = propList["fo:margin-right"]->getDouble(); - if (propList["fo:margin-bottom"]) - fSectionSpaceAfter = propList["fo:margin-bottom"]->getDouble(); - else if (propList["libwpd:margin-bottom"]) - fSectionSpaceAfter = propList["libwpd:margin-bottom"]->getDouble(); - if (iNumColumns > 1 || fSectionMarginLeft != 0 || fSectionMarginRight != 0) { |