summaryrefslogtreecommitdiff
path: root/sw/inc/redline.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-10-01 09:08:12 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-10-03 11:56:43 +0200
commit4969f4c0d3e2581aaa8a5b5a5769840fa6b6f8ea (patch)
treeeb42ab5be5d8c5ca3d23b686a8781c28822381b4 /sw/inc/redline.hxx
parentd5cc52fec12e3c8d1c3561f172d3e1c5434290b3 (diff)
loplugin:constfields in sw
Change-Id: I1eb6583bb9ec815bc0564b0d7c676f5b1fb9045f Reviewed-on: https://gerrit.libreoffice.org/61177 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc/redline.hxx')
-rw-r--r--sw/inc/redline.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/inc/redline.hxx b/sw/inc/redline.hxx
index a2772c17caba..7e3b94ed1d0a 100644
--- a/sw/inc/redline.hxx
+++ b/sw/inc/redline.hxx
@@ -112,7 +112,7 @@ class SW_DLLPUBLIC SwRedlineData
OUString m_sComment;
DateTime m_aStamp;
RedlineType_t m_eType;
- std::size_t m_nAuthor;
+ std::size_t const m_nAuthor;
sal_uInt16 m_nSeqNo;
public:
@@ -174,7 +174,7 @@ class SW_DLLPUBLIC SwRangeRedline : public SwPaM
SwNodeIndex* m_pContentSect;
bool m_bDelLastPara : 1;
bool m_bIsVisible : 1;
- sal_uInt32 m_nId;
+ sal_uInt32 const m_nId;
boost::optional<long> m_oLOKLastNodeTop;