diff options
Diffstat (limited to 'svx/source/svdraw/svdedxv.cxx')
-rw-r--r-- | svx/source/svdraw/svdedxv.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/svdraw/svdedxv.cxx b/svx/source/svdraw/svdedxv.cxx index 45ac84a3c49b..d71c48027232 100644 --- a/svx/source/svdraw/svdedxv.cxx +++ b/svx/source/svdraw/svdedxv.cxx @@ -290,7 +290,7 @@ void SdrObjEditView::ModelHasChanged() { aTextEditArea = aEditArea1; aMinTextEditArea = aMinArea1; - pTextEditOutliner->SetUpdateLayout(false); + const bool bPrevUpdateLayout = pTextEditOutliner->SetUpdateLayout(false); pTextEditOutliner->SetMinAutoPaperSize(aPaperMin1); pTextEditOutliner->SetMaxAutoPaperSize(aPaperMax1); pTextEditOutliner->SetPaperSize(Size(0, 0)); // re-format Outliner @@ -323,7 +323,7 @@ void SdrObjEditView::ModelHasChanged() if (nStat != nStat0) pOLV->SetControlWord(nStat); } - pTextEditOutliner->SetUpdateLayout(true); + pTextEditOutliner->SetUpdateLayout(bPrevUpdateLayout); bAreaChg = true; } } |