VirtualBox

Changeset 49662 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Nov 26, 2013 3:43:22 PM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
90917
Message:

VRDEServerImpl: minor fixes for r90887

File:
1 edited

Legend:

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

    r49644 r49662  
    512512    if (!mData->mEnabled)
    513513    {
    514         aProperties.resize(cProperties);
    515514        return S_OK;
    516515    }
     
    679678        ComPtr<ISystemProperties> systemProperties;
    680679        HRESULT hrc = mParent->getVirtualBox()->COMGETTER(SystemProperties)(systemProperties.asOutParam());
    681         Bstr strlib;
    682680        if (SUCCEEDED(hrc))
    683681        {
     682            Bstr strlib;
    684683            hrc = systemProperties->COMGETTER(VRDEAuthLibrary)(strlib.asOutParam());
    685             aLibrary = Utf8Str(strlib).c_str();
     684            if (SUCCEEDED(hrc))
     685                aLibrary = Utf8Str(strlib).c_str();
    686686        }
    687687
     
    818818    {
    819819        /* Get the global setting. */
    820         BSTR bstr;
    821820        ComPtr<ISystemProperties> systemProperties;
    822821        hrc = mParent->getVirtualBox()->COMGETTER(SystemProperties)(systemProperties.asOutParam());
    823822        if (SUCCEEDED(hrc))
     823        {
     824            BSTR bstr;
    824825            hrc = systemProperties->COMGETTER(DefaultVRDEExtPack)(&bstr);
    825         aExtPack = Utf8Str(bstr);
     826            if (SUCCEEDED(hrc))
     827                aExtPack = Utf8Str(bstr);
     828        }
    826829    }
    827830    return hrc;
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