Changeset 30612 in vbox for trunk/src/VBox/Main/GuestImpl.cpp
- Timestamp:
- Jul 5, 2010 12:56:54 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 63339
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/GuestImpl.cpp
r30610 r30612 700 700 BOOL fCancelled; 701 701 ComAssert(it->second.pProgress.isNotNull()); 702 it->second.pProgress->COMGETTER(Canceled)(&fCancelled); 703 704 if (!fCancelled) 702 if (SUCCEEDED(it->second.pProgress->COMGETTER(Canceled)(&fCancelled) && fCancelled)) 703 { 704 it->second.pProgress->notifyComplete(VBOX_E_IPRT_ERROR, COM_IIDOF(IGuest), 705 (CBSTR)Guest::getComponentName(), Guest::tr("The output operation was cancelled")); 706 } 707 else 705 708 it->second.pProgress->notifyComplete(S_OK); 706 else707 it->second.pProgress->notifyComplete(VBOX_E_IPRT_ERROR, COM_IIDOF(IGuest),708 (CBSTR)Guest::getComponentName(), Guest::tr("The output operation was cancelled"));709 709 } 710 710 else
Note:
See TracChangeset
for help on using the changeset viewer.