diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-11-07 12:49:03 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-11-07 12:49:03 +0000 |
commit | 2411ea09a8d20609e48b0750ab2102c00e0c3b8a (patch) | |
tree | 18c8dd0e5784ea488e2744067225689b85f8ed1f /vcl/win/source/window | |
parent | 2ea9da71470a9e2a442ec6a660de47691a3f8723 (diff) |
redundant if not-null checks on delete
Diffstat (limited to 'vcl/win/source/window')
-rw-r--r-- | vcl/win/source/window/salobj.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/vcl/win/source/window/salobj.cxx b/vcl/win/source/window/salobj.cxx index 0ee631d27d84..01ffd8b20652 100644 --- a/vcl/win/source/window/salobj.cxx +++ b/vcl/win/source/window/salobj.cxx @@ -654,8 +654,7 @@ WinSalObject::~WinSalObject() } // Cache-Daten zerstoeren - if ( mpStdClipRgnData ) - delete mpStdClipRgnData; + delete mpStdClipRgnData; HWND hWndParent = ::GetParent( mhWnd ); |