summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-01-23 09:09:40 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-01-23 12:01:17 +0100
commitb4ca7bd5377b8fa219fcf1d5daf26035eb4f1ee2 (patch)
treee7ebba70e59c7615d5018064979555c3d6f875e2 /include
parent94ab2ad8c55a6da110b3c9892c9da7289bf32174 (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.hxx6
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;
}
};