summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/uno/DBTypeWizDlgSetup.cxx
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-04-17 12:10:27 +0100
committerMichael Meeks <michael.meeks@collabora.com>2015-04-17 12:14:28 +0100
commit0a497cb52a2ffecd94178eed296ba8ae7f526358 (patch)
tree9ca24fc64bc20085dc8f055114b67736cd08119b /dbaccess/source/ui/uno/DBTypeWizDlgSetup.cxx
parent0703fc22519b391cece54f9d67012cffd9867765 (diff)
Use VclPtr for OGenericUnoDialog::createDialog.
Change-Id: I0c2040889931a4700735339c5252f8d5fee234ff
Diffstat (limited to 'dbaccess/source/ui/uno/DBTypeWizDlgSetup.cxx')
-rw-r--r--dbaccess/source/ui/uno/DBTypeWizDlgSetup.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/ui/uno/DBTypeWizDlgSetup.cxx b/dbaccess/source/ui/uno/DBTypeWizDlgSetup.cxx
index 6bfbabab11ed..25e9c4c1d705 100644
--- a/dbaccess/source/ui/uno/DBTypeWizDlgSetup.cxx
+++ b/dbaccess/source/ui/uno/DBTypeWizDlgSetup.cxx
@@ -106,9 +106,9 @@ Reference<XPropertySetInfo> SAL_CALL ODBTypeWizDialogSetup::getPropertySetInfo(
return new ::cppu::OPropertyArrayHelper(aProps);
}
-Dialog* ODBTypeWizDialogSetup::createDialog(vcl::Window* _pParent)
+VclPtr<Dialog> ODBTypeWizDialogSetup::createDialog(vcl::Window* _pParent)
{
- return new ODbTypeWizDialogSetup(_pParent, m_pDatasourceItems, m_aContext, m_aInitialSelection);
+ return VclPtr<ODbTypeWizDialogSetup>::Create(_pParent, m_pDatasourceItems, m_aContext, m_aInitialSelection);
}
void ODBTypeWizDialogSetup::executedDialog(sal_Int16 _nExecutionResult)