diff options
Diffstat (limited to 'sw/source/uibase/utlui/tmplctrl.cxx')
-rw-r--r-- | sw/source/uibase/utlui/tmplctrl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/utlui/tmplctrl.cxx b/sw/source/uibase/utlui/tmplctrl.cxx index a676c00f273d..6cb0b5cdce78 100644 --- a/sw/source/uibase/utlui/tmplctrl.cxx +++ b/sw/source/uibase/utlui/tmplctrl.cxx @@ -97,7 +97,7 @@ void SwTemplateControl::Command( const CommandEvent& rCEvt ) { SwView* pView = ::GetActiveView(); SwWrtShell* pWrtShell; - if( pView && 0 != (pWrtShell = pView->GetWrtShellPtr()) && + if( pView && nullptr != (pWrtShell = pView->GetWrtShellPtr()) && !pWrtShell->SwCrsrShell::HasSelection()&& !pWrtShell->IsSelFrmMode() && !pWrtShell->IsObjSelected()) |