summaryrefslogtreecommitdiff
path: root/formula
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-05-11 16:28:15 +0100
committerMichael Meeks <michael.meeks@collabora.com>2015-05-11 16:28:22 +0100
commit667910530deb61563d4812db0995da94e25220e5 (patch)
tree9e19a2c89c1b9ee8ae3610096d295e99873a3b5c /formula
parent7ac254048a5698e046bbb7deccd171cb3777af61 (diff)
Revert "Switch VclBuilder constructors to use VclPtr."
Behaves oddly; not ready yet. This reverts commit 9f016bd69422bdfb4cf7c4f5e57356eb98db2d8c. Change-Id: I30d746eac29d1dbe78d3072b10d2e22c051e3f4e
Diffstat (limited to 'formula')
-rw-r--r--formula/source/ui/dlg/funcutl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/formula/source/ui/dlg/funcutl.cxx b/formula/source/ui/dlg/funcutl.cxx
index b119122f3c96..9355b5e1ebb1 100644
--- a/formula/source/ui/dlg/funcutl.cxx
+++ b/formula/source/ui/dlg/funcutl.cxx
@@ -489,7 +489,7 @@ RefEdit::RefEdit( vcl::Window* _pParent,IControlReferenceHandler* pParent,
VCL_BUILDER_DECL_FACTORY(RefEdit)
{
(void)rMap;
- return VclPtr<RefEdit>::Create(pParent, nullptr, WB_BORDER);
+ return new RefEdit(pParent, NULL, WB_BORDER);
}
RefEdit::~RefEdit()