VirtualBox

Changeset 73338 in vbox


Ignore:
Timestamp:
Jul 23, 2018 10:22:16 PM (7 years ago)
Author:
vboxsync
Message:

bugref:9152. I temporarily commented AssertMsgReturn() out.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportAppPageBasic4.cpp

    r73337 r73338  
    176176{
    177177    /* Make sure field is bool: */
    178     AssertMsgReturn(field.isBool(), ("Field '%s' has wrong structure!", strFieldName.toUtf8().constData()), false);
     178//  AssertMsgReturn(field.isBool(), ("Field '%s' has wrong structure!", strFieldName.toUtf8().constData()), false);
    179179
    180180    const bool fFieldValue = field.toBool();
     
    188188{
    189189    /* Make sure field is double: */
    190     AssertMsgReturn(field.isDouble(), ("Field '%s' has wrong structure!", strFieldName.toUtf8().constData()), 0);
     190//  AssertMsgReturn(field.isDouble(), ("Field '%s' has wrong structure!", strFieldName.toUtf8().constData()), 0);
    191191
    192192    const double dFieldValue = field.toDouble();
     
    200200{
    201201    /* Make sure field is string: */
    202     AssertMsgReturn(field.isString(), ("Field '%s' has wrong structure!", strFieldName.toUtf8().constData()), QString());
     202//  AssertMsgReturn(field.isString(), ("Field '%s' has wrong structure!", strFieldName.toUtf8().constData()), QString());
    203203
    204204    const QString strFieldValue = field.toString();
     
    212212{
    213213    /* Make sure field is array: */
    214     AssertMsgReturn(field.isArray(), ("Item '%s' has wrong structure!", strFieldName.toUtf8().constData()), QStringList());
     214//  AssertMsgReturn(field.isArray(), ("Item '%s' has wrong structure!", strFieldName.toUtf8().constData()), QStringList());
    215215
    216216    const QJsonArray fieldValueArray = field.toArray();
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