basic/source/basmgr/basicmanagerrepository.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 086e5347dcf71bab57c66afd23218ac08623b7ed Author: Noel Grandin <noel.gran...@collabora.co.uk> AuthorDate: Mon May 23 17:18:11 2022 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Tue May 24 08:07:31 2022 +0200 elide OUString allocation Change-Id: I92d487b657c7d67a4301a499ba05b4b285cfed3a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134837 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/basic/source/basmgr/basicmanagerrepository.cxx b/basic/source/basmgr/basicmanagerrepository.cxx index 0b34621bfcb8..aed39f9f2924 100644 --- a/basic/source/basmgr/basicmanagerrepository.cxx +++ b/basic/source/basmgr/basicmanagerrepository.cxx @@ -382,7 +382,7 @@ namespace basic try { // ensure there's a standard library in the basic container - OUString aStdLibName( "Standard" ); + static constexpr OUStringLiteral aStdLibName( u"Standard" ); if ( !_rxBasicLibraries->hasByName( aStdLibName ) ) { _rxBasicLibraries->createLibrary( aStdLibName );