diff options
author | Noel Grandin <noel@peralex.com> | 2015-04-17 16:55:41 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-04-17 17:05:46 +0200 |
commit | cb516fafbb2a6217d9c41030217cb024ff18272e (patch) | |
tree | aba24db02557760d36d748a5352b13efd85655ae /svx/source/engine3d | |
parent | 5df70781f3001d2f5be0343fc9daf04ab5c56719 (diff) |
svx: convert new to ::Create.
Change-Id: Idbcc64e883b79081c7a6399e1aed8a6b20035f69
Diffstat (limited to 'svx/source/engine3d')
-rw-r--r-- | svx/source/engine3d/float3d.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/engine3d/float3d.cxx b/svx/source/engine3d/float3d.cxx index 106568454f18..0b84e42d68f6 100644 --- a/svx/source/engine3d/float3d.cxx +++ b/svx/source/engine3d/float3d.cxx @@ -2916,7 +2916,7 @@ Svx3DChildWindow::Svx3DChildWindow( vcl::Window* _pParent, SfxChildWinInfo* pInfo ) : SfxChildWindow( _pParent, nId ) { - Svx3DWin* pWin = new Svx3DWin( pBindings, this, _pParent ); + VclPtr<Svx3DWin> pWin = VclPtr<Svx3DWin>::Create( pBindings, this, _pParent ); pWindow = pWin; eChildAlignment = SfxChildAlignment::NOALIGNMENT; |