diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-05-11 16:28:15 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-05-11 16:28:22 +0100 |
commit | 667910530deb61563d4812db0995da94e25220e5 (patch) | |
tree | 9e19a2c89c1b9ee8ae3610096d295e99873a3b5c /dbaccess/source | |
parent | 7ac254048a5698e046bbb7deccd171cb3777af61 (diff) |
Revert "Switch VclBuilder constructors to use VclPtr."
Behaves oddly; not ready yet.
This reverts commit 9f016bd69422bdfb4cf7c4f5e57356eb98db2d8c.
Change-Id: I30d746eac29d1dbe78d3072b10d2e22c051e3f4e
Diffstat (limited to 'dbaccess/source')
-rw-r--r-- | dbaccess/source/ui/control/curledit.cxx | 2 | ||||
-rw-r--r-- | dbaccess/source/ui/control/tabletree.cxx | 2 | ||||
-rw-r--r-- | dbaccess/source/ui/dlg/indexfieldscontrol.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/dbaccess/source/ui/control/curledit.cxx b/dbaccess/source/ui/control/curledit.cxx index b5c549d87340..35b58d9154ec 100644 --- a/dbaccess/source/ui/control/curledit.cxx +++ b/dbaccess/source/ui/control/curledit.cxx @@ -37,7 +37,7 @@ OConnectionURLEdit::OConnectionURLEdit(vcl::Window* _pParent, WinBits _nBits,boo VCL_BUILDER_DECL_FACTORY(ConnectionURLEdit) { (void)rMap; - return VclPtr<OConnectionURLEdit>::Create(pParent, WB_BORDER, false); + return new OConnectionURLEdit(pParent, WB_BORDER, false); } OConnectionURLEdit::~OConnectionURLEdit() diff --git a/dbaccess/source/ui/control/tabletree.cxx b/dbaccess/source/ui/control/tabletree.cxx index e262dee8582d..8b54d8d4b673 100644 --- a/dbaccess/source/ui/control/tabletree.cxx +++ b/dbaccess/source/ui/control/tabletree.cxx @@ -81,7 +81,7 @@ VCL_BUILDER_DECL_FACTORY(OTableTreeListBox) OString sBorder = VclBuilder::extractCustomProperty(rMap); if (!sBorder.isEmpty()) nWinStyle |= WB_BORDER; - return VclPtr<OTableTreeListBox>::Create(pParent, nWinStyle); + return new OTableTreeListBox(pParent, nWinStyle); } void OTableTreeListBox::implSetDefaultImages() diff --git a/dbaccess/source/ui/dlg/indexfieldscontrol.cxx b/dbaccess/source/ui/dlg/indexfieldscontrol.cxx index 8982bc5792a3..50d91c8f5244 100644 --- a/dbaccess/source/ui/dlg/indexfieldscontrol.cxx +++ b/dbaccess/source/ui/dlg/indexfieldscontrol.cxx @@ -106,7 +106,7 @@ namespace dbaui VCL_BUILDER_DECL_FACTORY(DbaIndexFieldsControl) { (void)rMap; - return VclPtr<IndexFieldsControl>::Create(pParent, WB_BORDER | WB_NOTABSTOP); + return new IndexFieldsControl (pParent, WB_BORDER | WB_NOTABSTOP); } IndexFieldsControl::~IndexFieldsControl() |