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 --- extensions/source/bibliography/bibconfig.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'extensions') diff --git a/extensions/source/bibliography/bibconfig.cxx b/extensions/source/bibliography/bibconfig.cxx index f5a68212922d..fcfaf5608293 100644 --- a/extensions/source/bibliography/bibconfig.cxx +++ b/extensions/source/bibliography/bibconfig.cxx @@ -123,7 +123,7 @@ BibConfig::BibConfig() Sequence aHistoryNames(3); OUString* pHistoryNames = aHistoryNames.getArray(); - OUString sPrefix = OUStringLiteral(cDataSourceHistory) + "/" + nodeName + "/"; + OUString sPrefix = OUString::Concat(cDataSourceHistory) + "/" + nodeName + "/"; pHistoryNames[0] = sPrefix + "DataSourceName"; pHistoryNames[1] = sPrefix + "Command"; pHistoryNames[2] = sPrefix + "CommandType"; @@ -215,7 +215,7 @@ void BibConfig::ImplCommit() for(sal_Int32 i = 0; i < static_cast(mvMappings.size()); i++) { const Mapping* pMapping = mvMappings[i].get(); - OUString sPrefix = OUStringLiteral(cDataSourceHistory) + "/_" + OUString::number(i) + "/"; + OUString sPrefix = OUString::Concat(cDataSourceHistory) + "/_" + OUString::number(i) + "/"; pNodeValues[nIndex].Name = sPrefix + "DataSourceName"; pNodeValues[nIndex++].Value <<= pMapping->sURL; pNodeValues[nIndex].Name = sPrefix + "Command"; -- cgit