Changeset 19310 in vbox for trunk/src/VBox/Main
- Timestamp:
- May 3, 2009 7:51:06 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ApplianceImpl.cpp
r19239 r19310 3570 3570 } 3571 3571 // report result of asynchronous operation 3572 HRESULT vrc;3573 rc = pProgressAsync->COMGETTER(ResultCode)(& vrc);3572 LONG iRc; 3573 rc = pProgressAsync->COMGETTER(ResultCode)(&iRc); 3574 3574 if (FAILED(rc)) throw rc; 3575 3575 … … 3577 3577 // if the thread of the progress object has an error, then 3578 3578 // retrieve the error info from there, or it'll be lost 3579 if (FAILED( vrc))3579 if (FAILED(iRc)) 3580 3580 { 3581 3581 ProgressErrorInfo info(pProgressAsync); 3582 3582 Utf8Str str(info.getText()); 3583 3583 const char *pcsz = str.c_str(); 3584 HRESULT rc2 = setError( vrc, pcsz);3584 HRESULT rc2 = setError(iRc, pcsz); 3585 3585 throw rc2; 3586 3586 }
Note:
See TracChangeset
for help on using the changeset viewer.