From ec1c4c49301758c54394f9943252e192ad54638b Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 22 Nov 2021 14:08:27 +0200 Subject: O[U]String::replaceAt overloads that take string_view which results in lots of nice string_view improvements picked up by the plugins Change-Id: Ib0ec3887816b3d4436d003b739d9814f83e244b2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125657 Tested-by: Jenkins Reviewed-by: Noel Grandin --- ucb/source/ucp/hierarchy/hierarchyuri.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ucb') diff --git a/ucb/source/ucp/hierarchy/hierarchyuri.cxx b/ucb/source/ucp/hierarchy/hierarchyuri.cxx index 90aab6235ef1..618a640229c5 100644 --- a/ucb/source/ucp/hierarchy/hierarchyuri.cxx +++ b/ucb/source/ucp/hierarchy/hierarchyuri.cxx @@ -92,7 +92,7 @@ void HierarchyUri::init() const m_aUri = m_aUri.replaceAt( HIERARCHY_URL_SCHEME.getLength() + 2, 0, - "/" + DEFAULT_DATA_SOURCE_SERVICE + "/" ); + rtl::OUStringConcatenation("/" + DEFAULT_DATA_SOURCE_SERVICE + "/") ); m_aService = DEFAULT_DATA_SOURCE_SERVICE; nPos -- cgit