basic : use more OUString literals in basic comp

Change-Id: Ib67bee7e4ba85602be266bb7acc23c52251548b4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177611
Tested-by: Jenkins
Reviewed-by: Arnaud Versini <arnaud.versini@pm.me>
This commit is contained in:
Arnaud VERSINI
2024-12-01 15:52:21 +01:00
committed by Arnaud Versini
parent d9c964d809
commit 9fddd34834
2 changed files with 5 additions and 5 deletions

View File

@@ -82,7 +82,7 @@ void SbiBuffer::Chain( sal_uInt32 off )
if ((i + sizeof(sal_uInt32)) > GetSize())
{
m_aErrCode = ERRCODE_BASIC_INTERNAL_ERROR;
m_sErrMsg = "BACKCHAIN";
m_sErrMsg = u"BACKCHAIN"_ustr;
break;
}
auto ip = m_aBuf.begin() + i;

View File

@@ -274,13 +274,13 @@ const OUString& SbiTokenizer::Symbol( SbiToken t )
switch( t )
{
case NEG :
aSym = "-";
aSym = u"-"_ustr;
return aSym;
case EOS :
aSym = ":/CRLF";
aSym = u":/CRLF"_ustr;
return aSym;
case EOLN :
aSym = "CRLF";
aSym = u"CRLF"_ustr;
return aSym;
default:
break;
@@ -296,7 +296,7 @@ const OUString& SbiTokenizer::Symbol( SbiToken t )
const sal_Unicode *p = aSym.getStr();
if (*p <= ' ')
{
aSym = "???";
aSym = u"???"_ustr;
}
return aSym;
}