[Libreoffice-commits] core.git: cui/source

Michael Meeks michael.meeks at collabora.com
Thu May 7 08:07:27 PDT 2015


 cui/source/dialogs/scriptdlg.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6fd3e560900873ba773b6e90f5ab9b01b35a8eae
Author: Michael Meeks <michael.meeks at collabora.com>
Date:   Thu May 7 16:13:30 2015 +0100

    Catch another erroneous 'make' constructor function.
    
    Change-Id: I4a674b44bce1f3c3f5c3de2639863ff4b4fcd41e

diff --git a/cui/source/dialogs/scriptdlg.cxx b/cui/source/dialogs/scriptdlg.cxx
index a1fead7..858cc35 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<SFTreeListBox>::Create(pParent);
+    return new SFTreeListBox(pParent);
 }
 
 SFTreeListBox::~SFTreeListBox()


More information about the Libreoffice-commits mailing list