Changeset 32780 in vbox for trunk/src/VBox/Main/MachineImpl.cpp
- Timestamp:
- Sep 27, 2010 7:00:22 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/MachineImpl.cpp
r32727 r32780 300 300 301 301 mUserData->s.strName = strName; 302 mUserData->s.fNameSync = aNameSync;302 mUserData->s.fNameSync = !!aNameSync; 303 303 304 304 /* initialize the default snapshots folder … … 890 890 { 891 891 errorInfo->init(mData->mAccessError.getResultCode(), 892 mData->mAccessError.getInterfaceID() ,892 mData->mAccessError.getInterfaceID().ref(), 893 893 Utf8Str(mData->mAccessError.getComponent()).c_str(), 894 894 Utf8Str(mData->mAccessError.getText())); … … 6952 6952 data.hardware, 6953 6953 data.storage, 6954 data.uuid ,6954 data.uuid.ref(), 6955 6955 strStateFile); 6956 6956 if (FAILED(rc)) return rc; … … 7463 7463 aSnapshot = mData->mFirstSnapshot; 7464 7464 else 7465 aSnapshot = mData->mFirstSnapshot->findChildOrSelf(aId );7465 aSnapshot = mData->mFirstSnapshot->findChildOrSelf(aId.ref()); 7466 7466 7467 7467 if (!aSnapshot) … … 8090 8090 // memory 8091 8091 data.ulMemorySizeMB = mHWData->mMemorySize; 8092 data.fPageFusionEnabled = mHWData->mPageFusionEnabled;8092 data.fPageFusionEnabled = !!mHWData->mPageFusionEnabled; 8093 8093 8094 8094 // firmware … … 10303 10303 USBProxyService *service = mParent->host()->usbProxyService(); 10304 10304 AssertReturn(service, E_FAIL); 10305 return service->captureDeviceForVM(this, Guid(aId) );10305 return service->captureDeviceForVM(this, Guid(aId).ref()); 10306 10306 #else 10307 10307 NOREF(aId); … … 10323 10323 USBProxyService *service = mParent->host()->usbProxyService(); 10324 10324 AssertReturn(service, E_FAIL); 10325 return service->detachDeviceFromVM(this, Guid(aId) , !!aDone);10325 return service->detachDeviceFromVM(this, Guid(aId).ref(), !!aDone); 10326 10326 #else 10327 10327 NOREF(aId); … … 11219 11219 11220 11220 /* remove the completed progress object */ 11221 mParent->removeProgress(mSnapshotData.mProgressId );11221 mParent->removeProgress(mSnapshotData.mProgressId.ref()); 11222 11222 11223 11223 /* clear out the temporary saved state data */
Note:
See TracChangeset
for help on using the changeset viewer.