diff options
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/ui/fmtui/tmpdlg.cxx | 3 | ||||
-rw-r--r-- | sw/source/uibase/inc/tmpdlg.hxx | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/sw/source/ui/fmtui/tmpdlg.cxx b/sw/source/ui/fmtui/tmpdlg.cxx index 4ac9c0f8fb19..0fef7a5499cb 100644 --- a/sw/source/ui/fmtui/tmpdlg.cxx +++ b/sw/source/ui/fmtui/tmpdlg.cxx @@ -363,12 +363,11 @@ short SwTemplateDlg::Ok() return nRet; } -const SfxItemSet* SwTemplateDlg::GetRefreshedSet() +void SwTemplateDlg::RefreshInputSet() { SfxItemSet* pInSet = GetInputSetImpl(); pInSet->ClearItem(); pInSet->SetParent( &GetStyleSheet().GetItemSet() ); - return pInSet; } void SwTemplateDlg::PageCreated( sal_uInt16 nId, SfxTabPage &rPage ) diff --git a/sw/source/uibase/inc/tmpdlg.hxx b/sw/source/uibase/inc/tmpdlg.hxx index 75cab4201d6a..c92bde4fd143 100644 --- a/sw/source/uibase/inc/tmpdlg.hxx +++ b/sw/source/uibase/inc/tmpdlg.hxx @@ -78,7 +78,7 @@ public: SwWrtShell* pActShell = 0, bool bNew = false ); - const SfxItemSet* GetRefreshedSet() SAL_OVERRIDE; + virtual void RefreshInputSet() SAL_OVERRIDE; virtual void PageCreated( sal_uInt16 nId, SfxTabPage &rPage ) SAL_OVERRIDE; virtual short Ok() SAL_OVERRIDE; |