summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2017-11-06 09:23:07 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2017-11-06 11:36:40 +0100
commite6603e8ebd79a768c1b12ce9eb941aa1866cc32f (patch)
treeb3936a2c74329c3ecfedd47e21e2098428ddb236 /sw/inc
parentb22ddf60d5c42f39b39214134e819c582b58ad3d (diff)
sw: prefix members of SwScanner
Change-Id: I441876e73793e07d78f1eadb2b21c282845298c3 Reviewed-on: https://gerrit.libreoffice.org/44345 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/swscanner.hxx38
1 files changed, 19 insertions, 19 deletions
diff --git a/sw/inc/swscanner.hxx b/sw/inc/swscanner.hxx
index a06f13fe7666..86f48bb18807 100644
--- a/sw/inc/swscanner.hxx
+++ b/sw/inc/swscanner.hxx
@@ -29,20 +29,20 @@ class SwTextNode;
// during spell check
class SwScanner
{
- OUString aWord;
- const SwTextNode& rNode;
- const OUString aPreDashReplacementText;
- OUString aText;
- const LanguageType* pLanguage;
+ OUString m_aWord;
+ const SwTextNode& m_rNode;
+ const OUString m_aPreDashReplacementText;
+ OUString m_aText;
+ const LanguageType* m_pLanguage;
const ModelToViewHelper m_ModelToView;
- sal_Int32 nStartPos;
- sal_Int32 nEndPos;
- sal_Int32 nBegin;
- sal_Int32 nLen;
- sal_Int32 nOverriddenDashCount;
- LanguageType aCurrLang;
- sal_uInt16 nWordType;
- bool bClip;
+ sal_Int32 m_nStartPos;
+ sal_Int32 m_nEndPos;
+ sal_Int32 m_nBegin;
+ sal_Int32 m_nLength;
+ sal_Int32 m_nOverriddenDashCount;
+ LanguageType m_aCurrentLang;
+ sal_uInt16 m_nWordType;
+ bool m_bClip;
public:
SwScanner( const SwTextNode& rNd, const OUString& rText,
@@ -56,15 +56,15 @@ public:
// ! bReverse
bool NextWord();
- const OUString& GetWord() const { return aWord; }
+ const OUString& GetWord() const { return m_aWord; }
- sal_Int32 GetBegin() const { return nBegin; }
- sal_Int32 GetEnd() const { return nBegin + nLen; }
- sal_Int32 GetLen() const { return nLen; }
+ sal_Int32 GetBegin() const { return m_nBegin; }
+ sal_Int32 GetEnd() const { return m_nBegin + m_nLength; }
+ sal_Int32 GetLen() const { return m_nLength; }
- LanguageType GetCurrentLanguage() const {return aCurrLang;}
+ LanguageType GetCurrentLanguage() const {return m_aCurrentLang;}
- sal_Int32 getOverriddenDashCount() const {return nOverriddenDashCount; }
+ sal_Int32 getOverriddenDashCount() const {return m_nOverriddenDashCount; }
};
#endif