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

New commits:
commit d049f12c29faa685dc79a32dc8337b91680ca7a7
Author: Stephan Bergmann <[email protected]>
Date:   Sun Oct 23 22:48:10 2011 +0200

    Removed apparently unused fSectionSpaceAfter (nee 
OdtGenerator::mfSectionSpaceAfter).

diff --git a/writerperfect/source/filter/OdtGenerator.cxx 
b/writerperfect/source/filter/OdtGenerator.cxx
index e681a39..04e0351 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)
     {
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to