diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-07-19 16:28:37 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-07-20 14:12:57 +0200 |
commit | 12dce07aec980562fa449fa1884e0e8379d680fb (patch) | |
tree | 77bfe25b147d33bccd8f3dfc656f533d547ab3ae /include/comphelper/string.hxx | |
parent | fd0348d42568d5f32fb03e1e13055db5938d5f35 (diff) |
loplugin:unusedfields - look for fields that can be const, in comphelper
idea from tml.
Extend the unusedfields plugin to find fields that are only assigned in
the constructor.
Change-Id: I258d3581afbe651d53ce730c9ba27a4598cd9248
Reviewed-on: https://gerrit.libreoffice.org/57733
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/comphelper/string.hxx')
-rw-r--r-- | include/comphelper/string.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/comphelper/string.hxx b/include/comphelper/string.hxx index 7934a6b6d7cf..c3d4ec178e92 100644 --- a/include/comphelper/string.hxx +++ b/include/comphelper/string.hxx @@ -339,7 +339,7 @@ COMPHELPER_DLLPUBLIC sal_Int32 compareNatural( const OUString &rLHS, const OUStr class COMPHELPER_DLLPUBLIC NaturalStringSorter { private: - css::lang::Locale m_aLocale; + css::lang::Locale const m_aLocale; css::uno::Reference< css::i18n::XCollator > m_xCollator; css::uno::Reference< css::i18n::XBreakIterator > m_xBI; public: |