Changeset 23911 in vbox
- Timestamp:
- Oct 20, 2009 3:56:43 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 53713
- Location:
- trunk/src/VBox/Main
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/MachineImpl.cpp
r23909 r23911 2743 2743 2744 2744 /* start with nothing found */ 2745 Utf8Str strResult;2745 Bstr bstrResult(""); 2746 2746 2747 2747 AutoReadLock alock (this); … … 2750 2750 if (it != mData->m_pMachineConfigFile->mapExtraDataItems.end()) 2751 2751 // found: 2752 strResult = it->second;2752 bstrResult = it->second; // source is a Utf8Str 2753 2753 2754 2754 /* return the result to caller (may be empty) */ 2755 strResult.cloneTo(aValue);2755 bstrResult.cloneTo(aValue); 2756 2756 2757 2757 return S_OK; -
trunk/src/VBox/Main/VirtualBoxImpl.cpp
r23909 r23911 1607 1607 1608 1608 /* start with nothing found */ 1609 Utf8Str strResult;1609 Bstr bstrResult(""); 1610 1610 1611 1611 settings::ExtraDataItemsMap::const_iterator it = m->pMainConfigFile->mapExtraDataItems.find(Utf8Str(aKey)); 1612 1612 if (it != m->pMainConfigFile->mapExtraDataItems.end()) 1613 1613 // found: 1614 strResult = it->second;1614 bstrResult = it->second; // source is a Utf8Str 1615 1615 1616 1616 /* return the result to caller (may be empty) */ 1617 strResult.cloneTo(aValue);1617 bstrResult.cloneTo(aValue); 1618 1618 1619 1619 return S_OK;
Note:
See TracChangeset
for help on using the changeset viewer.