Changeset 49961 in vbox
- Timestamp:
- Dec 17, 2013 5:42:51 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/USBDeviceFilterImpl.cpp
r49951 r49961 522 522 HRESULT USBDeviceFilter::setVendorId(const com::Utf8Str &aVendorId) 523 523 { 524 return i_usbFilterFieldSetter(USBFILTERIDX_VENDOR_ID, Bstr(aVendorId).raw());524 return i_usbFilterFieldSetter(USBFILTERIDX_VENDOR_ID, aVendorId); 525 525 } 526 526 … … 542 542 HRESULT USBDeviceFilter::setRevision(const com::Utf8Str &aRevision) 543 543 { 544 return i_usbFilterFieldSetter(USBFILTERIDX_DEVICE, Bstr(aRevision).raw());544 return i_usbFilterFieldSetter(USBFILTERIDX_DEVICE, aRevision); 545 545 } 546 546 … … 552 552 HRESULT USBDeviceFilter::setManufacturer(const com::Utf8Str &aManufacturer) 553 553 { 554 return i_usbFilterFieldSetter(USBFILTERIDX_MANUFACTURER_STR, Bstr(aManufacturer).raw());554 return i_usbFilterFieldSetter(USBFILTERIDX_MANUFACTURER_STR, aManufacturer); 555 555 } 556 556 … … 562 562 HRESULT USBDeviceFilter::setProduct(const com::Utf8Str &aProduct) 563 563 { 564 return i_usbFilterFieldSetter(USBFILTERIDX_PRODUCT_STR, Bstr(aProduct).raw());564 return i_usbFilterFieldSetter(USBFILTERIDX_PRODUCT_STR, aProduct); 565 565 } 566 566 … … 572 572 HRESULT USBDeviceFilter::setSerialNumber(const com::Utf8Str &aSerialNumber) 573 573 { 574 return i_usbFilterFieldSetter(USBFILTERIDX_SERIAL_NUMBER_STR, Bstr(aSerialNumber).raw());574 return i_usbFilterFieldSetter(USBFILTERIDX_SERIAL_NUMBER_STR, aSerialNumber); 575 575 } 576 576 … … 582 582 HRESULT USBDeviceFilter::setPort(const com::Utf8Str &aPort) 583 583 { 584 return i_usbFilterFieldSetter(USBFILTERIDX_PORT, Bstr(aPort).raw());584 return i_usbFilterFieldSetter(USBFILTERIDX_PORT, aPort); 585 585 } 586 586
Note:
See TracChangeset
for help on using the changeset viewer.