diff options
Diffstat (limited to 'sw/source/ui/uiview')
-rw-r--r-- | sw/source/ui/uiview/viewmdi.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/uiview/viewmdi.cxx b/sw/source/ui/uiview/viewmdi.cxx index 27949cff51e9..01522518664c 100644 --- a/sw/source/ui/uiview/viewmdi.cxx +++ b/sw/source/ui/uiview/viewmdi.cxx @@ -84,7 +84,7 @@ void SwView::_SetZoom( const Size &rEditSize, SvxZoomType eZoomType, pWrtShell->LockPaint(); { - ACT_KONTEXT(pWrtShell); + SwActContext aActContext(pWrtShell); long nFac = nFactor; @@ -222,7 +222,7 @@ void SwView::SetViewLayout( sal_uInt16 nColumns, bool bBookMode, sal_Bool bViewO { - ACT_KONTEXT(pWrtShell); + SwActContext aActContext(pWrtShell); if ( !GetViewFrame()->GetFrame().IsInPlace() && !bViewOnly ) { |