diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-08-16 12:56:33 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-08-16 19:59:53 +0200 |
commit | 766b95d58299a1f2eb0d05d67e3afbf95bd9334d (patch) | |
tree | 92da0c781df4243d5267ce9e134607f878f50789 /desktop | |
parent | 33d588ab553652637e90ecd543c1ffa6301c762b (diff) |
remove unnecessary capture
Change-Id: Ib6f4b62601c68d04269eba66f3f68a7a62022aeb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120537
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/deployment/misc/dp_resource.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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. |