summaryrefslogtreecommitdiff
path: root/vcl/win/source
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-03-26 09:08:27 +0200
committerTor Lillqvist <tml@collabora.com>2014-03-26 09:08:38 +0200
commitd852df0d6d6f7b8c12b43c34cec83f673ef0a32f (patch)
tree7904cccbf954376ee28b6f9c9ec3c228e9de56df /vcl/win/source
parent975bbf29dfda6296b9f89958fe8c27af372150e7 (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.cxx9
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