diff options
Diffstat (limited to 'sw/source/ui/frmdlg/cption.cxx')
-rw-r--r-- | sw/source/ui/frmdlg/cption.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/ui/frmdlg/cption.cxx b/sw/source/ui/frmdlg/cption.cxx index d5ce4e3f3a0b..2b96b74ad99b 100644 --- a/sw/source/ui/frmdlg/cption.cxx +++ b/sw/source/ui/frmdlg/cption.cxx @@ -77,9 +77,9 @@ public: void SetCharacterStyle(const OUString& rStyle); OUString GetCharacterStyle() const; - short execute() + virtual short run() override { - int nRet = run(); + int nRet = GenericDialogController::run(); if (nRet == RET_OK) Apply(); return nRet; @@ -297,7 +297,7 @@ IMPL_LINK_NOARG( SwCaptionDialog, OptionHdl, Button*, void ) aDlg.SetApplyBorderAndShadow(bCopyAttributes); aDlg.SetCharacterStyle( sCharacterStyle ); aDlg.SetOrderNumberingFirst( bOrderNumberingFirst ); - aDlg.execute(); + aDlg.run(); bCopyAttributes = aDlg.IsApplyBorderAndShadow(); sCharacterStyle = aDlg.GetCharacterStyle(); //#i61007# order of captions |