[Libreoffice-commits] .: writerperfect/source

David Tardon dtardon at kemper.freedesktop.org
Mon Oct 24 23:25:35 PDT 2011


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

New commits:
commit c6dee8c995caeb78054c1677d6c36fd466b78955
Author: David Tardon <dtardon at redhat.com>
Date:   Tue Oct 25 08:25:05 2011 +0200

    remove unused code... again

diff --git a/writerperfect/source/filter/OdtGenerator.cxx b/writerperfect/source/filter/OdtGenerator.cxx
index 979b383..cb64d63 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