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/unx/generic/gdi/salvd.cxx | |
parent | 975bbf29dfda6296b9f89958fe8c27af372150e7 (diff) |
Bin DestroyVirtualDevice(): Just use delete directly at call sites
Change-Id: I47c67d3d89ab22b07b3ec6fe7ea6e035d21e85b6
Diffstat (limited to 'vcl/unx/generic/gdi/salvd.cxx')
-rw-r--r-- | vcl/unx/generic/gdi/salvd.cxx | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/vcl/unx/generic/gdi/salvd.cxx b/vcl/unx/generic/gdi/salvd.cxx index e5044545ef1f..a858223c939b 100644 --- a/vcl/unx/generic/gdi/salvd.cxx +++ b/vcl/unx/generic/gdi/salvd.cxx @@ -78,11 +78,6 @@ SalVirtualDevice* X11SalInstance::CreateVirtualDevice( SalGraphics* pGraphics, return pVDev; } -void X11SalInstance::DestroyVirtualDevice( SalVirtualDevice* pDevice ) -{ - delete pDevice; -} - void X11SalGraphics::Init( X11SalVirtualDevice *pDevice, SalColormap* pColormap, bool bDeleteColormap ) { |