diff options
Diffstat (limited to 'sw/source/uibase/wrtsh/move.cxx')
-rw-r--r-- | sw/source/uibase/wrtsh/move.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/uibase/wrtsh/move.cxx b/sw/source/uibase/wrtsh/move.cxx index d28554afd64e..d9cf0a00b73f 100644 --- a/sw/source/uibase/wrtsh/move.cxx +++ b/sw/source/uibase/wrtsh/move.cxx @@ -46,7 +46,8 @@ public: ShellMoveCursor( SwWrtShell* pWrtSh, bool bSel ) { bAct = !pWrtSh->ActionPend() && (pWrtSh->GetFrameType(nullptr,false) & FrameTypeFlags::FLY_ANY); - ( pSh = pWrtSh )->MoveCursor( bSel ); + pSh = pWrtSh; + pSh->MoveCursor( bSel ); pWrtSh->GetView().GetViewFrame()->GetBindings().Invalidate(SID_HYPERLINK_GETLINK); } ~ShellMoveCursor() COVERITY_NOEXCEPT_FALSE |