Changeset 3421 in vbox for trunk/src/VBox
- Timestamp:
- Jul 4, 2007 4:06:12 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/USBControllerImpl.cpp
r3302 r3421 445 445 * Loads settings from the configuration node. 446 446 * 447 * @note Locks objects for reading!447 * @note Locks objects for writing! 448 448 */ 449 449 HRESULT USBController::loadSettings (CFGNODE aMachine) 450 450 { 451 ComAssertRet(aMachine, E_FAIL);452 453 AutoCaller autoCaller (this); 454 CheckComRCReturnRC (autoCaller.rc());451 AssertReturn (aMachine, E_FAIL); 452 453 AutoCaller autoCaller (this); 454 AssertComRCReturnRC (autoCaller.rc()); 455 455 456 456 AutoLock alock (this); … … 525 525 HRESULT USBController::saveSettings (CFGNODE aMachine) 526 526 { 527 ComAssertRet(aMachine, E_FAIL);527 AssertReturn (aMachine, E_FAIL); 528 528 529 529 AutoCaller autoCaller (this); … … 681 681 682 682 /* we need the machine state */ 683 Machine::Auto MutableStateDependency adep (mParent);683 Machine::AutoAnyStateDependency adep (mParent); 684 684 AssertComRCReturn (adep.rc(), false); 685 685 … … 954 954 #else 955 955 /* we need the machine state */ 956 Machine::Auto MutableStateDependency adep (mParent);956 Machine::AutoAnyStateDependency adep (mParent); 957 957 AssertComRCReturnRC (adep.rc()); 958 958
Note:
See TracChangeset
for help on using the changeset viewer.