diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-05-26 16:02:50 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-05-26 17:54:27 +0100 |
commit | f849d96463d967214bc063f6de912a082272c395 (patch) | |
tree | 998470859b5f700db40084e89a257ec8a8b78999 /toolkit | |
parent | 2a6aa95a7af11eb091dfa9494cd810998b2e324d (diff) |
tdf#91416 - fix some incorrectly allocated VirtualDevices.
Change-Id: I9ebed313827986473c60e77b7e218b4c1b2487fe
Diffstat (limited to 'toolkit')
-rw-r--r-- | toolkit/source/awt/vclxtoolkit.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/source/awt/vclxtoolkit.cxx b/toolkit/source/awt/vclxtoolkit.cxx index 9ef383ddf35b..5962c95a5647 100644 --- a/toolkit/source/awt/vclxtoolkit.cxx +++ b/toolkit/source/awt/vclxtoolkit.cxx @@ -731,7 +731,7 @@ void SAL_CALL VCLXToolkit::disposing() SolarMutexGuard aSolarGuard; - VirtualDevice* pV = new VirtualDevice; + VclPtrInstance<VirtualDevice> pV; pV->SetOutputSizePixel( Size( Width, Height ) ); pVDev->SetVirtualDevice( pV ); |