summaryrefslogtreecommitdiff
path: root/sw/inc/redline.hxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2018-09-10 09:06:15 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2018-09-10 12:34:44 +0200
commita909d67f476945ec51d597dcd281a6f2a2b0b9b8 (patch)
treed6d6beb58759cbdc568a0eec2bc322dc1f3bd512 /sw/inc/redline.hxx
parentd1afb4c4218ae0e41b790b0c0e19a1df86ca9b5f (diff)
sw: prefix members of SwRedlineData
Change-Id: Idf21b7f3330fdc4ecca6245494a788a33efee2a7 Reviewed-on: https://gerrit.libreoffice.org/60236 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins
Diffstat (limited to 'sw/inc/redline.hxx')
-rw-r--r--sw/inc/redline.hxx52
1 files changed, 26 insertions, 26 deletions
diff --git a/sw/inc/redline.hxx b/sw/inc/redline.hxx
index cde78e743b0b..c307792d80b0 100644
--- a/sw/inc/redline.hxx
+++ b/sw/inc/redline.hxx
@@ -106,14 +106,14 @@ public:
class SW_DLLPUBLIC SwRedlineData
{
friend class SwRangeRedline;
- SwRedlineData* pNext; // Points to other data.
- SwRedlineExtraData* pExtraData;
+ SwRedlineData* m_pNext; // Points to other data.
+ SwRedlineExtraData* m_pExtraData;
- OUString sComment;
- DateTime aStamp;
- RedlineType_t eType;
- std::size_t nAuthor;
- sal_uInt16 nSeqNo;
+ OUString m_sComment;
+ DateTime m_aStamp;
+ RedlineType_t m_eType;
+ std::size_t m_nAuthor;
+ sal_uInt16 m_nSeqNo;
public:
SwRedlineData( RedlineType_t eT, std::size_t nAut );
@@ -127,43 +127,43 @@ public:
bool operator==( const SwRedlineData& rCmp ) const
{
- return nAuthor == rCmp.nAuthor &&
- eType == rCmp.eType &&
- sComment == rCmp.sComment &&
- (( !pNext && !rCmp.pNext ) ||
- ( pNext && rCmp.pNext && *pNext == *rCmp.pNext )) &&
- (( !pExtraData && !rCmp.pExtraData ) ||
- ( pExtraData && rCmp.pExtraData &&
- *pExtraData == *rCmp.pExtraData ));
+ return m_nAuthor == rCmp.m_nAuthor &&
+ m_eType == rCmp.m_eType &&
+ m_sComment == rCmp.m_sComment &&
+ (( !m_pNext && !rCmp.m_pNext ) ||
+ ( m_pNext && rCmp.m_pNext && *m_pNext == *rCmp.m_pNext )) &&
+ (( !m_pExtraData && !rCmp.m_pExtraData ) ||
+ ( m_pExtraData && rCmp.m_pExtraData &&
+ *m_pExtraData == *rCmp.m_pExtraData ));
}
bool operator!=( const SwRedlineData& rCmp ) const
{ return !operator==( rCmp ); }
RedlineType_t GetType() const
- { return static_cast<RedlineType_t>(eType & nsRedlineType_t::REDLINE_NO_FLAG_MASK); }
+ { return static_cast<RedlineType_t>(m_eType & nsRedlineType_t::REDLINE_NO_FLAG_MASK); }
- std::size_t GetAuthor() const { return nAuthor; }
- const OUString& GetComment() const { return sComment; }
- const DateTime& GetTimeStamp() const { return aStamp; }
- const SwRedlineData* Next() const{ return pNext; }
+ std::size_t GetAuthor() const { return m_nAuthor; }
+ const OUString& GetComment() const { return m_sComment; }
+ const DateTime& GetTimeStamp() const { return m_aStamp; }
+ const SwRedlineData* Next() const{ return m_pNext; }
- void SetComment( const OUString& rS ) { sComment = rS; }
- void SetTimeStamp( const DateTime& rDT ) { aStamp = rDT; }
+ void SetComment( const OUString& rS ) { m_sComment = rS; }
+ void SetTimeStamp( const DateTime& rDT ) { m_aStamp = rDT; }
void SetAutoFormatFlag()
- { eType = static_cast<RedlineType_t>(eType | nsRedlineType_t::REDLINE_FORM_AUTOFMT); }
+ { m_eType = static_cast<RedlineType_t>(m_eType | nsRedlineType_t::REDLINE_FORM_AUTOFMT); }
bool CanCombine( const SwRedlineData& rCmp ) const;
// ExtraData gets copied, the pointer is therefore not taken over by
// the RedlineObject
void SetExtraData( const SwRedlineExtraData* pData );
- const SwRedlineExtraData* GetExtraData() const { return pExtraData; }
+ const SwRedlineExtraData* GetExtraData() const { return m_pExtraData; }
// 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 nSeqNo; }
- void SetSeqNo( sal_uInt16 nNo ) { nSeqNo = nNo; }
+ sal_uInt16 GetSeqNo() const { return m_nSeqNo; }
+ void SetSeqNo( sal_uInt16 nNo ) { m_nSeqNo = nNo; }
OUString GetDescr() const;
};