summaryrefslogtreecommitdiff
path: root/sw/source/ui/config/optload.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/config/optload.cxx')
-rw-r--r--sw/source/ui/config/optload.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sw/source/ui/config/optload.cxx b/sw/source/ui/config/optload.cxx
index 518252b55e68..0ce66ad8b874 100644
--- a/sw/source/ui/config/optload.cxx
+++ b/sw/source/ui/config/optload.cxx
@@ -149,8 +149,8 @@ void SwLoadOptPage::dispose()
}
-SfxTabPage* SwLoadOptPage::Create( vcl::Window* pParent,
- const SfxItemSet* rAttrSet )
+VclPtr<SfxTabPage> SwLoadOptPage::Create( vcl::Window* pParent,
+ const SfxItemSet* rAttrSet )
{
return VclPtr<SwLoadOptPage>::Create(pParent, *rAttrSet );
}
@@ -569,13 +569,13 @@ void SwCaptionOptPage::dispose()
SfxTabPage::dispose();
}
-SfxTabPage* SwCaptionOptPage::Create( vcl::Window* pParent,
- const SfxItemSet* rAttrSet )
+VclPtr<SfxTabPage> SwCaptionOptPage::Create( vcl::Window* pParent,
+ const SfxItemSet* rAttrSet )
{
- return VclPtr<SwCaptionOptPage>::Create(pParent, *rAttrSet );
+ return VclPtr<SwCaptionOptPage>::Create( pParent, *rAttrSet );
}
-bool SwCaptionOptPage::FillItemSet( SfxItemSet* )
+bool SwCaptionOptPage::FillItemSet( SfxItemSet* )
{
bool bRet = false;
SwModuleOptions* pModOpt = SW_MOD()->GetModuleConfig();