summaryrefslogtreecommitdiff
path: root/basic/source/runtime/runtime.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basic/source/runtime/runtime.cxx')
-rw-r--r--basic/source/runtime/runtime.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/runtime/runtime.cxx b/basic/source/runtime/runtime.cxx
index 87cef46cffbe..bacd02a2c0e2 100644
--- a/basic/source/runtime/runtime.cxx
+++ b/basic/source/runtime/runtime.cxx
@@ -2091,7 +2091,7 @@ void SbiRuntime::StepRSET()
}
else
{
- aNewStr.append(std::u16string_view(aRefValString).substr(0, nVarStrLen));
+ aNewStr.append(aRefValString.subView(0, nVarStrLen));
}
refVar->PutString(aNewStr.makeStringAndClear());