summaryrefslogtreecommitdiff
path: root/writerperfect
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-10-27 13:54:19 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-10-27 13:54:19 +0100
commitc6e86f8b7af28d990b9539903560554fc130775e (patch)
tree78ebc2363296f649c0c731b2d6c7549b833e36fb /writerperfect
parent9c8d3789466d636b9fdedbabf1460aee29963a28 (diff)
fSectionSpaceAfter is unused
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 b5972411a17e..95338036e225 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)
{