diff options
author | Noel Grandin <noel@peralex.com> | 2015-04-17 17:16:46 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-04-17 17:16:46 +0200 |
commit | 3f5733216541c5b1e9d86861812a7a857703740c (patch) | |
tree | 6f40123d319ba1d6a0bc9eb6142684ce69875ed3 /svtools/source/hatchwindow | |
parent | cb516fafbb2a6217d9c41030217cb024ff18272e (diff) |
svtools: convert new to ::Create.
Change-Id: I1f46485d23c57b2ca212ba1c349b07f22265bc89
Diffstat (limited to 'svtools/source/hatchwindow')
-rw-r--r-- | svtools/source/hatchwindow/hatchwindow.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/hatchwindow/hatchwindow.cxx b/svtools/source/hatchwindow/hatchwindow.cxx index f31e8d14c0ec..3ca665552db0 100644 --- a/svtools/source/hatchwindow/hatchwindow.cxx +++ b/svtools/source/hatchwindow/hatchwindow.cxx @@ -55,7 +55,7 @@ void VCLXHatchWindow::initializeWindow( const uno::Reference< awt::XWindowPeer > if ( !pParent ) throw lang::IllegalArgumentException(); // TODO - pHatchWindow = new SvResizeWindow( pParent, this ); + pHatchWindow = VclPtr<SvResizeWindow>::Create( pParent, this ); pHatchWindow->setPosSizePixel( aBounds.X, aBounds.Y, aBounds.Width, aBounds.Height ); aHatchBorderSize = aSize; pHatchWindow->SetHatchBorderPixel( Size( aSize.Width, aSize.Height ) ); |