diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-03-26 09:08:27 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-03-26 09:08:38 +0200 |
commit | d852df0d6d6f7b8c12b43c34cec83f673ef0a32f (patch) | |
tree | 7904cccbf954376ee28b6f9c9ec3c228e9de56df /vcl/win/source | |
parent | 975bbf29dfda6296b9f89958fe8c27af372150e7 (diff) |
Bin DestroyVirtualDevice(): Just use delete directly at call sites
Change-Id: I47c67d3d89ab22b07b3ec6fe7ea6e035d21e85b6
Diffstat (limited to 'vcl/win/source')
-rw-r--r-- | vcl/win/source/gdi/salvd.cxx | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/vcl/win/source/gdi/salvd.cxx b/vcl/win/source/gdi/salvd.cxx index 2daa846f973d..f349cd943f37 100644 --- a/vcl/win/source/gdi/salvd.cxx +++ b/vcl/win/source/gdi/salvd.cxx @@ -151,15 +151,6 @@ SalVirtualDevice* WinSalInstance::CreateVirtualDevice( SalGraphics* pSGraphics, } } - - -void WinSalInstance::DestroyVirtualDevice( SalVirtualDevice* pDevice ) -{ - delete pDevice; -} - - - WinSalVirtualDevice::WinSalVirtualDevice() { setHDC((HDC)NULL); // HDC or 0 for Cache Device |