From 6fd3e560900873ba773b6e90f5ab9b01b35a8eae Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Thu, 7 May 2015 16:13:30 +0100 Subject: Catch another erroneous 'make' constructor function. Change-Id: I4a674b44bce1f3c3f5c3de2639863ff4b4fcd41e --- cui/source/dialogs/scriptdlg.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cui') diff --git a/cui/source/dialogs/scriptdlg.cxx b/cui/source/dialogs/scriptdlg.cxx index a1fead79e130..858cc35969a4 100644 --- a/cui/source/dialogs/scriptdlg.cxx +++ b/cui/source/dialogs/scriptdlg.cxx @@ -96,7 +96,7 @@ SFTreeListBox::SFTreeListBox(vcl::Window* pParent) extern "C" SAL_DLLPUBLIC_EXPORT vcl::Window* SAL_CALL makeSFTreeListBox(vcl::Window *pParent, VclBuilder::stringmap &) { - return VclPtr::Create(pParent); + return new SFTreeListBox(pParent); } SFTreeListBox::~SFTreeListBox() -- cgit v1.2.3