summaryrefslogtreecommitdiff
path: root/sw/source/ui/fldui
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-04-17 15:30:46 +0200
committerNoel Grandin <noel@peralex.com>2015-04-17 15:30:46 +0200
commitf0f786e8fc7165a22b67ec73331ee8d66c01409c (patch)
treecf89f242c7bfa41b6a8c96e51c9b53205d090189 /sw/source/ui/fldui
parent0269ef901119635fa809245698c985b30e648ef4 (diff)
sw: convert new to ::Create.
Change-Id: I1669be3e1dfdb6733952b2a801371da243fb94c2
Diffstat (limited to 'sw/source/ui/fldui')
-rw-r--r--sw/source/ui/fldui/flddb.cxx2
-rw-r--r--sw/source/ui/fldui/flddinf.cxx2
-rw-r--r--sw/source/ui/fldui/flddok.cxx2
-rw-r--r--sw/source/ui/fldui/fldfunc.cxx2
-rw-r--r--sw/source/ui/fldui/fldref.cxx2
-rw-r--r--sw/source/ui/fldui/fldvar.cxx2
6 files changed, 6 insertions, 6 deletions
diff --git a/sw/source/ui/fldui/flddb.cxx b/sw/source/ui/fldui/flddb.cxx
index a05a7f23f7bc..4e1607937134 100644
--- a/sw/source/ui/fldui/flddb.cxx
+++ b/sw/source/ui/fldui/flddb.cxx
@@ -267,7 +267,7 @@ bool SwFldDBPage::FillItemSet(SfxItemSet* )
SfxTabPage* SwFldDBPage::Create( vcl::Window* pParent,
const SfxItemSet* rAttrSet )
{
- return ( new SwFldDBPage( pParent, *rAttrSet ) );
+ return VclPtr<SwFldDBPage>::Create( pParent, *rAttrSet );
}
sal_uInt16 SwFldDBPage::GetGroup()
diff --git a/sw/source/ui/fldui/flddinf.cxx b/sw/source/ui/fldui/flddinf.cxx
index d5d41f3c9496..d77fdf605cf8 100644
--- a/sw/source/ui/fldui/flddinf.cxx
+++ b/sw/source/ui/fldui/flddinf.cxx
@@ -465,7 +465,7 @@ bool SwFldDokInfPage::FillItemSet(SfxItemSet* )
SfxTabPage* SwFldDokInfPage::Create( vcl::Window* pParent,
const SfxItemSet* rAttrSet )
{
- return ( new SwFldDokInfPage( pParent, *rAttrSet ) );
+ return VclPtr<SwFldDokInfPage>::Create( pParent, *rAttrSet );
}
sal_uInt16 SwFldDokInfPage::GetGroup()
diff --git a/sw/source/ui/fldui/flddok.cxx b/sw/source/ui/fldui/flddok.cxx
index 274414181dab..cd0be8b3a5b6 100644
--- a/sw/source/ui/fldui/flddok.cxx
+++ b/sw/source/ui/fldui/flddok.cxx
@@ -656,7 +656,7 @@ bool SwFldDokPage::FillItemSet(SfxItemSet* )
SfxTabPage* SwFldDokPage::Create( vcl::Window* pParent,
const SfxItemSet* rAttrSet )
{
- return ( new SwFldDokPage( pParent, *rAttrSet ) );
+ return VclPtr<SwFldDokPage>::Create( pParent, *rAttrSet );
}
sal_uInt16 SwFldDokPage::GetGroup()
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()
diff --git a/sw/source/ui/fldui/fldref.cxx b/sw/source/ui/fldui/fldref.cxx
index 527e44c0bd74..e421f1f43932 100644
--- a/sw/source/ui/fldui/fldref.cxx
+++ b/sw/source/ui/fldui/fldref.cxx
@@ -953,7 +953,7 @@ bool SwFldRefPage::FillItemSet(SfxItemSet* )
SfxTabPage* SwFldRefPage::Create( vcl::Window* pParent,
const SfxItemSet* rAttrSet )
{
- return ( new SwFldRefPage( pParent, *rAttrSet ) );
+ return VclPtr<SwFldRefPage>::Create( pParent, *rAttrSet );
}
sal_uInt16 SwFldRefPage::GetGroup()
diff --git a/sw/source/ui/fldui/fldvar.cxx b/sw/source/ui/fldui/fldvar.cxx
index 1163e0ac5b43..257181ad6713 100644
--- a/sw/source/ui/fldui/fldvar.cxx
+++ b/sw/source/ui/fldui/fldvar.cxx
@@ -1250,7 +1250,7 @@ bool SwFldVarPage::FillItemSet(SfxItemSet* )
SfxTabPage* SwFldVarPage::Create( vcl::Window* pParent,
const SfxItemSet* rAttrSet )
{
- return ( new SwFldVarPage( pParent, *rAttrSet ) );
+ return VclPtr<SwFldVarPage>::Create( pParent, *rAttrSet );
}
sal_uInt16 SwFldVarPage::GetGroup()