summaryrefslogtreecommitdiff
path: root/desktop/source/deployment/gui/license_dialog.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/source/deployment/gui/license_dialog.cxx')
-rw-r--r--desktop/source/deployment/gui/license_dialog.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/source/deployment/gui/license_dialog.cxx b/desktop/source/deployment/gui/license_dialog.cxx
index 141d64b2ddc7..f37082e443ab 100644
--- a/desktop/source/deployment/gui/license_dialog.cxx
+++ b/desktop/source/deployment/gui/license_dialog.cxx
@@ -132,7 +132,7 @@ VCL_BUILDER_DECL_FACTORY(LicenseView)
OString sBorder = VclBuilder::extractCustomProperty(rMap);
if (!sBorder.isEmpty())
nWinStyle |= WB_BORDER;
- return new LicenseView(pParent, nWinStyle | WB_VSCROLL);
+ rRet = VclPtr<LicenseView>::Create(pParent, nWinStyle | WB_VSCROLL);
}
LicenseView::~LicenseView()