diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-03-05 09:40:37 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-03-05 13:40:58 +0100 |
commit | 73312eaff10b19d1286c225ee335451e1800df4a (patch) | |
tree | df53d0188a812fdc79062b3f0b4e76e2cbf08958 /sw/inc/redline.hxx | |
parent | 4245454d0c3d6df2d0e0a75aed6f22f0a26ce3e2 (diff) |
sw: prefix members of SwFontAccess, SwFontObj and SwRangeRedline
Change-Id: I6440ea8d4fab730f3335d69c7f434684f7d6874b
Reviewed-on: https://gerrit.libreoffice.org/50763
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'sw/inc/redline.hxx')
-rw-r--r-- | sw/inc/redline.hxx | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/sw/inc/redline.hxx b/sw/inc/redline.hxx index c1bf083be93f..3540a6d36be0 100644 --- a/sw/inc/redline.hxx +++ b/sw/inc/redline.hxx @@ -172,10 +172,10 @@ public: class SW_DLLPUBLIC SwRangeRedline : public SwPaM { - SwRedlineData* pRedlineData; - SwNodeIndex* pContentSect; - bool bDelLastPara : 1; - bool bIsVisible : 1; + SwRedlineData* m_pRedlineData; + SwNodeIndex* m_pContentSect; + bool m_bDelLastPara : 1; + bool m_bIsVisible : 1; sal_uInt32 m_nId; boost::optional<long> m_oLOKLastNodeTop; @@ -194,19 +194,19 @@ public: // For sw3io: pData is taken over! SwRangeRedline(SwRedlineData* pData, const SwPosition& rPos, bool bDelLP) : - SwPaM( rPos ), pRedlineData( pData ), pContentSect( nullptr ), - bDelLastPara( bDelLP ), bIsVisible( true ), m_nId( m_nLastId++ ) + SwPaM( rPos ), m_pRedlineData( pData ), m_pContentSect( nullptr ), + m_bDelLastPara( bDelLP ), m_bIsVisible( true ), m_nId( m_nLastId++ ) {} SwRangeRedline( const SwRangeRedline& ); virtual ~SwRangeRedline() override; sal_uInt32 GetId() const { return m_nId; } - SwNodeIndex* GetContentIdx() const { return pContentSect; } + SwNodeIndex* GetContentIdx() const { return m_pContentSect; } // For Undo. void SetContentIdx( const SwNodeIndex* ); - bool IsVisible() const { return bIsVisible; } - bool IsDelLastPara() const { return bDelLastPara; } + bool IsVisible() const { return m_bIsVisible; } + bool IsDelLastPara() const { return m_bDelLastPara; } void SetStart( const SwPosition& rPos, SwPosition* pSttPtr = nullptr ); void SetEnd( const SwPosition& rPos, SwPosition* pEndPtr = nullptr ); @@ -216,8 +216,8 @@ public: const SwRedlineData& GetRedlineData(sal_uInt16 nPos = 0) const; bool operator!=( const SwRedlineData& rCmp ) const - { return *pRedlineData != rCmp; } - void SetAutoFormatFlag() { pRedlineData->SetAutoFormatFlag(); } + { return *m_pRedlineData != rCmp; } + void SetAutoFormatFlag() { m_pRedlineData->SetAutoFormatFlag(); } sal_uInt16 GetStackCount() const; std::size_t GetAuthor( sal_uInt16 nPos = 0) const; @@ -228,20 +228,20 @@ public: { return static_cast<RedlineType_t>(GetRealType( nPos ) & nsRedlineType_t::REDLINE_NO_FLAG_MASK); } const OUString& GetComment( sal_uInt16 nPos = 0 ) const; - void SetComment( const OUString& rS ) { pRedlineData->SetComment( rS ); } + void SetComment( const OUString& rS ) { m_pRedlineData->SetComment( rS ); } /** ExtraData gets copied, the pointer is therefore not taken over by * the RedLineObject.*/ void SetExtraData( const SwRedlineExtraData* pData ) - { pRedlineData->SetExtraData( pData ); } + { m_pRedlineData->SetExtraData( pData ); } const SwRedlineExtraData* GetExtraData() const - { return pRedlineData->GetExtraData(); } + { return m_pRedlineData->GetExtraData(); } // For UI-side pooling of Redline-actions. // At the moment only used for Autoformat with Redline. // Value != 0 means there can be others! - sal_uInt16 GetSeqNo() const { return pRedlineData->GetSeqNo(); } - void SetSeqNo( sal_uInt16 nNo ) { pRedlineData->SetSeqNo( nNo ); } + sal_uInt16 GetSeqNo() const { return m_pRedlineData->GetSeqNo(); } + void SetSeqNo( sal_uInt16 nNo ) { m_pRedlineData->SetSeqNo( nNo ); } // At Hide/ShowOriginal the list is traversed two times in order to // hide the Del-Redlines via Copy and Delete. |