summaryrefslogtreecommitdiff
path: root/desktop/source/deployment/gui/license_dialog.cxx
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-04-17 11:22:09 +0100
committerMichael Meeks <michael.meeks@collabora.com>2015-04-17 11:22:09 +0100
commit0703fc22519b391cece54f9d67012cffd9867765 (patch)
tree01b5807a371e0f33546e99e2d9a38c69f9872a44 /desktop/source/deployment/gui/license_dialog.cxx
parente0686cb7564eb2eeab62ac35a2a36da8f83ed90a (diff)
desktop: convert new to ::Create.
Change-Id: I114ab23302970ce0abe551ffd693e92b0f4ae8c5
Diffstat (limited to 'desktop/source/deployment/gui/license_dialog.cxx')
-rw-r--r--desktop/source/deployment/gui/license_dialog.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop/source/deployment/gui/license_dialog.cxx b/desktop/source/deployment/gui/license_dialog.cxx
index 2054b4435465..710052f3180f 100644
--- a/desktop/source/deployment/gui/license_dialog.cxx
+++ b/desktop/source/deployment/gui/license_dialog.cxx
@@ -330,7 +330,8 @@ sal_Int16 LicenseDialog::execute() throw (RuntimeException, std::exception)
sal_Int16 LicenseDialog::solar_execute()
{
VclPtr<LicenseDialogImpl> dlg(
- new LicenseDialogImpl(
+ VclPtr<LicenseDialogImpl>::Create(
+
VCLUnoHelper::GetWindow(m_parent),
m_xComponentContext, m_sExtensionName, m_sLicenseText));