summaryrefslogtreecommitdiff
path: root/sc/source/ui/docshell
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2016-06-29 09:58:42 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2016-06-29 10:37:43 +0200
commita4780b3c8b45261e59ed3cbb34c4463d58ad8079 (patch)
treecb7b2db56d6e8461f7e817f907afe4e74d387b7b /sc/source/ui/docshell
parent6a1c5619be878d2ea7a38ec98d53c36fe3d416f6 (diff)
Revert "tdf#99729: fix text alignment (no autofit & no full width)"
This reverts commit 0cb200d000fad8ba31c7400e08cd031823f27308. Even if it was verified by Jenkins, it broke CppunitTest_sd_import_tests on a number of tinderboxes. Need to at least find out how to reliably trigger the crash and fix it before it goes in again. Change-Id: I7ed52cae559648ec101b7a343046a7d74a7c48d3
Diffstat (limited to 'sc/source/ui/docshell')
-rw-r--r--sc/source/ui/docshell/docsh.cxx8
1 files changed, 0 insertions, 8 deletions
diff --git a/sc/source/ui/docshell/docsh.cxx b/sc/source/ui/docshell/docsh.cxx
index d700e16a7d9a..79cb8c844be0 100644
--- a/sc/source/ui/docshell/docsh.cxx
+++ b/sc/source/ui/docshell/docsh.cxx
@@ -557,14 +557,6 @@ bool ScDocShell::Load( SfxMedium& rMedium )
// -> initialize the others from options (before loading)
InitOptions(true);
- // If this is an ODF file being loaded, then by default, use legacy processing
- // for tdf#99729 (if required, it will be overriden in *::ReadUserDataSequence())
- if (IsOwnStorageFormat(rMedium))
- {
- if (aDocument.GetDrawLayer())
- aDocument.GetDrawLayer()->SetAnchoredTextOverflowLegacy(true);
- }
-
GetUndoManager()->Clear();
bool bRet = SfxObjectShell::Load( rMedium );