summaryrefslogtreecommitdiff
path: root/accessibility/source/extended/accessibleiconchoicectrlentry.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-04-11 14:37:24 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-04-12 13:06:26 +0200
commitd028c1be17c484fef8617490b46c66100b0e25bc (patch)
tree672ecc470737039f36558166112e3287a08e83bd /accessibility/source/extended/accessibleiconchoicectrlentry.cxx
parent11e381c527ebd440e4d64d19a5bc27bdc9ea70fc (diff)
loplugin:sequentialassign in accessiblity..canvas
Change-Id: I984717138ac85c1af5fc363fda06f5c2b5497965 Reviewed-on: https://gerrit.libreoffice.org/70641 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'accessibility/source/extended/accessibleiconchoicectrlentry.cxx')
-rw-r--r--accessibility/source/extended/accessibleiconchoicectrlentry.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/accessibility/source/extended/accessibleiconchoicectrlentry.cxx b/accessibility/source/extended/accessibleiconchoicectrlentry.cxx
index 14bbbb7a2b35..2c891f0c4816 100644
--- a/accessibility/source/extended/accessibleiconchoicectrlentry.cxx
+++ b/accessibility/source/extended/accessibleiconchoicectrlentry.cxx
@@ -186,10 +186,7 @@ namespace accessibility
Locale AccessibleIconChoiceCtrlEntry::implGetLocale()
{
- Locale aLocale;
- aLocale = Application::GetSettings().GetUILanguageTag().getLocale();
-
- return aLocale;
+ return Application::GetSettings().GetUILanguageTag().getLocale();
}
void AccessibleIconChoiceCtrlEntry::implGetSelection( sal_Int32& nStartIndex, sal_Int32& nEndIndex )
{