summaryrefslogtreecommitdiff
path: root/sw/source/uibase/uiview/viewmdi.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/uiview/viewmdi.cxx')
-rw-r--r--sw/source/uibase/uiview/viewmdi.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/uiview/viewmdi.cxx b/sw/source/uibase/uiview/viewmdi.cxx
index 2a9529c6db9f..074158ff4be3 100644
--- a/sw/source/uibase/uiview/viewmdi.cxx
+++ b/sw/source/uibase/uiview/viewmdi.cxx
@@ -89,7 +89,7 @@ void SwView::SetZoom_( const Size &rEditSize, SvxZoomType eZoomType,
{
bool bUnLockView = !m_pWrtShell->IsViewLocked();
m_pWrtShell->LockView( true );
- m_pWrtShell->LockPaint();
+ m_pWrtShell->LockPaint(LockPaintReason::SetZoom);
{ // start of SwActContext scope
SwActContext aActContext(m_pWrtShell.get());
@@ -225,7 +225,7 @@ void SwView::SetViewLayout( sal_uInt16 nColumns, bool bBookMode, bool bViewOnly
{
const bool bUnLockView = !m_pWrtShell->IsViewLocked();
m_pWrtShell->LockView( true );
- m_pWrtShell->LockPaint();
+ m_pWrtShell->LockPaint(LockPaintReason::ViewLayout);
{