Changeset 85314 in vbox
- Timestamp:
- Jul 13, 2020 5:24:18 PM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 139292
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/com/string.h
r85308 r85314 1284 1284 * @returns S_OK or E_OUTOFMEMORY (COM status codes). 1285 1285 */ 1286 HRESULT cloneToEx(BSTR *pbstr) const 1287 { 1288 if (!pbstr) 1289 return S_OK; 1290 Bstr bstr(*this); 1291 return bstr.detachToEx(pbstr); 1292 } 1286 HRESULT cloneToEx(BSTR *pbstr) const RT_NOEXCEPT; 1293 1287 1294 1288 /** -
trunk/src/VBox/Main/glue/string.cpp
r85306 r85314 730 730 } 731 731 #endif 732 733 HRESULT Utf8Str::cloneToEx(BSTR *pbstr) const RT_NOEXCEPT 734 { 735 if (!pbstr) 736 return S_OK; 737 Bstr bstr; 738 HRESULT hrc = bstr.assignEx(*this); 739 if (SUCCEEDED(hrc)) 740 hrc = bstr.detachToEx(pbstr); 741 return hrc; 742 } 732 743 733 744 Utf8Str& Utf8Str::stripTrailingSlash()
Note:
See TracChangeset
for help on using the changeset viewer.