VirtualBox

Changeset 78844 in vbox


Ignore:
Timestamp:
May 29, 2019 12:18:01 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
130948
Message:

bugref:9436. Empty ovf::OVFReader is needed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/ApplianceImplImport.cpp

    r78843 r78844  
    11221122    {
    11231123        if (aLocInfo.storageType == VFSType_Cloud)
     1124        {
    11241125            /* 1 operation only */
    11251126            hrc = aProgress->init(mVirtualBox, static_cast<IAppliance*>(this),
    11261127                                  Utf8Str(tr("Getting cloud instance information...")), TRUE /* aCancelable */);
     1128
     1129            /* Create an empty ovf::OVFReader for manual filling it.
     1130             * It's not a normal usage case, but we try to re-use some OVF stuff to friend
     1131             * the cloud import with OVF import.
     1132             * In the standard case the ovf::OVFReader is created earlier.*/
     1133            m->pReader = new ovf::OVFReader();
     1134        }
    11271135        else
    11281136        {
     
    15941602                throw setErrorVrc(vrc, strLastActualErrorDesc.c_str());
    15951603            }
    1596 
    1597             /* Create an empty ovf::OVFReader for manual filling it.
    1598              * It's not a normal usage case, but we try to re-use some OVF stuff to friend
    1599              * the cloud import with OVF import.
    1600              * In the standard case the ovf::OVFReader is created earlier.*/
    1601             m->pReader = new ovf::OVFReader();
    16021604
    16031605            /* Create a new virtual system and work directly on the list copy. */
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette