[Libreoffice-commits] core.git: desktop/source
Noel Grandin (via logerrit)
logerrit at kemper.freedesktop.org
Mon Aug 16 18:00:37 UTC 2021
desktop/source/deployment/misc/dp_resource.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 766b95d58299a1f2eb0d05d67e3afbf95bd9334d
Author: Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Mon Aug 16 12:56:33 2021 +0200
Commit: Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Mon Aug 16 19:59:53 2021 +0200
remove unnecessary capture
Change-Id: Ib6f4b62601c68d04269eba66f3f68a7a62022aeb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120537
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
diff --git a/desktop/source/deployment/misc/dp_resource.cxx b/desktop/source/deployment/misc/dp_resource.cxx
index 028f03ae92db..682c90e52458 100644
--- a/desktop/source/deployment/misc/dp_resource.cxx
+++ b/desktop/source/deployment/misc/dp_resource.cxx
@@ -28,7 +28,7 @@ namespace dp_misc
{
const LanguageTag& getOfficeLanguageTag()
{
- static const LanguageTag OFFICE_LANG = [&]() {
+ static const LanguageTag OFFICE_LANG = []() {
OUString slang(utl::ConfigManager::getUILocale());
//fallback, the locale is currently only set when the user starts the
//office for the first time.
More information about the Libreoffice-commits
mailing list