vcl/win/gdi/salvd.cxx |    3 ---
 1 file changed, 3 deletions(-)

New commits:
commit 48f1451407443450e49b1253e95671d9513021b8
Author:     Dmitriy Shilin <ds...@fastmail.com>
AuthorDate: Tue Feb 5 22:01:10 2019 -0800
Commit:     Mike Kaganski <mike.kagan...@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.kagan...@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()
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to