Simplify a bit
Change-Id: I62306fe572717c807b68b8329e9c5b04c9935583 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/186158 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
This commit is contained in:
@@ -1669,7 +1669,7 @@ public:
|
||||
assert(count >= 0);
|
||||
assert(beginIndex <= getLength());
|
||||
assert(count <= getLength() - beginIndex);
|
||||
return std::u16string_view(pData->buffer, sal_uInt32(pData->length)).substr(beginIndex, count);
|
||||
return std::u16string_view(*this).substr(beginIndex, count);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user