summaryrefslogtreecommitdiff
path: root/sw/source/core/inc/wrong.hxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2018-02-26 09:11:44 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2018-02-27 09:09:18 +0100
commit78233e47d07d89d656ef75b534272f71ea540572 (patch)
tree50d4b8e0fd18d184f71704b908812ac1a3da36d7 /sw/source/core/inc/wrong.hxx
parent63a342ec65f702bfe27de0f0343f75198e6103dc (diff)
sw: prefix members of SwScriptField, SwTemplNameField and SwWrongList
Change-Id: Ia82df7c6c8260c90f76d77355b70b8589978b9c2 Reviewed-on: https://gerrit.libreoffice.org/50341 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'sw/source/core/inc/wrong.hxx')
-rw-r--r--sw/source/core/inc/wrong.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/core/inc/wrong.hxx b/sw/source/core/inc/wrong.hxx
index 54eb27e68022..fc44c6db8ead 100644
--- a/sw/source/core/inc/wrong.hxx
+++ b/sw/source/core/inc/wrong.hxx
@@ -181,8 +181,8 @@ class SwWrongList
std::vector<SwWrongArea> maList;
WrongListType meType;
- sal_Int32 nBeginInvalid; // Start of the invalid range
- sal_Int32 nEndInvalid; // End of the invalid range
+ sal_Int32 mnBeginInvalid; // Start of the invalid range
+ sal_Int32 mnEndInvalid; // End of the invalid range
static void ShiftLeft( sal_Int32 &rPos, sal_Int32 nStart, sal_Int32 nEnd )
{ if( rPos > nStart ) rPos = rPos > nEnd ? rPos - nEnd + nStart : nStart; }
@@ -202,10 +202,10 @@ public:
virtual void CopyFrom( const SwWrongList& rCopy );
WrongListType GetWrongListType() const { return meType; }
- sal_Int32 GetBeginInv() const { return nBeginInvalid; }
- sal_Int32 GetEndInv() const { return nEndInvalid; }
+ sal_Int32 GetBeginInv() const { return mnBeginInvalid; }
+ sal_Int32 GetEndInv() const { return mnEndInvalid; }
void SetInvalid( sal_Int32 nBegin, sal_Int32 nEnd );
- void Validate(){ nBeginInvalid = nEndInvalid = COMPLETE_STRING; }
+ void Validate(){ mnBeginInvalid = mnEndInvalid = COMPLETE_STRING; }
void Invalidate( sal_Int32 nBegin, sal_Int32 nEnd );
bool InvalidateWrong();
enum class FreshState { FRESH, CURSOR, NOTHING };