VirtualBox

Changeset 73932 in vbox for trunk


Ignore:
Timestamp:
Aug 28, 2018 8:32:09 PM (6 years ago)
Author:
vboxsync
Message:

Drop trailing whitespace.

File:
1 edited

Legend:

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

    r73929 r73932  
    891891            // returns pBootableMedium if there are no diff images
    892892            rc = ptrSourceDisk->COMGETTER(Base)(pBootableBaseMedium.asOutParam());
    893             if (FAILED(rc)) 
     893            if (FAILED(rc))
    894894                throw rc;
    895895
     
    908908                Log(("Finding disk \"%s\"\n", path.c_str()));
    909909                rc = mVirtualBox->i_findHardDiskByLocation(path, true , &ptrSourceDisk);
    910                 if (FAILED(rc)) 
     910                if (FAILED(rc))
    911911                    throw rc;
    912912
     
    920920            if (vsdescThis->i_findByType(VirtualSystemDescriptionType_HardDiskImage).empty())
    921921            {
    922                 throw rc = setError(VBOX_E_OBJECT_NOT_FOUND, 
     922                throw rc = setError(VBOX_E_OBJECT_NOT_FOUND,
    923923                                    tr("Strange, but nothing to export to OCI after preparation steps"));
    924924            }
     
    938938
    939939            if (aLocInfo.strPath.isEmpty())
    940                 throw rc = setError(VBOX_E_OBJECT_NOT_FOUND, 
     940                throw rc = setError(VBOX_E_OBJECT_NOT_FOUND,
    941941                                    tr("OCI: Cloud user profile wasn't found"));
    942942
     
    948948                vsdescThis->i_findByType(VirtualSystemDescriptionType_CloudOCIInstanceShape);
    949949            if (shapeId.empty())
    950                 throw rc = setError(VBOX_E_OBJECT_NOT_FOUND, 
     950                throw rc = setError(VBOX_E_OBJECT_NOT_FOUND,
    951951                                    tr("OCI: Shape of instance wasn't found"));
    952952
     
    957957                vsdescThis->i_findByType(VirtualSystemDescriptionType_CloudOCIDomain);
    958958            if (domainName.empty())
    959                 throw rc = setError(VBOX_E_OBJECT_NOT_FOUND, 
     959                throw rc = setError(VBOX_E_OBJECT_NOT_FOUND,
    960960                                    tr("OCI: Available domain wasn't found"));
    961961
     
    966966                vsdescThis->i_findByType(VirtualSystemDescriptionType_CloudOCIBootDiskSize);
    967967            if (bootDiskSize.empty())
    968                 throw rc = setError(VBOX_E_OBJECT_NOT_FOUND, 
     968                throw rc = setError(VBOX_E_OBJECT_NOT_FOUND,
    969969                                    tr("OCI: Boot disk size wasn't found"));
    970970
     
    975975                vsdescThis->i_findByType(VirtualSystemDescriptionType_CloudOCIBucket);
    976976            if (bucketId.empty())
    977                 throw rc = setError(VBOX_E_OBJECT_NOT_FOUND, 
     977                throw rc = setError(VBOX_E_OBJECT_NOT_FOUND,
    978978                                    tr("OCI: Bucket wasn't found"));
    979979
     
    984984                vsdescThis->i_findByType(VirtualSystemDescriptionType_CloudOCIVCN);
    985985            if (vcn.empty())
    986                 throw rc = setError(VBOX_E_OBJECT_NOT_FOUND, 
     986                throw rc = setError(VBOX_E_OBJECT_NOT_FOUND,
    987987                                    tr("OCI: VCN wasn't found"));
    988988
     
    993993                vsdescThis->i_findByType(VirtualSystemDescriptionType_CloudOCIPublicIP);
    994994            if (publicIP.empty())
    995                 throw rc = setError(VBOX_E_OBJECT_NOT_FOUND, 
     995                throw rc = setError(VBOX_E_OBJECT_NOT_FOUND,
    996996                                    tr("OCI: Public IP setting wasn't found"));
    997997
Note: See TracChangeset for help on using the changeset viewer.

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