VirtualBox

Changeset 17577 in vbox


Ignore:
Timestamp:
Mar 9, 2009 2:17:19 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
44030
Message:

OVF: don't crash on missing VM name (use Utf8Str::isEmpty() instead of comparing with empty string)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/ApplianceImpl.cpp

    r17576 r17577  
    13431343             * the OS type */
    13441344            Utf8Str nameVBox = vsysThis.strName;
    1345             if (nameVBox == "")
     1345            if (nameVBox.isEmpty())
    13461346                nameVBox = strOsTypeVBox;
    13471347            searchUniqueVMName(nameVBox);
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