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

New commits:
commit 6fd3e560900873ba773b6e90f5ab9b01b35a8eae
Author: Michael Meeks <michael.me...@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()
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to