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