summaryrefslogtreecommitdiff
path: root/sw/source/core/layout/dbg_lay.cxx
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/source/core/layout/dbg_lay.cxx
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/source/core/layout/dbg_lay.cxx')
-rw-r--r--sw/source/core/layout/dbg_lay.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/layout/dbg_lay.cxx b/sw/source/core/layout/dbg_lay.cxx
index b99e56c53c7a..b3c346e81a6d 100644
--- a/sw/source/core/layout/dbg_lay.cxx
+++ b/sw/source/core/layout/dbg_lay.cxx
@@ -166,9 +166,9 @@ class SwImplEnterLeave
{
protected:
const SwFrame* pFrame; // the frame
- PROT nFunction; // the function
- DbgAction nAction; // the action if needed
- void* pParam; // further parameter
+ PROT const nFunction; // the function
+ DbgAction const nAction; // the action if needed
+ void* const pParam; // further parameter
public:
SwImplEnterLeave( const SwFrame* pF, PROT nFunct, DbgAction nAct, void* pPar )
: pFrame( pF ), nFunction( nFunct ), nAction( nAct ), pParam( pPar ) {}