Changeset 50444 in vbox for trunk/src/VBox/Main/src-server
- Timestamp:
- Feb 13, 2014 12:22:13 PM (11 years ago)
- Location:
- trunk/src/VBox/Main/src-server
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/ApplianceImpl.cpp
r50355 r50444 1484 1484 vsde.ulSizeMB = ulSizeMB; 1485 1485 1486 vsde.skipIt = false; 1487 1486 1488 m->maDescriptions.push_back(vsde); 1487 1489 } -
trunk/src/VBox/Main/src-server/ApplianceImplExport.cpp
r50355 r50444 611 611 { 612 612 ComObjPtr<VirtualSystemDescription> vsdescThis = (*it); 613 vsdescThis->i_removeByType(VirtualSystemDescriptionType_CDROM); 613 std::list<VirtualSystemDescriptionEntry*> skipped = vsdescThis->i_findByType(VirtualSystemDescriptionType_CDROM); 614 std::list<VirtualSystemDescriptionEntry*>:: iterator pItSkipped = skipped.begin(); 615 while (pItSkipped != skipped.end()) 616 { 617 (*pItSkipped)->skipIt = true; 618 ++pItSkipped; 619 } 614 620 } 615 621 } … … 888 894 889 895 //skip empty Medium. There are no information to add into section <References> or <DiskSection> 890 if (strSrcFilePath.isEmpty()) 896 if (strSrcFilePath.isEmpty() || 897 pDiskEntry->skipIt == true) 891 898 continue; 892 899 … … 1518 1525 1519 1526 //skip empty Medium. There are no information to add into section <References> or <DiskSection> 1520 if (desc.strVBoxCurrent.isNotEmpty()) 1527 if (desc.strVBoxCurrent.isNotEmpty() && 1528 desc.skipIt == false) 1521 1529 { 1522 1530 // the following references the "<Disks>" XML block … … 2078 2086 2079 2087 //skip empty Medium. In common, It's may be empty CD/DVD 2080 if (strSrcFilePath.isEmpty()) 2088 if (strSrcFilePath.isEmpty() || 2089 pDiskEntry->skipIt == true) 2081 2090 continue; 2082 2091
Note:
See TracChangeset
for help on using the changeset viewer.