VirtualBox

Changeset 21404 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Jul 8, 2009 3:19:42 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
49780
Message:

IPRT, Main: make ministring throw std::bad_alloc on allocation failure; remove isEmpty() and isNull(), change Main code to using length() instead; second try

File:
1 edited

Legend:

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

    r21394 r21404  
    167167    {
    168168        HRESULT rc = S_OK;
    169         Utf8Str utf8Name (name);
     169        Utf8Str utf8Name(name);
    170170        Guid uuid(machineId);
    171         if (utf8Name.isNull())
    172             rc = E_OUTOFMEMORY;
    173171        if (   SUCCEEDED (rc)
    174172            && uuid == mUuid
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