Changeset 26186 in vbox for trunk/src/VBox/Main/USBControllerImpl.cpp
- Timestamp:
- Feb 3, 2010 1:07:12 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/USBControllerImpl.cpp
r26171 r26186 560 560 561 561 if (!m->llDeviceFilters->size()) 562 return setError 563 tr("The USB device filter list is empty"));562 return setError(E_INVALIDARG, 563 tr("The USB device filter list is empty")); 564 564 565 565 if (aPosition >= m->llDeviceFilters->size()) 566 return setError 567 tr("Invalid position: %lu (must be in range [0, %lu])"),568 aPosition, m->llDeviceFilters->size() - 1);566 return setError(E_INVALIDARG, 567 tr("Invalid position: %lu (must be in range [0, %lu])"), 568 aPosition, m->llDeviceFilters->size() - 1); 569 569 570 570 /* backup the list before modification */
Note:
See TracChangeset
for help on using the changeset viewer.