Changeset 49730 in vbox
- Timestamp:
- Nov 29, 2013 2:24:18 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/SerialPortImpl.cpp
r49644 r49730 400 400 AutoWriteLock alock(this COMMA_LOCKVAL_SRC_POS); 401 401 402 com::Utf8Str strPath = aPath; 403 404 /* we treat empty as null when e.g. saving to XML, do the same here */ 405 if (!strPath.isEmpty()) 406 strPath = ""; 407 408 if (strPath != m->bd->strPath) 409 { 410 HRESULT rc = i_checkSetPath(strPath); 402 if (aPath != m->bd->strPath) 403 { 404 HRESULT rc = i_checkSetPath(aPath); 411 405 if (FAILED(rc)) return rc; 412 406 413 407 m->bd.backup(); 414 m->bd->strPath = strPath;408 m->bd->strPath = aPath; 415 409 416 410 m->fModified = true;
Note:
See TracChangeset
for help on using the changeset viewer.