- Timestamp:
- Sep 16, 2009 11:57:32 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/NetworkAdapterImpl.cpp
r22866 r23061 415 415 STDMETHODIMP NetworkAdapter::COMSETTER(HostInterface)(IN_BSTR aHostInterface) 416 416 { 417 /** @todo Validate input string length. r=dmik: do it in XML schema?*/ 418 419 /* we don't allow null strings for the host interface (because the @name 420 * attribute of <HostInterface> must be always present but can be empty). */ 421 CheckComArgNotNull (aHostInterface); 417 Bstr bstrEmpty(""); 418 if (!aHostInterface) 419 aHostInterface = bstrEmpty; 422 420 423 421 AutoCaller autoCaller(this);
Note:
See TracChangeset
for help on using the changeset viewer.