[Libreoffice-commits] .: writerperfect/source

Caolán McNamara caolan at kemper.freedesktop.org
Thu Oct 27 05:54:24 PDT 2011


 writerperfect/source/filter/OdtGenerator.cxx |    6 ------
 1 file changed, 6 deletions(-)

New commits:
commit c6e86f8b7af28d990b9539903560554fc130775e
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Oct 27 13:54:19 2011 +0100

    fSectionSpaceAfter is unused

diff --git a/writerperfect/source/filter/OdtGenerator.cxx b/writerperfect/source/filter/OdtGenerator.cxx
index b597241..9533803 100644
--- a/writerperfect/source/filter/OdtGenerator.cxx
+++ b/writerperfect/source/filter/OdtGenerator.cxx
@@ -561,16 +561,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)
     {


More information about the Libreoffice-commits mailing list