diff options
Diffstat (limited to 'cui/source/options/optsave.cxx')
-rw-r--r-- | cui/source/options/optsave.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/cui/source/options/optsave.cxx b/cui/source/options/optsave.cxx index a8a9280b7dd3..a57f3e0dca35 100644 --- a/cui/source/options/optsave.cxx +++ b/cui/source/options/optsave.cxx @@ -226,13 +226,12 @@ void SvxSaveTabPage::dispose() SfxTabPage::dispose(); } -SfxTabPage* SfxSaveTabPage::Create( vcl::Window* pParent, - const SfxItemSet* rAttrSet ) +VclPtr<SfxTabPage> SfxSaveTabPage::Create( vcl::Window* pParent, + const SfxItemSet* rAttrSet ) { - return ( new SfxSaveTabPage( pParent, *rAttrSet ) ); + return VclPtr<SfxSaveTabPage>::Create( pParent, *rAttrSet ); } - void SfxSaveTabPage::DetectHiddenControls() { SvtOptionsDialogOptions aOptionsDlgOpt; |