summaryrefslogtreecommitdiff
path: root/sw/source/filter/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-01-24 09:29:36 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-01-24 10:16:02 +0100
commit7075ce2fee860daa6affde92b256838aaa3d7d87 (patch)
treeb76fba1765d2e1ec5c580b994823fa0b3292ed95 /sw/source/filter/inc
parent399ef5c1a1af6ded3cd650b3012d5990e5015365 (diff)
loplugin:constparams in sw
Change-Id: I4a0f51eae28c82eca3c44b9d06c0410f9645f62f Reviewed-on: https://gerrit.libreoffice.org/66833 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/filter/inc')
-rw-r--r--sw/source/filter/inc/msfilter.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/inc/msfilter.hxx b/sw/source/filter/inc/msfilter.hxx
index 8a79ae919c3f..82cae2073536 100644
--- a/sw/source/filter/inc/msfilter.hxx
+++ b/sw/source/filter/inc/msfilter.hxx
@@ -326,7 +326,7 @@ namespace sw
const SwPosition &mrPos;
public:
explicit SetEndIfOpen(const SwPosition &rPos) : mrPos(rPos) {}
- void operator()(std::unique_ptr<SwFltStackEntry> & pEntry) const
+ void operator()(const std::unique_ptr<SwFltStackEntry> & pEntry) const
{
if (pEntry->bOpen)
pEntry->SetEndPos(mrPos);