summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/drviews2.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/view/drviews2.cxx')
-rw-r--r--sd/source/ui/view/drviews2.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sd/source/ui/view/drviews2.cxx b/sd/source/ui/view/drviews2.cxx
index 5a1a75e4670c..10ad17751f65 100644
--- a/sd/source/ui/view/drviews2.cxx
+++ b/sd/source/ui/view/drviews2.cxx
@@ -509,9 +509,9 @@ public:
// Calculate to outliner text size
pOutliner->UpdateFields();
- pOutliner->SetUpdateMode(true);
+ pOutliner->SetUpdateLayout(true);
Size aTextSize(pOutliner->CalcTextSize());
- pOutliner->SetUpdateMode(false);
+ pOutliner->SetUpdateLayout(false);
// Create objects, apply the outliner and add them (objects) to all master pages
const sal_uInt16 nCount = m_rDrawViewShell.GetDoc()->GetMasterSdPageCount(PageKind::Standard);
@@ -2498,10 +2498,10 @@ void DrawViewShell::FuTemporary(SfxRequest& rReq)
pRectObj->SetMergedItem(makeSdrTextAutoGrowWidthItem(true));
pOutl->UpdateFields();
- pOutl->SetUpdateMode( true );
+ pOutl->SetUpdateLayout( true );
Size aSize( pOutl->CalcTextSize() );
aSize.setWidth( aSize.Width() * nMul );
- pOutl->SetUpdateMode( false );
+ pOutl->SetUpdateLayout( false );
Point aPos;
::tools::Rectangle aRect( aPos, GetActiveWindow()->GetOutputSizePixel() );