diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-09-30 09:40:29 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-09-30 11:24:33 +0200 |
commit | 3b8e53f66ffd4d631a850fe76250124dc4a195c3 (patch) | |
tree | 2613882a4876f0a66324b7e29e61c46b3ec451b0 /sw/source/core/txtnode/txtedt.cxx | |
parent | d242a19dbdd53b7ae0b6a6ceacca6aa1b6ac54a9 (diff) |
loplugin:constparams improve handling of pointer params
Change-Id: I4c0002e72703eded435bfe4985f5b0121bf8524b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122843
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/core/txtnode/txtedt.cxx')
-rw-r--r-- | sw/source/core/txtnode/txtedt.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/txtnode/txtedt.cxx b/sw/source/core/txtnode/txtedt.cxx index 943c09148155..9fabb33aa6e1 100644 --- a/sw/source/core/txtnode/txtedt.cxx +++ b/sw/source/core/txtnode/txtedt.cxx @@ -221,7 +221,7 @@ lcl_MaskRedlinesAndHiddenText( const SwTextNode& rNode, OUStringBuffer& rText, * Used for spell checking. Calculates a rectangle for repaint. */ static SwRect lcl_CalculateRepaintRect( - SwTextFrame & rTextFrame, SwTextNode & rNode, + const SwTextFrame & rTextFrame, const SwTextNode & rNode, sal_Int32 const nChgStart, sal_Int32 const nChgEnd) { TextFrameIndex const iChgStart(rTextFrame.MapModelToView(&rNode, nChgStart)); |