summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dtrans/source/win32/dnd/target.cxx3
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)