summaryrefslogtreecommitdiff
path: root/svx/source/sidebar/tools
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-04-17 16:55:41 +0200
committerNoel Grandin <noel@peralex.com>2015-04-17 17:05:46 +0200
commitcb516fafbb2a6217d9c41030217cb024ff18272e (patch)
treeaba24db02557760d36d748a5352b13efd85655ae /svx/source/sidebar/tools
parent5df70781f3001d2f5be0343fc9daf04ab5c56719 (diff)
svx: convert new to ::Create.
Change-Id: Idbcc64e883b79081c7a6399e1aed8a6b20035f69
Diffstat (limited to 'svx/source/sidebar/tools')
-rw-r--r--svx/source/sidebar/tools/Popup.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/sidebar/tools/Popup.cxx b/svx/source/sidebar/tools/Popup.cxx
index 91301c8cfca5..9cf7ebeb8cfe 100644
--- a/svx/source/sidebar/tools/Popup.cxx
+++ b/svx/source/sidebar/tools/Popup.cxx
@@ -103,7 +103,7 @@ void Popup::ProvideContainerAndControl (void)
void Popup::CreateContainerAndControl (void)
{
- mxContainer.reset(new PopupContainer(mpParent));
+ mxContainer.reset(VclPtr<PopupContainer>::Create(mpParent));
mxContainer->SetAccessibleName(msAccessibleName);
mxContainer->SetPopupModeEndHdl(LINK(this, Popup, PopupModeEndHandler));
mxContainer->SetBorderStyle(mxContainer->GetBorderStyle() | WindowBorderStyle::MENU);