From b08a2b299418db84a71fe625f127f0484746010e Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 20 Apr 2021 09:51:16 +0200 Subject: use OUString::Concat here, not OUStringLiteral Change-Id: Ia2172bcab60f32c9d9d4f6ca0230484343eef69b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114321 Tested-by: Jenkins Reviewed-by: Noel Grandin --- basic/source/classes/sbunoobj.cxx | 2 +- basic/source/comp/buffer.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'basic') diff --git a/basic/source/classes/sbunoobj.cxx b/basic/source/classes/sbunoobj.cxx index fcd491462528..6b0451b01a1d 100644 --- a/basic/source/classes/sbunoobj.cxx +++ b/basic/source/classes/sbunoobj.cxx @@ -4840,7 +4840,7 @@ void SbUnoStructRefObject::Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) // Id == -1: Display implemented interfaces according the ClassProvider if( nId == -1 ) // Property ID_DBG_SUPPORTEDINTERFACES" { - OUString aRet = OUStringLiteral( ID_DBG_SUPPORTEDINTERFACES ) + OUString aRet = OUString::Concat( ID_DBG_SUPPORTEDINTERFACES ) + " not available.\n(TypeClass is not TypeClass_INTERFACE)\n"; pVar->PutString( aRet ); diff --git a/basic/source/comp/buffer.cxx b/basic/source/comp/buffer.cxx index ca7af7dd4090..07d1d85e53ee 100644 --- a/basic/source/comp/buffer.cxx +++ b/basic/source/comp/buffer.cxx @@ -82,7 +82,7 @@ void SbiBuffer::Chain( sal_uInt32 off ) if ((i + sizeof(sal_uInt32)) > GetSize()) { m_aErrCode = ERRCODE_BASIC_INTERNAL_ERROR; - m_sErrMsg = OUStringLiteral(u"BACKCHAIN"); + m_sErrMsg = "BACKCHAIN"; break; } auto ip = m_aBuf.begin() + i; -- cgit