diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-05-11 16:28:15 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-05-11 16:28:22 +0100 |
commit | 667910530deb61563d4812db0995da94e25220e5 (patch) | |
tree | 9e19a2c89c1b9ee8ae3610096d295e99873a3b5c /desktop | |
parent | 7ac254048a5698e046bbb7deccd171cb3777af61 (diff) |
Revert "Switch VclBuilder constructors to use VclPtr."
Behaves oddly; not ready yet.
This reverts commit 9f016bd69422bdfb4cf7c4f5e57356eb98db2d8c.
Change-Id: I30d746eac29d1dbe78d3072b10d2e22c051e3f4e
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/deployment/gui/dp_gui_dialog2.cxx | 2 | ||||
-rw-r--r-- | desktop/source/deployment/gui/dp_gui_extlistbox.cxx | 2 | ||||
-rw-r--r-- | desktop/source/deployment/gui/license_dialog.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/desktop/source/deployment/gui/dp_gui_dialog2.cxx b/desktop/source/deployment/gui/dp_gui_dialog2.cxx index f3a4cfdcda76..37e653e1ad00 100644 --- a/desktop/source/deployment/gui/dp_gui_dialog2.cxx +++ b/desktop/source/deployment/gui/dp_gui_dialog2.cxx @@ -199,7 +199,7 @@ void ExtBoxWithBtns_Impl::InitFromDialog(ExtMgrDialog *pParentDialog) VCL_BUILDER_DECL_FACTORY(ExtBoxWithBtns) { (void)rMap; - return VclPtr<ExtBoxWithBtns_Impl>::Create(pParent); + return new ExtBoxWithBtns_Impl(pParent); } diff --git a/desktop/source/deployment/gui/dp_gui_extlistbox.cxx b/desktop/source/deployment/gui/dp_gui_extlistbox.cxx index a32897e8f12c..26b577ebab7d 100644 --- a/desktop/source/deployment/gui/dp_gui_extlistbox.cxx +++ b/desktop/source/deployment/gui/dp_gui_extlistbox.cxx @@ -833,7 +833,7 @@ Size ExtensionBox_Impl::GetOptimalSize() const VCL_BUILDER_DECL_FACTORY(ExtensionBox) { (void)rMap; - return VclPtr<ExtensionBox_Impl>::Create(pParent); + return new ExtensionBox_Impl(pParent); } long ExtensionBox_Impl::PointToPos( const Point& rPos ) diff --git a/desktop/source/deployment/gui/license_dialog.cxx b/desktop/source/deployment/gui/license_dialog.cxx index ff682c8de596..141d64b2ddc7 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 VclPtr<LicenseView>::Create(pParent, nWinStyle | WB_VSCROLL); + return new LicenseView(pParent, nWinStyle | WB_VSCROLL); } LicenseView::~LicenseView() |