summaryrefslogtreecommitdiff
path: root/sd/source/ui/docshell
diff options
context:
space:
mode:
authorTamás Zolnai <tamas.zolnai@collabora.com>2018-11-16 17:06:02 +0100
committerTamás Zolnai <tamas.zolnai@collabora.com>2018-11-16 18:22:04 +0100
commitcb1d625aee558c9aa3c0bf3ea44b65f37dca48a8 (patch)
treec711b9932b44cb1132311df696f138d8aa601e1a /sd/source/ui/docshell
parentc4c1636b5132261e64492de38f252b19b77e69b8 (diff)
Revert "tdf#115639: Align right/center with trailing spaces the same"
.. as MS PowerPoint" This reverts commit 1da3a3cb74a415a76fa547ef0c8f61780e260e7f. It was a bad solution for the problem. Change-Id: I6f6fecb7c74a884fbfb04c6e7204eb8bf347a272 Reviewed-on: https://gerrit.libreoffice.org/63473 Tested-by: Jenkins Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Diffstat (limited to 'sd/source/ui/docshell')
-rw-r--r--sd/source/ui/docshell/docshel4.cxx16
1 files changed, 0 insertions, 16 deletions
diff --git a/sd/source/ui/docshell/docshel4.cxx b/sd/source/ui/docshell/docshel4.cxx
index 672181e24fbb..465ccf4481bb 100644
--- a/sd/source/ui/docshell/docshel4.cxx
+++ b/sd/source/ui/docshell/docshel4.cxx
@@ -409,14 +409,6 @@ bool DrawDocShell::ImportFrom(SfxMedium &rMedium,
mpDoc->SetSummationOfParagraphs();
}
- // Set this flag for MSO formats
- if (aFilterName.startsWith("MS PowerPoint 97") ||
- aFilterName.startsWith("Impress MS PowerPoint 2007 XML") ||
- aFilterName.startsWith("Impress Office Open XML"))
- {
- mpDoc->SetHoriAlignIgnoreTrailingWhitespace(true);
- }
-
const bool bRet = SfxObjectShell::ImportFrom(rMedium, xInsertPosition);
SfxItemSet* pSet = rMedium.GetItemSet();
@@ -512,14 +504,6 @@ bool DrawDocShell::ConvertFrom( SfxMedium& rMedium )
bRet = SdGRFFilter( rMedium, *this ).Import();
}
- // Set this flag for MSO formats
- if (aFilterName.startsWith("MS PowerPoint 97") ||
- aFilterName.startsWith("Impress MS PowerPoint 2007 XML") ||
- aFilterName.startsWith("Impress Office Open XML"))
- {
- mpDoc->SetHoriAlignIgnoreTrailingWhitespace(true);
- }
-
FinishedLoading();
// tell SFX to change viewshell when in preview mode