VirtualBox

Ignore:
Timestamp:
Apr 14, 2016 5:02:28 PM (9 years ago)
Author:
vboxsync
Message:

FE/Qt: fix XPCOM build breakage introduced in previous change

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/COMDefs.cpp

    r60500 r60505  
    379379    }
    380380
    381 #else /* !defined(VBOX_WITH_XPCOM) */
     381#else /* defined(VBOX_WITH_XPCOM) */
    382382
    383383    nsCOMPtr<nsIExceptionService> es;
     
    393393            if (NS_SUCCEEDED(rc) && ex)
    394394            {
    395                 ComPtr<IVirtualBoxErrorInfo> info;
    396                 rc = ex.queryInterfaceTo(info.asOutParam());
     395                nsCOMPtr<IVirtualBoxErrorInfo> info;
     396                info = do_QueryInterface(ex, &rc);
    397397                if (NS_SUCCEEDED(rc) && info)
    398398                    init(CVirtualBoxErrorInfo(info));
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