summaryrefslogtreecommitdiff
path: root/sw/inc/tblsel.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/tblsel.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/tblsel.hxx')
-rw-r--r--sw/inc/tblsel.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/inc/tblsel.hxx b/sw/inc/tblsel.hxx
index e7ef81b53ef3..0639db32f72e 100644
--- a/sw/inc/tblsel.hxx
+++ b/sw/inc/tblsel.hxx
@@ -121,7 +121,7 @@ bool CheckSplitCells( const SwCursor& rCursor, sal_uInt16 nDiv,
class SwSelUnion
{
SwRect m_aUnion; // The rectangle enclosing the selection.
- SwTabFrame *m_pTable; // The (Follow-)Table for the Union.
+ SwTabFrame * const m_pTable; // The (Follow-)Table for the Union.
public:
SwSelUnion( const SwRect &rRect, SwTabFrame *pTab ) :
@@ -156,9 +156,9 @@ typedef std::vector<std::unique_ptr<FndLine_>> FndLines_t;
class FndBox_
{
- SwTableBox* m_pBox;
+ SwTableBox* const m_pBox;
FndLines_t m_Lines;
- FndLine_* m_pUpper;
+ FndLine_* const m_pUpper;
SwTableLine *m_pLineBefore; // For deleting/restoring the layout.
SwTableLine *m_pLineBehind;
@@ -191,7 +191,7 @@ public:
class FndLine_
{
- SwTableLine* m_pLine;
+ SwTableLine* const m_pLine;
FndBoxes_t m_Boxes;
FndBox_* m_pUpper;