diff options
Diffstat (limited to 'sw/source/uibase/ribbar/conarc.cxx')
-rw-r--r-- | sw/source/uibase/ribbar/conarc.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sw/source/uibase/ribbar/conarc.cxx b/sw/source/uibase/ribbar/conarc.cxx index 33b4a2cade5a..4373c677ecac 100644 --- a/sw/source/uibase/ribbar/conarc.cxx +++ b/sw/source/uibase/ribbar/conarc.cxx @@ -32,9 +32,8 @@ ConstArc::ConstArc(SwWrtShell* pWrtShell, SwEditWin* pEditWin, SwView* pSwView) bool ConstArc::MouseButtonDown( const MouseEvent& rMEvt ) { - bool bReturn; - - if ((bReturn = SwDrawBase::MouseButtonDown(rMEvt))) + bool bReturn = SwDrawBase::MouseButtonDown(rMEvt); + if (bReturn) { if (!m_nButtonUpCount) m_aStartPoint = m_pWin->PixelToLogic(rMEvt.GetPosPixel()); |