diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-13 13:08:33 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-14 11:40:32 +0200 |
commit | 59887868da3499c68d5f259cfa48178354397448 (patch) | |
tree | fea3595f08d0a2ff07070c34bc2b94bbb7a446e1 /vcl/source/edit/textdat2.hxx | |
parent | afb0dfc41ebb0a6a96ae31c122c7f97743dc7486 (diff) |
loplugin:constfields in vcl
Change-Id: I1072642be4fdfa720e61f2d7bad3c2701eb81610
Reviewed-on: https://gerrit.libreoffice.org/60430
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source/edit/textdat2.hxx')
-rw-r--r-- | vcl/source/edit/textdat2.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
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<TextLine> maLines; TETextPortionList maTextPortions; |