diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-04-20 09:51:16 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-04-20 13:34:43 +0200 |
commit | b08a2b299418db84a71fe625f127f0484746010e (patch) | |
tree | 544ad8a8c1d6c9b12f27f1771fe27ab8714ab4d4 /basic/source | |
parent | bff2b8bf2b0ae47f6e59639db0544212398363ac (diff) |
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 <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basic/source')
-rw-r--r-- | basic/source/classes/sbunoobj.cxx | 2 | ||||
-rw-r--r-- | basic/source/comp/buffer.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
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; |