Changeset 42567 in vbox for trunk/src/VBox/Main/src-client
- Timestamp:
- Aug 3, 2012 9:07:34 AM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 79744
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/GuestSessionImpl.cpp
r42566 r42567 29 29 #include "ProgressImpl.h" 30 30 31 #include <memory> /* For auto_ptr. */ 32 31 33 #include <iprt/env.h> 32 34 … … 88 90 { 89 91 HRESULT hr = mProgress->notifyComplete(S_OK); 90 ComAssertComRC(hr); 92 if (FAILED(hr)) 93 return VERR_COM_UNEXPECTED; /** @todo Find a better rc. */ 91 94 } 92 95 … … 103 106 && !fCompleted) 104 107 { 105 HRESULT hr = mProgress->notifyComplete(hr,108 HRESULT hr2 = mProgress->notifyComplete(hr, 106 109 COM_IIDOF(IGuestSession), 107 110 GuestSession::getStaticComponentName(), 108 111 strMsg.c_str()); 109 if (FAILED(hr ))112 if (FAILED(hr2)) 110 113 return VERR_COM_UNEXPECTED; 111 114 }
Note:
See TracChangeset
for help on using the changeset viewer.