summaryrefslogtreecommitdiff
path: root/cui/source/tabpages/dstribut.cxx
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-04-18 20:48:34 +0100
committerMichael Meeks <michael.meeks@collabora.com>2015-04-18 21:58:58 +0100
commit354df32a6da2557ac9edc0937b0032406bc6ba15 (patch)
treef64defae98df2693b7a4feeecae2cd1f64d8c764 /cui/source/tabpages/dstribut.cxx
parent5ea025e63751c259956ae84b8edf8d4fe33663c2 (diff)
cui: convert new to ::Create.
Change-Id: Ifad69772a4954f14772cca9eeae913e546eff477
Diffstat (limited to 'cui/source/tabpages/dstribut.cxx')
-rw-r--r--cui/source/tabpages/dstribut.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/tabpages/dstribut.cxx b/cui/source/tabpages/dstribut.cxx
index 61d4c9b7458a..ac14dbd34f17 100644
--- a/cui/source/tabpages/dstribut.cxx
+++ b/cui/source/tabpages/dstribut.cxx
@@ -37,7 +37,7 @@ SvxDistributeDialog::SvxDistributeDialog(vcl::Window* pParent,
"cui/ui/distributiondialog.ui")
, mpPage(NULL)
{
- mpPage = new SvxDistributePage(get_content_area(), rInAttrs, eHor, eVer);
+ mpPage = VclPtr<SvxDistributePage>::Create(get_content_area(), rInAttrs, eHor, eVer);
SetTabPage(mpPage);
}