diff options
Diffstat (limited to 'dtrans')
-rw-r--r-- | dtrans/source/win32/clipb/MtaOleClipb.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/dtrans/source/win32/clipb/MtaOleClipb.cxx b/dtrans/source/win32/clipb/MtaOleClipb.cxx index d893dd49c5df..365e8696b7a4 100644 --- a/dtrans/source/win32/clipb/MtaOleClipb.cxx +++ b/dtrans/source/win32/clipb/MtaOleClipb.cxx @@ -399,7 +399,6 @@ HRESULT CMtaOleClipboard::getClipboard( IDataObject** ppIDataObject ) CAutoComInit comAutoInit; LPSTREAM lpStream; - HRESULT hr = E_FAIL; *ppIDataObject = NULL; @@ -411,7 +410,7 @@ HRESULT CMtaOleClipboard::getClipboard( IDataObject** ppIDataObject ) aMsgCtx.aCondition.wait( /* infinite */ ); - hr = aMsgCtx.hr; + HRESULT hr = aMsgCtx.hr; if ( SUCCEEDED( hr ) ) { |