diff options
author | Noel Grandin <noel@peralex.com> | 2015-04-17 15:30:46 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-04-17 15:30:46 +0200 |
commit | f0f786e8fc7165a22b67ec73331ee8d66c01409c (patch) | |
tree | cf89f242c7bfa41b6a8c96e51c9b53205d090189 /sw/source/ui/misc/num.cxx | |
parent | 0269ef901119635fa809245698c985b30e648ef4 (diff) |
sw: convert new to ::Create.
Change-Id: I1669be3e1dfdb6733952b2a801371da243fb94c2
Diffstat (limited to 'sw/source/ui/misc/num.cxx')
-rw-r--r-- | sw/source/ui/misc/num.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/misc/num.cxx b/sw/source/ui/misc/num.cxx index 2d347ba8eb42..40cc6c5dc9c5 100644 --- a/sw/source/ui/misc/num.cxx +++ b/sw/source/ui/misc/num.cxx @@ -545,7 +545,7 @@ void SwNumPositionTabPage::ShowControlsDependingOnPosAndSpaceMode() SfxTabPage* SwNumPositionTabPage::Create( vcl::Window* pParent, const SfxItemSet* rAttrSet) { - return new SwNumPositionTabPage(pParent, *rAttrSet); + return VclPtr<SwNumPositionTabPage>::Create(pParent, *rAttrSet); } void SwNumPositionTabPage::SetWrtShell(SwWrtShell* pSh) |