sw/source/core/unocore/unosett.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 289327e5abe1b5e94517c7f58ef965079fe37281 Author: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org> AuthorDate: Thu Apr 24 15:51:10 2025 +0300 Commit: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org> CommitDate: Thu Apr 24 16:27:03 2025 +0200 Simplify concatenation of literals and OUStrings Change-Id: I34457a119484adeedee84b722215cfe000a220be Reviewed-on: https://gerrit.libreoffice.org/c/core/+/184557 Tested-by: Jenkins Tested-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org> Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org> diff --git a/sw/source/core/unocore/unosett.cxx b/sw/source/core/unocore/unosett.cxx index b007e6558d47..d743d23cb02b 100644 --- a/sw/source/core/unocore/unosett.cxx +++ b/sw/source/core/unocore/unosett.cxx @@ -2208,7 +2208,7 @@ void SwXNumberingRules::setPropertyValue( const OUString& rPropertyName, const A } if(!m_pNumRule && !pDocRule && !pCreatedRule) - throw RuntimeException(u"Could not set numbering rule property \'"_ustr + rPropertyName + u"\'."_ustr); + throw RuntimeException("Could not set numbering rule property \'" + rPropertyName + "\'."); if(rPropertyName == UNO_NAME_IS_AUTOMATIC) { @@ -2267,7 +2267,7 @@ Any SwXNumberingRules::getPropertyValue( const OUString& rPropertyName ) else if(m_pDoc && !m_sCreatedNumRuleName.isEmpty()) pRule = m_pDoc->FindNumRulePtr( m_sCreatedNumRuleName ); if(!pRule) - throw RuntimeException(u"Could not get numbering rule property \'"_ustr + rPropertyName + u"\'."_ustr); + throw RuntimeException("Could not get numbering rule property \'" + rPropertyName + "\'."); if(rPropertyName == UNO_NAME_IS_AUTOMATIC) {