summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorDmitriy Shilin <dshil@fastmail.com>2019-02-05 22:01:10 -0800
committerMike Kaganski <mike.kaganski@collabora.com>2019-02-06 11:14:09 +0100
commit48f1451407443450e49b1253e95671d9513021b8 (patch)
tree2d7d669dc9baaadb477384cea2704d2e07eb4f65 /vcl
parent58d89f27d1097c766c5de4098ff0ce30051ed74b (diff)
tdf#107792 vcl/win: simplify WinSalVirtualDevice::~WinSalVirtualDevice()
Change-Id: I61c2ee1e8363a022239d5572e3506df9da0d5e1d Reviewed-on: https://gerrit.libreoffice.org/67433 Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'vcl')
-rw-r--r--vcl/win/gdi/salvd.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/vcl/win/gdi/salvd.cxx b/vcl/win/gdi/salvd.cxx
index bd6310b38759..695ee68d56f1 100644
--- a/vcl/win/gdi/salvd.cxx
+++ b/vcl/win/gdi/salvd.cxx
@@ -179,9 +179,6 @@ WinSalVirtualDevice::~WinSalVirtualDevice()
SelectBitmap( mpGraphics->getHDC(), mhDefBmp );
if( !mbForeignDC )
DeleteDC( mpGraphics->getHDC() );
-
- mhBmp.reset();
- mpGraphics.reset();
}
SalGraphics* WinSalVirtualDevice::AcquireGraphics()