diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-03-13 23:42:36 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-03-14 00:41:30 +0100 |
commit | 49fe851cdcd8106bb4c4f1038363bec1f58cb5de (patch) | |
tree | 4739eabd1042107a240c098238f08077c42a6f81 /sw/inc/unocrsr.hxx | |
parent | 5f76b2e563bc4d6b82d1241e0a0ab371b968af08 (diff) |
sw: prefix members of SwUnoCrsr, SwUnoTableCrsr
Change-Id: Ie0e8041d6d62176e68c953be39e513c862d01c63
Diffstat (limited to 'sw/inc/unocrsr.hxx')
-rw-r--r-- | sw/inc/unocrsr.hxx | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/sw/inc/unocrsr.hxx b/sw/inc/unocrsr.hxx index aa33f99f83c8..66aa05ab7c5f 100644 --- a/sw/inc/unocrsr.hxx +++ b/sw/inc/unocrsr.hxx @@ -18,14 +18,16 @@ */ #ifndef INCLUDED_SW_INC_UNOCRSR_HXX #define INCLUDED_SW_INC_UNOCRSR_HXX + #include <swcrsr.hxx> #include <calbck.hxx> class SwUnoCrsr : public virtual SwCursor, public SwModify { - bool bRemainInSection : 1; - bool bSkipOverHiddenSections : 1; - bool bSkipOverProtectSections : 1; +private: + bool m_bRemainInSection : 1; + bool m_bSkipOverHiddenSections : 1; + bool m_bSkipOverProtectSections : 1; public: SwUnoCrsr( const SwPosition &rPos, SwPaM* pRing = 0 ); @@ -48,18 +50,18 @@ public: virtual bool IsReadOnlyAvailable() const SAL_OVERRIDE; - bool IsRemainInSection() const { return bRemainInSection; } - void SetRemainInSection( bool bFlag ) { bRemainInSection = bFlag; } + bool IsRemainInSection() const { return m_bRemainInSection; } + void SetRemainInSection( bool bFlag ) { m_bRemainInSection = bFlag; } virtual bool IsSkipOverProtectSections() const SAL_OVERRIDE - { return bSkipOverProtectSections; } + { return m_bSkipOverProtectSections; } void SetSkipOverProtectSections( bool bFlag ) - { bSkipOverProtectSections = bFlag; } + { m_bSkipOverProtectSections = bFlag; } virtual bool IsSkipOverHiddenSections() const SAL_OVERRIDE - { return bSkipOverHiddenSections; } + { return m_bSkipOverHiddenSections; } void SetSkipOverHiddenSections( bool bFlag ) - { bSkipOverHiddenSections = bFlag; } + { m_bSkipOverHiddenSections = bFlag; } // make copy of cursor virtual SwUnoCrsr * Clone() const; @@ -72,7 +74,7 @@ class SwUnoTableCrsr : public virtual SwUnoCrsr, public virtual SwTableCursor // The selection has the same order as the table boxes, i.e. // if something is deleted from the one array at a certain position // it has also to be deleted from the other! - SwCursor aTblSel; + SwCursor m_aTblSel; using SwTableCursor::MakeBoxSels; @@ -91,8 +93,8 @@ public: void MakeBoxSels(); - SwCursor& GetSelRing() { return aTblSel; } - const SwCursor& GetSelRing() const { return aTblSel; } + SwCursor& GetSelRing() { return m_aTblSel; } + const SwCursor& GetSelRing() const { return m_aTblSel; } }; #endif |