diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-05-11 14:02:42 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-05-12 09:40:38 +0100 |
commit | 936a49646738452f7331ed9a47ac015db9ee7295 (patch) | |
tree | 7dff1a6db99e3e28b8bc2226d07b29d5f2b5cd0b /formula | |
parent | ab81e3bff2a1844be67209bc8947d539edbaf8e6 (diff) |
Switch VclBuilder constructors to use VclPtr.
Change-Id: Id35a86eb52bbde6ca09a5e61a0b1a79b23be8faf
Diffstat (limited to 'formula')
-rw-r--r-- | formula/source/ui/dlg/funcutl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/formula/source/ui/dlg/funcutl.cxx b/formula/source/ui/dlg/funcutl.cxx index 9355b5e1ebb1..7f3e6f7b3b16 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 new RefEdit(pParent, NULL, WB_BORDER); + rRet = VclPtr<RefEdit>::Create(pParent, nullptr, WB_BORDER); } RefEdit::~RefEdit() |