From 59887868da3499c68d5f259cfa48178354397448 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 13 Sep 2018 13:08:33 +0200 Subject: loplugin:constfields in vcl Change-Id: I1072642be4fdfa720e61f2d7bad3c2701eb81610 Reviewed-on: https://gerrit.libreoffice.org/60430 Tested-by: Jenkins Reviewed-by: Noel Grandin --- vcl/source/edit/textdat2.hxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'vcl/source/edit/textdat2.hxx') diff --git a/vcl/source/edit/textdat2.hxx b/vcl/source/edit/textdat2.hxx index 29589aadcffd..303bc79295e5 100644 --- a/vcl/source/edit/textdat2.hxx +++ b/vcl/source/edit/textdat2.hxx @@ -99,9 +99,9 @@ public: struct TEWritingDirectionInfo { - bool bLeftToRight; - sal_Int32 nStartPos; - sal_Int32 nEndPos; + bool const bLeftToRight; + sal_Int32 const nStartPos; + sal_Int32 const nEndPos; TEWritingDirectionInfo( bool LeftToRight, sal_Int32 Start, sal_Int32 End ) : bLeftToRight {LeftToRight} , nStartPos {Start} @@ -170,7 +170,7 @@ inline bool TextLine::operator == ( const TextLine& rLine ) const class TEParaPortion { private: - TextNode* mpNode; + TextNode* const mpNode; std::vector maLines; TETextPortionList maTextPortions; -- cgit