[Libreoffice-commits] core.git: vcl/win
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Wed Feb 6 10:14:33 UTC 2019
vcl/win/gdi/salvd.cxx | 3 ---
1 file changed, 3 deletions(-)
New commits:
commit 48f1451407443450e49b1253e95671d9513021b8
Author: Dmitriy Shilin <dshil at fastmail.com>
AuthorDate: Tue Feb 5 22:01:10 2019 -0800
Commit: Mike Kaganski <mike.kaganski at collabora.com>
CommitDate: Wed Feb 6 11:14:09 2019 +0100
tdf#107792 vcl/win: simplify WinSalVirtualDevice::~WinSalVirtualDevice()
Change-Id: I61c2ee1e8363a022239d5572e3506df9da0d5e1d
Reviewed-on: https://gerrit.libreoffice.org/67433
Reviewed-by: Mike Kaganski <mike.kaganski at collabora.com>
Tested-by: Jenkins
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()
More information about the Libreoffice-commits
mailing list