VirtualBox

Changeset 50472 in vbox for trunk/src/VBox/Main/src-server


Ignore:
Timestamp:
Feb 14, 2014 6:58:53 PM (11 years ago)
Author:
vboxsync
Message:

6813 - formatting changes as needed - HostImpl.cpp USBDeviceFilterImpl.cpp MediumImpl.cpp

Location:
trunk/src/VBox/Main/src-server
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/HostImpl.cpp

    r50355 r50472  
    14911491        rc = medium.queryInterfaceTo(aDrive.asOutParam());
    14921492    else
    1493         rc = setError(rc, Medium::tr("The host DVD drive named '%ls' could not be found"), Bstr(aName).raw());
     1493        rc = setError(rc, Medium::tr("The host DVD drive named '%s' could not be found"), aName.c_str());
    14941494    return rc;
    14951495}
     
    15051505        return medium.queryInterfaceTo(aDrive.asOutParam());
    15061506    else
    1507         return setError(rc, Medium::tr("The host floppy drive named '%ls' could not be found"), Bstr(aName).raw());
     1507        return setError(rc, Medium::tr("The host floppy drive named '%s' could not be found"), aName.c_str());
    15081508}
    15091509
     
    16391639
    16401640    return setErrorNoLog(VBOX_E_OBJECT_NOT_FOUND,
    1641                          tr("Could not find a USB device with address '%ls'"),
    1642                          Bstr(aName).raw());
     1641                         tr("Could not find a USB device with address '%s'"),
     1642                         aName.c_str());
    16431643
    16441644#else   /* !VBOX_WITH_USB */
  • trunk/src/VBox/Main/src-server/MediumImpl.cpp

    r50355 r50472  
    21692169        if (!aName.startsWith("Special/"))
    21702170            return setError(VBOX_E_OBJECT_NOT_FOUND,
    2171                             tr("Property '%ls' does not exist"), Bstr(aName).raw());
     2171                            tr("Property '%s' does not exist"), aName.c_str());
    21722172        else
    21732173            /* be more silent here */
  • trunk/src/VBox/Main/src-server/USBDeviceFilterImpl.cpp

    r49961 r50472  
    609609        if (!flt.isValid())
    610610            return setError(E_INVALIDARG,
    611                             tr("Remote state filter string '%ls' is not valid (error at position %d)"),
    612                             bRemote.raw(), flt.errorPosition() + 1);
     611                            tr("Remote state filter string '%s' is not valid (error at position %d)"),
     612                            aRemote.c_str(), flt.errorPosition() + 1);
    613613
    614614        m_fModified = true;
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