From 936a49646738452f7331ed9a47ac015db9ee7295 Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Mon, 11 May 2015 14:02:42 +0100 Subject: Switch VclBuilder constructors to use VclPtr. Change-Id: Id35a86eb52bbde6ca09a5e61a0b1a79b23be8faf --- sc/source/ui/condformat/condformatdlg.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sc/source/ui/condformat') diff --git a/sc/source/ui/condformat/condformatdlg.cxx b/sc/source/ui/condformat/condformatdlg.cxx index 0e2cbf5738d5..2fa4e20eae72 100644 --- a/sc/source/ui/condformat/condformatdlg.cxx +++ b/sc/source/ui/condformat/condformatdlg.cxx @@ -151,7 +151,7 @@ VCL_BUILDER_DECL_FACTORY(ScCondFormatList) if (!sBorder.isEmpty()) nWinBits |= WB_BORDER; - return new ScCondFormatList(pParent, nWinBits); + rRet = VclPtr::Create(pParent, nWinBits); } Size ScCondFormatList::GetOptimalSize() const -- cgit