diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-20 11:16:20 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-20 13:05:02 +0200 |
commit | ff6e8c73adef7c86db12287948025954a4fc7746 (patch) | |
tree | ebd53edfbd8e6349b0dab9a92cedb9968a2454c9 /sd/source/ui/presenter | |
parent | b2423a480785db6f4883d6314690b22b69d55c22 (diff) |
loplugin:constvars in sccomp..sd
Change-Id: Ic4b2a1d23da80a5b0976692f490c29a7169be3ef
Reviewed-on: https://gerrit.libreoffice.org/77793
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/source/ui/presenter')
-rw-r--r-- | sd/source/ui/presenter/PresenterTextView.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/presenter/PresenterTextView.cxx b/sd/source/ui/presenter/PresenterTextView.cxx index 0ebdd603ae28..8e2edc8d9326 100644 --- a/sd/source/ui/presenter/PresenterTextView.cxx +++ b/sd/source/ui/presenter/PresenterTextView.cxx @@ -247,7 +247,7 @@ PresenterTextView::Implementation::Implementation() aTable[1].nLang = MsLangId::resolveSystemLanguageByScriptType(aOpt.nDefaultLanguage_CJK, css::i18n::ScriptType::ASIAN); aTable[2].nLang = MsLangId::resolveSystemLanguageByScriptType(aOpt.nDefaultLanguage_CTL, css::i18n::ScriptType::COMPLEX); - for (FontDta & rFntDta : aTable) + for (const FontDta & rFntDta : aTable) { LanguageType nLang = (LANGUAGE_NONE == rFntDta.nLang) ? rFntDta.nFallbackLang : rFntDta.nLang; |