Changeset 49806 in vbox for trunk/src/VBox/Main/src-server
- Timestamp:
- Dec 6, 2013 9:26:54 AM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 91138
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/SerialPortImpl.cpp
r49795 r49806 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.