diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-01-23 09:09:40 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-01-23 12:01:17 +0100 |
commit | b4ca7bd5377b8fa219fcf1d5daf26035eb4f1ee2 (patch) | |
tree | e7ebba70e59c7615d5018064979555c3d6f875e2 /include | |
parent | 94ab2ad8c55a6da110b3c9892c9da7289bf32174 (diff) |
loplugin:constparams in filter
Change-Id: Ia7bba27371db1a23a42d77df4c4bfc975fa0366b
Reviewed-on: https://gerrit.libreoffice.org/66770
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/filter/msfilter/msdffimp.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/filter/msfilter/msdffimp.hxx b/include/filter/msfilter/msdffimp.hxx index f27956c0d7ef..84e66803b6dc 100644 --- a/include/filter/msfilter/msdffimp.hxx +++ b/include/filter/msfilter/msdffimp.hxx @@ -770,12 +770,12 @@ struct SvxMSDffShapeInfo { bReplaceByFly = false; } - SvxMSDffShapeInfo(SvxMSDffShapeInfo& rInfo): + SvxMSDffShapeInfo(const SvxMSDffShapeInfo& rInfo): nShapeId( rInfo.nShapeId ), nFilePos( rInfo.nFilePos ), - nTxBxComp( rInfo.nTxBxComp ) + nTxBxComp( rInfo.nTxBxComp ), + bReplaceByFly( rInfo.bReplaceByFly ) { - bReplaceByFly = rInfo.bReplaceByFly; } }; |