[Libreoffice-commits] core.git: include/filter

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Jan 23 11:01:46 UTC 2019


 include/filter/msfilter/msdffimp.hxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit b4ca7bd5377b8fa219fcf1d5daf26035eb4f1ee2
Author:     Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Wed Jan 23 09:09:40 2019 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Wed Jan 23 12:01:17 2019 +0100

    loplugin:constparams in filter
    
    Change-Id: Ia7bba27371db1a23a42d77df4c4bfc975fa0366b
    Reviewed-on: https://gerrit.libreoffice.org/66770
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

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;
         }
 };
 


More information about the Libreoffice-commits mailing list