summaryrefslogtreecommitdiff
path: root/sw/source/ui/fldui/fldfunc.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/fldui/fldfunc.cxx')
-rw-r--r--sw/source/ui/fldui/fldfunc.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/fldui/fldfunc.cxx b/sw/source/ui/fldui/fldfunc.cxx
index 07d0fdda56eb..b2cfeb365c16 100644
--- a/sw/source/ui/fldui/fldfunc.cxx
+++ b/sw/source/ui/fldui/fldfunc.cxx
@@ -631,7 +631,7 @@ OUString SwFldFuncPage::TurnMacroString(const OUString &rMacro)
SfxTabPage* SwFldFuncPage::Create( vcl::Window* pParent,
const SfxItemSet* rAttrSet )
{
- return ( new SwFldFuncPage( pParent, *rAttrSet ) );
+ return VclPtr<SwFldFuncPage>::Create( pParent, *rAttrSet );
}
sal_uInt16 SwFldFuncPage::GetGroup()