diff options
author | Noel <noelgrandin@gmail.com> | 2020-10-02 09:36:56 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-10-02 11:21:44 +0200 |
commit | eac4526f07bdf3cce70d84fb6e3d7896e7cae61b (patch) | |
tree | afea1fa35f749d1645a47cf0d8efb264fafd2932 /framework/source/uielement/statusbarmanager.cxx | |
parent | 4c5ffaf2ae8cd08a6d24bf674d203659e59f049f (diff) |
loplugin:reducevarscope in framework
Change-Id: I79237d68d815f9b46277a496a05b596f58b4028b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103813
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'framework/source/uielement/statusbarmanager.cxx')
-rw-r--r-- | framework/source/uielement/statusbarmanager.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/source/uielement/statusbarmanager.cxx b/framework/source/uielement/statusbarmanager.cxx index f49716bc146e..6c417903b807 100644 --- a/framework/source/uielement/statusbarmanager.cxx +++ b/framework/source/uielement/statusbarmanager.cxx @@ -457,7 +457,7 @@ void StatusBarManager::FillStatusBar( const uno::Reference< container::XIndexAcc } // Statusbar Merging - const sal_uInt16 STATUSBAR_ITEM_STARTID = 1000; + constexpr sal_uInt16 STATUSBAR_ITEM_STARTID = 1000; MergeStatusbarInstructionContainer aMergeInstructions = AddonsOptions().GetMergeStatusbarInstructions(); if ( !aMergeInstructions.empty() ) { |