diff options
author | David Tardon <dtardon@redhat.com> | 2012-03-08 12:01:15 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2012-03-12 08:53:38 +0100 |
commit | 49884860e60d807cf0d8649a19e98c8bf05b197e (patch) | |
tree | 210c55ee42cb5f401cba034c9d77ed4971a01062 | |
parent | 4d34615cfc651e8cc72211488bb14f0ff5842237 (diff) |
WaE: variable 'hr' set but not used
-rw-r--r-- | dtrans/source/win32/dnd/target.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/dtrans/source/win32/dnd/target.cxx b/dtrans/source/win32/dnd/target.cxx index e8946795e46d..42fec627fe0f 100644 --- a/dtrans/source/win32/dnd/target.cxx +++ b/dtrans/source/win32/dnd/target.cxx @@ -90,7 +90,6 @@ DropTarget::~DropTarget() // the IDropTarget object will live on. MEMORY LEAK void SAL_CALL DropTarget::disposing() { - HRESULT hr= S_OK; if( m_threadIdTarget) { // Call RevokeDragDrop and wait for the OLE thread to die; @@ -101,7 +100,7 @@ void SAL_CALL DropTarget::disposing() } else { - hr= RevokeDragDrop( m_hWnd); + RevokeDragDrop( m_hWnd); m_hWnd= 0; } if( m_pDropTarget) |