diff options
Diffstat (limited to 'dbaccess/source/ui')
-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 35b58d9154ec..b5c549d87340 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 new OConnectionURLEdit(pParent, WB_BORDER, false); + return VclPtr<OConnectionURLEdit>::Create(pParent, WB_BORDER, false); } OConnectionURLEdit::~OConnectionURLEdit() diff --git a/dbaccess/source/ui/control/tabletree.cxx b/dbaccess/source/ui/control/tabletree.cxx index 8b54d8d4b673..e262dee8582d 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 new OTableTreeListBox(pParent, nWinStyle); + return VclPtr<OTableTreeListBox>::Create(pParent, nWinStyle); } void OTableTreeListBox::implSetDefaultImages() diff --git a/dbaccess/source/ui/dlg/indexfieldscontrol.cxx b/dbaccess/source/ui/dlg/indexfieldscontrol.cxx index 50d91c8f5244..8982bc5792a3 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 new IndexFieldsControl (pParent, WB_BORDER | WB_NOTABSTOP); + return VclPtr<IndexFieldsControl>::Create(pParent, WB_BORDER | WB_NOTABSTOP); } IndexFieldsControl::~IndexFieldsControl() |