From 1da69081732c8a429840edaaf10cfb789ea68df8 Mon Sep 17 00:00:00 2001 From: Noel Date: Thu, 28 Jan 2021 11:01:28 +0200 Subject: add string_view variants of methods to O[U]StringBuffer and update the stringview loplugin to detect cases where we can use these new methods. Change-Id: I998efe02e35c8efcb3abfb4d7186165bbe6dfb2c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110046 Tested-by: Jenkins Reviewed-by: Noel Grandin --- extensions/source/propctrlr/browserline.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extensions/source') diff --git a/extensions/source/propctrlr/browserline.cxx b/extensions/source/propctrlr/browserline.cxx index 5f185c594243..8618ecffc8fe 100644 --- a/extensions/source/propctrlr/browserline.cxx +++ b/extensions/source/propctrlr/browserline.cxx @@ -188,7 +188,7 @@ namespace pcr if (AllSettings::GetLayoutRTL()) { sal_Unicode const cRTL_mark = 0x200F; - aText.append( OUString(cRTL_mark) ); + aText.append( cRTL_mark ); } m_xFtTitle->set_label(aText.makeStringAndClear()); -- cgit