VirtualBox

Ignore:
Timestamp:
Feb 15, 2010 5:14:18 PM (15 years ago)
Author:
vboxsync
Message:

Main: Bstr makeover -- make Bstr(NULL) and Bstr() behave the same; resulting cleanup; make some more internal methods use Utf8Str instead of Bstr; fix a lot of CheckComArgNotNull() usage

File:
1 edited

Legend:

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

    r26472 r26550  
    228228            return E_INVALIDARG;
    229229
    230         if (com::asGuidStr(id).isNull())
     230        if (com::asGuidStr(id).isEmpty())
    231231        {
    232232            /* it's a global extra data key someone wants to change */
     
    310310                                  IN_BSTR key, IN_BSTR value)
    311311    {
    312         if (com::asGuidStr(id).isNull())
     312        if (com::asGuidStr(id).isEmpty())
    313313        {
    314314            QString sKey = QString::fromUtf16 (key);
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