summaryrefslogtreecommitdiff
path: root/writerperfect
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2011-10-23 22:48:10 +0200
committerStephan Bergmann <sbergman@redhat.com>2011-10-23 22:48:10 +0200
commitd049f12c29faa685dc79a32dc8337b91680ca7a7 (patch)
tree2eeb49610b3b421fe2f5d525e4ba9d4e423b7ab5 /writerperfect
parenta47a5ed0a5ffd948d48e02e5a9f0e2064096e7d4 (diff)
Removed apparently unused fSectionSpaceAfter (nee OdtGenerator::mfSectionSpaceAfter).
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 e681a395ba7c..04e035195cc6 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)
{