Changeset 103415 in vbox for trunk/src/VBox/Main/glue
- Timestamp:
- Feb 19, 2024 7:52:27 AM (10 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/glue/string.cpp
r98297 r103415 606 606 size_t cwcSrc; 607 607 int vrc = RTStrCalcUtf16LenEx(pszSrc, cchSrc, &cwcSrc); 608 AssertRC Stmt(vrc, E_INVALIDARG);608 AssertRCReturn(vrc, E_INVALIDARG); 609 609 610 610 size_t cwcOld = length(); … … 616 616 PRTUTF16 pwszDst = &m_bstr[cwcOld]; 617 617 vrc = RTStrToUtf16Ex(pszSrc, cchSrc, &pwszDst, cwcSrc + 1, NULL); 618 AssertRC Stmt(vrc, E_INVALIDARG);618 AssertRCReturn(vrc, E_INVALIDARG); 619 619 } 620 620 m_bstr[cwcTotal] = '\0';
Note:
See TracChangeset
for help on using the changeset viewer.