VirtualBox

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

bugref:9152. Added LogRel().

File:
1 edited

Legend:

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

    r73338 r73339  
    176176{
    177177    /* Make sure field is bool: */
    178 //  AssertMsgReturn(field.isBool(), ("Field '%s' has wrong structure!", strFieldName.toUtf8().constData()), false);
    179 
     178    AssertMsgReturn(field.isBool(), ("Field '%s' has wrong structure!", strFieldName.toUtf8().constData()), false);
     179    LogRel(("Field '%s' has wrong structure!", strFieldName.toUtf8().constData()));
    180180    const bool fFieldValue = field.toBool();
    181181    //printf("  Field value: \"%s\"\n", fFieldValue ? "true" : "false");
     
    188188{
    189189    /* Make sure field is double: */
    190 //  AssertMsgReturn(field.isDouble(), ("Field '%s' has wrong structure!", strFieldName.toUtf8().constData()), 0);
    191 
     190    AssertMsgReturn(field.isDouble(), ("Field '%s' has wrong structure!", strFieldName.toUtf8().constData()), 0);
     191    LogRel(("Field '%s' has wrong structure!", strFieldName.toUtf8().constData()));
    192192    const double dFieldValue = field.toDouble();
    193193    //printf("  Field value: \"%f\"\n", dFieldValue);
     
    200200{
    201201    /* Make sure field is string: */
    202 //  AssertMsgReturn(field.isString(), ("Field '%s' has wrong structure!", strFieldName.toUtf8().constData()), QString());
    203 
     202    AssertMsgReturn(field.isString(), ("Field '%s' has wrong structure!", strFieldName.toUtf8().constData()), QString());
     203    LogRel(("Field '%s' has wrong structure!", strFieldName.toUtf8().constData()));
    204204    const QString strFieldValue = field.toString();
    205205    //printf("  Field value: \"%s\"\n", strFieldValue.toUtf8().constData());
     
    212212{
    213213    /* Make sure field is array: */
    214 //  AssertMsgReturn(field.isArray(), ("Item '%s' has wrong structure!", strFieldName.toUtf8().constData()), QStringList());
    215 
     214    AssertMsgReturn(field.isArray(), ("Item '%s' has wrong structure!", strFieldName.toUtf8().constData()), QStringList());
     215    LogRel(("Field '%s' has wrong structure!", strFieldName.toUtf8().constData()));
    216216    const QJsonArray fieldValueArray = field.toArray();
    217217    QStringList fieldValueStirngList;
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