summaryrefslogtreecommitdiff
path: root/sw/inc/swscanner.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-10-01 09:08:12 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-10-03 11:56:43 +0200
commit4969f4c0d3e2581aaa8a5b5a5769840fa6b6f8ea (patch)
treeeb42ab5be5d8c5ca3d23b686a8781c28822381b4 /sw/inc/swscanner.hxx
parentd5cc52fec12e3c8d1c3561f172d3e1c5434290b3 (diff)
loplugin:constfields in sw
Change-Id: I1eb6583bb9ec815bc0564b0d7c676f5b1fb9045f Reviewed-on: https://gerrit.libreoffice.org/61177 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc/swscanner.hxx')
-rw-r--r--sw/inc/swscanner.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/inc/swscanner.hxx b/sw/inc/swscanner.hxx
index de273d679b8b..05115ed10b27 100644
--- a/sw/inc/swscanner.hxx
+++ b/sw/inc/swscanner.hxx
@@ -31,7 +31,7 @@ class SwTextNode;
// during spell check
class SwScanner
{
- std::function<LanguageType (sal_Int32, sal_Int32, bool)> m_pGetLangOfChar;
+ std::function<LanguageType (sal_Int32, sal_Int32, bool)> const m_pGetLangOfChar;
OUString m_aWord;
const OUString m_aPreDashReplacementText;
OUString m_aText;
@@ -43,8 +43,8 @@ class SwScanner
sal_Int32 m_nLength;
sal_Int32 m_nOverriddenDashCount;
LanguageType m_aCurrentLang;
- sal_uInt16 m_nWordType;
- bool m_bClip;
+ sal_uInt16 const m_nWordType;
+ bool const m_bClip;
public:
SwScanner(const std::function<LanguageType(sal_Int32, sal_Int32, bool)>& pGetLangOfChar,