diff options
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/pdf/impdialog.cxx | 36 | ||||
-rw-r--r-- | filter/source/pdf/impdialog.hxx | 12 |
2 files changed, 24 insertions, 24 deletions
diff --git a/filter/source/pdf/impdialog.cxx b/filter/source/pdf/impdialog.cxx index 7f3a6cebedef..0fe010a251d3 100644 --- a/filter/source/pdf/impdialog.cxx +++ b/filter/source/pdf/impdialog.cxx @@ -734,10 +734,10 @@ void ImpPDFTabGeneralPage::GetFilterConfigItem( ImpPDFTabDialog* paParent ) } -SfxTabPage* ImpPDFTabGeneralPage::Create( vcl::Window* pParent, - const SfxItemSet* rAttrSet) +VclPtr<SfxTabPage> ImpPDFTabGeneralPage::Create( vcl::Window* pParent, + const SfxItemSet* rAttrSet) { - return ( new ImpPDFTabGeneralPage( pParent, *rAttrSet ) ); + return VclPtr<ImpPDFTabGeneralPage>::Create( pParent, *rAttrSet ); } @@ -905,10 +905,10 @@ void ImpPDFTabOpnFtrPage::dispose() SfxTabPage::dispose(); } -SfxTabPage* ImpPDFTabOpnFtrPage::Create( vcl::Window* pParent, - const SfxItemSet* rAttrSet) +VclPtr<SfxTabPage> ImpPDFTabOpnFtrPage::Create( vcl::Window* pParent, + const SfxItemSet* rAttrSet) { - return ( new ImpPDFTabOpnFtrPage( pParent, *rAttrSet ) ); + return VclPtr<ImpPDFTabOpnFtrPage>::Create( pParent, *rAttrSet ); } @@ -1082,10 +1082,10 @@ IMPL_LINK( ImpPDFTabViewerPage, ToggleRbBookmarksHdl, void*, ) return 0; } -SfxTabPage* ImpPDFTabViewerPage::Create( vcl::Window* pParent, - const SfxItemSet* rAttrSet) +VclPtr<SfxTabPage> ImpPDFTabViewerPage::Create( vcl::Window* pParent, + const SfxItemSet* rAttrSet) { - return ( new ImpPDFTabViewerPage( pParent, *rAttrSet ) ); + return VclPtr<ImpPDFTabViewerPage>::Create( pParent, *rAttrSet ); } @@ -1199,10 +1199,10 @@ void ImpPDFTabSecurityPage::dispose() SfxTabPage::dispose(); } -SfxTabPage* ImpPDFTabSecurityPage::Create( vcl::Window* pParent, - const SfxItemSet* rAttrSet) +VclPtr<SfxTabPage> ImpPDFTabSecurityPage::Create( vcl::Window* pParent, + const SfxItemSet* rAttrSet) { - return ( new ImpPDFTabSecurityPage( pParent, *rAttrSet ) ); + return VclPtr<ImpPDFTabSecurityPage>::Create( pParent, *rAttrSet ); } @@ -1431,10 +1431,10 @@ void ImpPDFTabLinksPage::dispose() SfxTabPage::dispose(); } -SfxTabPage* ImpPDFTabLinksPage::Create( vcl::Window* pParent, - const SfxItemSet* rAttrSet) +VclPtr<SfxTabPage> ImpPDFTabLinksPage::Create( vcl::Window* pParent, + const SfxItemSet* rAttrSet) { - return ( new ImpPDFTabLinksPage( pParent, *rAttrSet ) ); + return VclPtr<ImpPDFTabLinksPage>::Create( pParent, *rAttrSet ); } @@ -1742,10 +1742,10 @@ IMPL_LINK_NOARG( ImpPDFTabSigningPage, SelectLBSignTSA ) return 0; } -SfxTabPage* ImpPDFTabSigningPage::Create( vcl::Window* pParent, - const SfxItemSet* rAttrSet) +VclPtr<SfxTabPage> ImpPDFTabSigningPage::Create( vcl::Window* pParent, + const SfxItemSet* rAttrSet) { - return ( new ImpPDFTabSigningPage( pParent, *rAttrSet ) ); + return VclPtr<ImpPDFTabSigningPage>::Create( pParent, *rAttrSet ); } diff --git a/filter/source/pdf/impdialog.hxx b/filter/source/pdf/impdialog.hxx index b661eed6d389..dc2f9d35d0fa 100644 --- a/filter/source/pdf/impdialog.hxx +++ b/filter/source/pdf/impdialog.hxx @@ -246,7 +246,7 @@ public: virtual ~ImpPDFTabGeneralPage(); virtual void dispose() SAL_OVERRIDE; - static SfxTabPage* Create( vcl::Window* pParent, + static VclPtr<SfxTabPage> Create( vcl::Window* pParent, const SfxItemSet* rAttrSet); void GetFilterConfigItem(ImpPDFTabDialog* paParent); @@ -286,7 +286,7 @@ public: virtual ~ImpPDFTabOpnFtrPage(); virtual void dispose() SAL_OVERRIDE; - static SfxTabPage* Create( vcl::Window* pParent, + static VclPtr<SfxTabPage> Create( vcl::Window* pParent, const SfxItemSet* rAttrSet ); void GetFilterConfigItem( ImpPDFTabDialog* paParent); @@ -320,7 +320,7 @@ public: virtual ~ImpPDFTabViewerPage(); virtual void dispose() SAL_OVERRIDE; - static SfxTabPage* Create( vcl::Window* pParent, + static VclPtr<SfxTabPage> Create( vcl::Window* pParent, const SfxItemSet* rAttrSet ); void GetFilterConfigItem( ImpPDFTabDialog* paParent); @@ -376,7 +376,7 @@ public: virtual ~ImpPDFTabSecurityPage(); virtual void dispose() SAL_OVERRIDE; - static SfxTabPage* Create( vcl::Window* pParent, + static VclPtr<SfxTabPage> Create( vcl::Window* pParent, const SfxItemSet* rAttrSet ); void GetFilterConfigItem( ImpPDFTabDialog* paParent); @@ -408,7 +408,7 @@ public: virtual ~ImpPDFTabLinksPage(); virtual void dispose() SAL_OVERRIDE; - static SfxTabPage* Create( vcl::Window* pParent, + static VclPtr<SfxTabPage> Create( vcl::Window* pParent, const SfxItemSet* rAttrSet ); void GetFilterConfigItem( ImpPDFTabDialog* paParent); @@ -440,7 +440,7 @@ public: virtual ~ImpPDFTabSigningPage(); virtual void dispose() SAL_OVERRIDE; - static SfxTabPage* Create( vcl::Window* pParent, + static VclPtr<SfxTabPage> Create( vcl::Window* pParent, const SfxItemSet* rAttrSet ); void GetFilterConfigItem( ImpPDFTabDialog* paParent); |