diff options
Diffstat (limited to 'cui/source/options/optjsearch.cxx')
-rw-r--r-- | cui/source/options/optjsearch.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/options/optjsearch.cxx b/cui/source/options/optjsearch.cxx index 4b1696fbeb54..2bd5401acac5 100644 --- a/cui/source/options/optjsearch.cxx +++ b/cui/source/options/optjsearch.cxx @@ -84,9 +84,9 @@ void SvxJSearchOptionsPage::dispose() SfxTabPage::dispose(); } -SfxTabPage* SvxJSearchOptionsPage::Create( vcl::Window* pParent, const SfxItemSet* rSet ) +VclPtr<SfxTabPage> SvxJSearchOptionsPage::Create( vcl::Window* pParent, const SfxItemSet* rSet ) { - return new SvxJSearchOptionsPage( pParent, *rSet ); + return VclPtr<SvxJSearchOptionsPage>::Create( pParent, *rSet ); } |