From d8ebd9044177e1269c8c81c4c0e3ff53d875247a Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 17 Apr 2015 17:53:05 +0200 Subject: sfx2: convert new to ::Create. Change-Id: I53f95a65702c144ba4c4b0caac1e172015fec0fa --- sfx2/source/dialog/mgetempl.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sfx2/source/dialog/mgetempl.cxx') diff --git a/sfx2/source/dialog/mgetempl.cxx b/sfx2/source/dialog/mgetempl.cxx index fa98cff6c08c..6db9e8e55421 100644 --- a/sfx2/source/dialog/mgetempl.cxx +++ b/sfx2/source/dialog/mgetempl.cxx @@ -582,7 +582,7 @@ SfxTabPage* SfxManageStyleSheetPage::Create( vcl::Window* pParent, */ { - return new SfxManageStyleSheetPage( pParent, *rAttrSet ); + return VclPtr::Create( pParent, *rAttrSet ); } -- cgit