- Timestamp:
- Mar 9, 2009 2:38:03 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ApplianceImpl.cpp
r17577 r17578 2169 2169 ComPtr<IHardDisk> dstHdVBox; 2170 2170 /* If strHref is empty we have to create a new file */ 2171 if (di.strHref.c_str()[0] == 0) 2171 if (di.strHref.isNull() || 2172 di.strHref.c_str()[0] == 0) 2172 2173 { 2173 2174 /* Which format to use? */ … … 2181 2182 2182 2183 /* Create a dynamic growing disk image with the given capacity */ 2183 ComPtr<IProgress> progress;2184 2184 rc = dstHdVBox->CreateDynamicStorage(di.iCapacity / _1M, progress.asOutParam()); 2185 2185 if (FAILED(rc)) throw rc;
Note:
See TracChangeset
for help on using the changeset viewer.