diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-18 09:02:03 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-18 09:57:26 +0200 |
commit | 72f36adb93d24a3da8868dad128ab2eca0124fda (patch) | |
tree | 06baca9f873aa59e16c5f3612f5a464c2e0eba46 /include/vcl/texteng.hxx | |
parent | bff8cd3d52223002263dcb8c09758c4fc753b6e3 (diff) |
loplugin:constparams in vcl
Change-Id: I36afe2107e07ffb9b73c0b76be600e3e999a0fd4
Reviewed-on: https://gerrit.libreoffice.org/40116
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/vcl/texteng.hxx')
-rw-r--r-- | include/vcl/texteng.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vcl/texteng.hxx b/include/vcl/texteng.hxx index 3ac8244ab45f..3980f0a98452 100644 --- a/include/vcl/texteng.hxx +++ b/include/vcl/texteng.hxx @@ -194,7 +194,7 @@ protected: sal_Int32 GetCharPos( sal_uInt32 nPara, std::vector<TextLine>::size_type nLine, long nDocPosX ); tools::Rectangle GetEditCursor( const TextPaM& rPaM, bool bSpecial, bool bPreferPortionStart = false ); sal_Int32 ImpFindIndex( sal_uInt32 nPortion, const Point& rPosInPara ); - long ImpGetPortionXOffset( sal_uInt32 nPara, TextLine* pLine, std::size_t nTextPortion ); + long ImpGetPortionXOffset( sal_uInt32 nPara, TextLine const * pLine, std::size_t nTextPortion ); long ImpGetXPos( sal_uInt32 nPara, TextLine* pLine, sal_Int32 nIndex, bool bPreferPortionStart = false ); long ImpGetOutputOffset( sal_uInt32 nPara, TextLine* pLine, sal_Int32 nIndex, sal_Int32 nIndex2 ); sal_uInt8 ImpGetRightToLeft( sal_uInt32 nPara, sal_Int32 nPos ); |