summaryrefslogtreecommitdiff
path: root/writerperfect/source/writer/exp/txtparai.cxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2017-12-01 11:00:09 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2017-12-04 09:07:43 +0100
commit19339e79e41cb9bbbbf0bd9a0e0d4a2cccc1f6a5 (patch)
treeb87544b510d800b0d6f678b5edd5211998d486c2 /writerperfect/source/writer/exp/txtparai.cxx
parente83d7993d46b096ecc18c01d92d39e170cce18c1 (diff)
EPUB export, fixed layout: remove old non-metafile-based page size approach
This was unused code. Change-Id: I7f728544127dc283cd74e4425e699d598caeae1a Reviewed-on: https://gerrit.libreoffice.org/45649 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'writerperfect/source/writer/exp/txtparai.cxx')
-rw-r--r--writerperfect/source/writer/exp/txtparai.cxx7
1 files changed, 0 insertions, 7 deletions
diff --git a/writerperfect/source/writer/exp/txtparai.cxx b/writerperfect/source/writer/exp/txtparai.cxx
index 95f85d86f454..309f80ce607a 100644
--- a/writerperfect/source/writer/exp/txtparai.cxx
+++ b/writerperfect/source/writer/exp/txtparai.cxx
@@ -397,13 +397,6 @@ void XMLParaContext::startElement(const OUString &/*rName*/, const css::uno::Ref
}
}
- if (!mrImport.IsPageSpanOpened())
- {
- auto it = mrImport.GetMasterPages().find("Standard");
- if (it != mrImport.GetMasterPages().end())
- mrImport.GetGenerator().openPageSpan(it->second);
- mrImport.SetPageSpanOpened(true);
- }
mrImport.GetGenerator().openParagraph(aPropertyList);
}