summaryrefslogtreecommitdiff
path: root/writerperfect
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2011-10-25 08:25:05 +0200
committerDavid Tardon <dtardon@redhat.com>2011-10-25 08:25:05 +0200
commitc6dee8c995caeb78054c1677d6c36fd466b78955 (patch)
tree524d6935661a4cc7bc918af28f3f12dd9bdfe5a5 /writerperfect
parent2ba5d12f3a49a23767f17b9db3c019cd6351cfc9 (diff)
remove unused code... again
Diffstat (limited to 'writerperfect')
-rw-r--r--writerperfect/source/filter/OdtGenerator.cxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/writerperfect/source/filter/OdtGenerator.cxx b/writerperfect/source/filter/OdtGenerator.cxx
index 979b383bfcbc..cb64d63df10c 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)
{