summaryrefslogtreecommitdiff
path: root/sw/source/uibase/ribbar/drawbase.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/ribbar/drawbase.cxx')
-rw-r--r--sw/source/uibase/ribbar/drawbase.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/ribbar/drawbase.cxx b/sw/source/uibase/ribbar/drawbase.cxx
index 80d55eae1b77..aea8dbecbd2e 100644
--- a/sw/source/uibase/ribbar/drawbase.cxx
+++ b/sw/source/uibase/ribbar/drawbase.cxx
@@ -56,7 +56,7 @@ SwDrawBase::SwDrawBase(SwWrtShell* pSwWrtShell, SwEditWin* pWindow, SwView* pSwV
SwDrawBase::~SwDrawBase()
{
if (m_pView->GetWrtShellPtr()) // In the view-dtor could the wrtsh already been deleted...
- m_pSh->GetDrawView()->SetEditMode(true);
+ m_pSh->GetDrawView()->SetEditMode();
}
bool SwDrawBase::MouseButtonDown(const MouseEvent& rMEvt)