summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2023-12-06 13:42:50 +0100
committerStephan Bergmann <stephan.bergmann@allotropia.de>2023-12-06 16:38:22 +0100
commit8b5bb37cc4116f74c2f533453936eb8cb84d9fc5 (patch)
tree4cbcd7114c72cd7d577753ce1aa0a8fc0f8ffc30
parent9e8df5bfe804943a8662b52ff2afed936b79657d (diff)
loplugin:ostr (macOS)
Change-Id: I85ecdf188dc394d6175a2dd7338147a057fa7766 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160392 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
-rw-r--r--sal/osl/unx/nlsupport.cxx2
1 files changed, 1 insertions, 1 deletions
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 */