summaryrefslogtreecommitdiff
path: root/sw/source/uibase/utlui/tmplctrl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/utlui/tmplctrl.cxx')
-rw-r--r--sw/source/uibase/utlui/tmplctrl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/utlui/tmplctrl.cxx b/sw/source/uibase/utlui/tmplctrl.cxx
index bccb4cb58ab2..b1d5d373f65f 100644
--- a/sw/source/uibase/utlui/tmplctrl.cxx
+++ b/sw/source/uibase/utlui/tmplctrl.cxx
@@ -108,7 +108,7 @@ void SwTemplateControl::Command( const CommandEvent& rCEvt )
// looks a bit awkward, but another way is not possible
pStyle = xIter->operator[]( nCurrId - 1 );
SfxStringItem aStyle( FN_SET_PAGE_STYLE, pStyle->GetName() );
- pWrtShell->GetView().GetViewFrame()->GetDispatcher()->ExecuteList(
+ pWrtShell->GetView().GetViewFrame().GetDispatcher()->ExecuteList(
FN_SET_PAGE_STYLE,
SfxCallMode::SLOT|SfxCallMode::RECORD,
{ &aStyle });