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

Caolán McNamara caolanm at redhat.com
Mon Sep 4 08:02:50 UTC 2017


 filter/source/msfilter/eschesdo.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6f511a5de909b2fb6cb42b851e0cc90f54fbdd59
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Mon Sep 4 09:01:32 2017 +0100

    coverity#1417293 'Constant' variable guards dead code
    
    Change-Id: I7ac4d61acf84f6e93138f6df50e8b9a71d939de8

diff --git a/filter/source/msfilter/eschesdo.cxx b/filter/source/msfilter/eschesdo.cxx
index c84f80485857..fa10575b506c 100644
--- a/filter/source/msfilter/eschesdo.cxx
+++ b/filter/source/msfilter/eschesdo.cxx
@@ -610,7 +610,7 @@ sal_uInt32 ImplEESdrWriter::ImplWriteShape( ImplEESdrObject& rObj,
             else
             {
                 //2do: could be made an option in HostAppData whether OLE object should be written or not
-                bool bAppOLE = true;
+                const bool bAppOLE = true;
                 addShape( ESCHER_ShpInst_PictureFrame,
                     ShapeFlag::HaveShapeProperty | ShapeFlag::HaveAnchor | (bAppOLE ? ShapeFlag::OLEShape : ShapeFlag::NONE) );
                 if ( aPropOpt.CreateOLEGraphicProperties( rObj.GetShapeRef() ) )


More information about the Libreoffice-commits mailing list