- Timestamp:
- Jun 11, 2009 10:20:05 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageModifyVM.cpp
r19638 r20474 1131 1131 if (!hardDisk) 1132 1132 { 1133 CHECK_ERROR(a->virtualBox, FindHardDisk(Bstr(hdds[0]), hardDisk.asOutParam()));1133 rc = a->virtualBox->FindHardDisk(Bstr(hdds[0]), hardDisk.asOutParam()); 1134 1134 if (FAILED(rc)) 1135 1135 { … … 1164 1164 if (!hardDisk) 1165 1165 { 1166 CHECK_ERROR(a->virtualBox, FindHardDisk(Bstr(hdds[1]), hardDisk.asOutParam()));1166 rc = a->virtualBox->FindHardDisk(Bstr(hdds[1]), hardDisk.asOutParam()); 1167 1167 if (FAILED(rc)) 1168 1168 { … … 1197 1197 if (!hardDisk) 1198 1198 { 1199 CHECK_ERROR(a->virtualBox, FindHardDisk(Bstr(hdds[2]), hardDisk.asOutParam()));1199 rc = a->virtualBox->FindHardDisk(Bstr(hdds[2]), hardDisk.asOutParam()); 1200 1200 if (FAILED(rc)) 1201 1201 { … … 1918 1918 if (!hardDisk) 1919 1919 { 1920 CHECK_ERROR(a->virtualBox, FindHardDisk(Bstr(hdds[i]), hardDisk.asOutParam()));1920 rc = a->virtualBox->FindHardDisk(Bstr(hdds[i]), hardDisk.asOutParam()); 1921 1921 if (FAILED(rc)) 1922 1922 { … … 2007 2007 if (!hardDisk) 2008 2008 { 2009 CHECK_ERROR(a->virtualBox, FindHardDisk(Bstr(hdds[i]), hardDisk.asOutParam()));2009 rc = a->virtualBox->FindHardDisk(Bstr(hdds[i]), hardDisk.asOutParam()); 2010 2010 if (FAILED(rc)) 2011 2011 {
Note:
See TracChangeset
for help on using the changeset viewer.