summaryrefslogtreecommitdiff
path: root/cui/source/dialogs
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-05-07 16:13:30 +0100
committerMichael Meeks <michael.meeks@collabora.com>2015-05-07 16:13:51 +0100
commit6fd3e560900873ba773b6e90f5ab9b01b35a8eae (patch)
tree7de75582b034e163ad861496bec5fc1956331c11 /cui/source/dialogs
parent630fe2d0c92464f5572b807b8c6c47ca6f4ac590 (diff)
Catch another erroneous 'make' constructor function.
Change-Id: I4a674b44bce1f3c3f5c3de2639863ff4b4fcd41e
Diffstat (limited to 'cui/source/dialogs')
-rw-r--r--cui/source/dialogs/scriptdlg.cxx2
1 files changed, 1 insertions, 1 deletions
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<SFTreeListBox>::Create(pParent);
+ return new SFTreeListBox(pParent);
}
SFTreeListBox::~SFTreeListBox()