sal/osl/unx/nlsupport.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 8b5bb37cc4116f74c2f533453936eb8cb84d9fc5
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Wed Dec 6 13:42:50 2023 +0100
Commit:     Stephan Bergmann <stephan.bergm...@allotropia.de>
CommitDate: Wed Dec 6 16:38:22 2023 +0100

    loplugin:ostr (macOS)
    
    Change-Id: I85ecdf188dc394d6175a2dd7338147a057fa7766
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160392
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <stephan.bergm...@allotropia.de>

diff --git a/sal/osl/unx/nlsupport.cxx b/sal/osl/unx/nlsupport.cxx
index 4cd02fe0e594..7ba961968ab7 100644
--- a/sal/osl/unx/nlsupport.cxx
+++ b/sal/osl/unx/nlsupport.cxx
@@ -827,7 +827,7 @@ void imp_getProcessLocale( rtl_Locale ** ppLocale )
             locale = getenv( "LANG" );
 
         if( locale.isEmpty() )
-            locale = "C";
+            locale = "C"_ostr;
     }
 
     /* return the locale */

Reply via email to