summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-05-23 17:18:11 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-05-24 08:07:31 +0200
commit086e5347dcf71bab57c66afd23218ac08623b7ed (patch)
tree69ed1cb863e3dc0f5b02f00adf80ea12869a6717 /basic
parent967fa3b5e50968237d1734a158c209f47cf36295 (diff)
elide OUString allocation
Change-Id: I92d487b657c7d67a4301a499ba05b4b285cfed3a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134837 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basic')
-rw-r--r--basic/source/basmgr/basicmanagerrepository.cxx2
1 files changed, 1 insertions, 1 deletions
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 );