summaryrefslogtreecommitdiff
path: root/cui/source/dialogs/thesdlg.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-08-19 15:11:27 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-08-19 19:28:11 +0200
commit8efd46ed867b66f9fbc31dbaa1d46bc91ea29ae2 (patch)
treeeafc8ade307c5fe797fdddddfa6d9dc39c935b8a /cui/source/dialogs/thesdlg.cxx
parent9c10e29287740f473fa4f33ac6188b8c8543bfbb (diff)
loplugin:constvars in cppuhelper..desktop
Change-Id: Iaf42114ab98875c4bc1545684f1893540b998ef2 Reviewed-on: https://gerrit.libreoffice.org/77723 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui/source/dialogs/thesdlg.cxx')
-rw-r--r--cui/source/dialogs/thesdlg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/dialogs/thesdlg.cxx b/cui/source/dialogs/thesdlg.cxx
index 2a5f73c43175..1ed20384016c 100644
--- a/cui/source/dialogs/thesdlg.cxx
+++ b/cui/source/dialogs/thesdlg.cxx
@@ -294,7 +294,7 @@ SvxThesaurusDialog::SvxThesaurusDialog(
}
std::sort( aLangVec.begin(), aLangVec.end() );
m_xLangLB->freeze();
- for (OUString & i : aLangVec)
+ for (const OUString & i : aLangVec)
m_xLangLB->append_text(i);
m_xLangLB->thaw();