VirtualBox

Changeset 49961 in vbox


Ignore:
Timestamp:
Dec 17, 2013 5:42:51 PM (11 years ago)
Author:
vboxsync
Message:

USBDeviceFilterImpl: cleanup

File:
1 edited

Legend:

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

    r49951 r49961  
    522522HRESULT USBDeviceFilter::setVendorId(const com::Utf8Str &aVendorId)
    523523{
    524     return i_usbFilterFieldSetter(USBFILTERIDX_VENDOR_ID, Bstr(aVendorId).raw());
     524    return i_usbFilterFieldSetter(USBFILTERIDX_VENDOR_ID, aVendorId);
    525525}
    526526
     
    542542HRESULT USBDeviceFilter::setRevision(const com::Utf8Str &aRevision)
    543543{
    544     return i_usbFilterFieldSetter(USBFILTERIDX_DEVICE, Bstr(aRevision).raw());
     544    return i_usbFilterFieldSetter(USBFILTERIDX_DEVICE, aRevision);
    545545}
    546546
     
    552552HRESULT USBDeviceFilter::setManufacturer(const com::Utf8Str &aManufacturer)
    553553{
    554     return i_usbFilterFieldSetter(USBFILTERIDX_MANUFACTURER_STR, Bstr(aManufacturer).raw());
     554    return i_usbFilterFieldSetter(USBFILTERIDX_MANUFACTURER_STR, aManufacturer);
    555555}
    556556
     
    562562HRESULT USBDeviceFilter::setProduct(const com::Utf8Str &aProduct)
    563563{
    564     return i_usbFilterFieldSetter(USBFILTERIDX_PRODUCT_STR, Bstr(aProduct).raw());
     564    return i_usbFilterFieldSetter(USBFILTERIDX_PRODUCT_STR, aProduct);
    565565}
    566566
     
    572572HRESULT USBDeviceFilter::setSerialNumber(const com::Utf8Str &aSerialNumber)
    573573{
    574     return i_usbFilterFieldSetter(USBFILTERIDX_SERIAL_NUMBER_STR,  Bstr(aSerialNumber).raw());
     574    return i_usbFilterFieldSetter(USBFILTERIDX_SERIAL_NUMBER_STR, aSerialNumber);
    575575}
    576576
     
    582582HRESULT USBDeviceFilter::setPort(const com::Utf8Str &aPort)
    583583{
    584     return i_usbFilterFieldSetter(USBFILTERIDX_PORT, Bstr(aPort).raw());
     584    return i_usbFilterFieldSetter(USBFILTERIDX_PORT, aPort);
    585585}
    586586
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