VirtualBox

Changeset 101167 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Sep 19, 2023 11:31:13 AM (16 months ago)
Author:
vboxsync
Message:

Frontends/VBoxManage: Follow-up build fix to remove the COMGETTER()
wrappers around the calls to the new IVirtualBox methods as this is only
needed for attribute retrieval and not method invocation. bugref:5936

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageList.cpp

    r101164 r101167  
    21922192        {
    21932193            com::SafeArray<BSTR> GuestOSFamilies;
    2194             CHECK_ERROR(pVirtualBox, COMGETTER(GuestOSFamilies)(ComSafeArrayAsOutParam(GuestOSFamilies)));
     2194            CHECK_ERROR(pVirtualBox, GetGuestOSFamilies(ComSafeArrayAsOutParam(GuestOSFamilies)));
    21952195            if (SUCCEEDED(hrc))
    21962196            {
     
    22002200                    com::SafeArray<BSTR> GuestOSVariants;
    22012201                    CHECK_ERROR(pVirtualBox,
    2202                                 COMGETTER(GuestOSVariantsByFamilyId)(bstrOSFamily.raw(),
    2203                                           ComSafeArrayAsOutParam(GuestOSVariants)));
     2202                                GetGuestOSVariantsByFamilyId(bstrOSFamily.raw(),
     2203                                                             ComSafeArrayAsOutParam(GuestOSVariants)));
    22042204                    if (SUCCEEDED(hrc))
    22052205                    {
     
    22112211                            const Bstr bstrOSVariant = GuestOSVariants[j];
    22122212                            CHECK_ERROR(pVirtualBox,
    2213                                         COMGETTER(GuestOSDescsByVariant)(bstrOSVariant.raw(),
    2214                                                   ComSafeArrayAsOutParam(GuestOSDescs)));
     2213                                        GetGuestOSDescsByVariant(bstrOSVariant.raw(),
     2214                                                                 ComSafeArrayAsOutParam(GuestOSDescs)));
    22152215                            if (SUCCEEDED(hrc))
    22162216                                for (size_t k = 0; k < GuestOSDescs.size(); ++k)
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