summaryrefslogtreecommitdiff
path: root/cui/source/customize/cfgutil.cxx
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 /cui/source/customize/cfgutil.cxx
parent7ac254048a5698e046bbb7deccd171cb3777af61 (diff)
Revert "Switch VclBuilder constructors to use VclPtr."
Behaves oddly; not ready yet. This reverts commit 9f016bd69422bdfb4cf7c4f5e57356eb98db2d8c. Change-Id: I30d746eac29d1dbe78d3072b10d2e22c051e3f4e
Diffstat (limited to 'cui/source/customize/cfgutil.cxx')
-rw-r--r--cui/source/customize/cfgutil.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/customize/cfgutil.cxx b/cui/source/customize/cfgutil.cxx
index c5d3cdf4c803..c74e0e78e44b 100644
--- a/cui/source/customize/cfgutil.cxx
+++ b/cui/source/customize/cfgutil.cxx
@@ -266,7 +266,7 @@ VCL_BUILDER_DECL_FACTORY(SfxConfigFunctionListBox)
if (!sBorder.isEmpty())
nWinBits |= WB_BORDER;
- return VclPtr<SfxConfigFunctionListBox>::Create(pParent, nWinBits);
+ return new SfxConfigFunctionListBox(pParent, nWinBits);
}
SfxConfigFunctionListBox::~SfxConfigFunctionListBox()
@@ -408,7 +408,7 @@ VCL_BUILDER_DECL_FACTORY(SfxConfigGroupListBox)
if (!sBorder.isEmpty())
nWinBits |= WB_BORDER;
- return VclPtr<SfxConfigGroupListBox>::Create(pParent, nWinBits);
+ return new SfxConfigGroupListBox(pParent, nWinBits);
}
SfxConfigGroupListBox::~SfxConfigGroupListBox()