diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-04-11 14:37:24 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-04-12 13:06:26 +0200 |
commit | d028c1be17c484fef8617490b46c66100b0e25bc (patch) | |
tree | 672ecc470737039f36558166112e3287a08e83bd /accessibility | |
parent | 11e381c527ebd440e4d64d19a5bc27bdc9ea70fc (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')
-rw-r--r-- | accessibility/source/extended/accessibleiconchoicectrlentry.cxx | 5 | ||||
-rw-r--r-- | accessibility/source/extended/accessiblelistboxentry.cxx | 5 |
2 files changed, 2 insertions, 8 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 ) { diff --git a/accessibility/source/extended/accessiblelistboxentry.cxx b/accessibility/source/extended/accessiblelistboxentry.cxx index d093a6a0481b..b3257345a822 100644 --- a/accessibility/source/extended/accessiblelistboxentry.cxx +++ b/accessibility/source/extended/accessiblelistboxentry.cxx @@ -199,10 +199,7 @@ namespace accessibility Locale AccessibleListBoxEntry::implGetLocale() { - Locale aLocale; - aLocale = Application::GetSettings().GetUILanguageTag().getLocale(); - - return aLocale; + return Application::GetSettings().GetUILanguageTag().getLocale(); } void AccessibleListBoxEntry::implGetSelection( sal_Int32& nStartIndex, sal_Int32& nEndIndex ) { |