summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/control/curledit.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess/source/ui/control/curledit.cxx')
-rw-r--r--dbaccess/source/ui/control/curledit.cxx2
1 files changed, 1 insertions, 1 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()