diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-09-04 09:01:32 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-09-04 09:01:32 +0100 |
commit | 6f511a5de909b2fb6cb42b851e0cc90f54fbdd59 (patch) | |
tree | c03501361455f1642a6b555bfb99b7afb8839636 /filter | |
parent | 21d64a76ec128ae5787b24dc444a2f51ed8acf5d (diff) |
coverity#1417293 'Constant' variable guards dead code
Change-Id: I7ac4d61acf84f6e93138f6df50e8b9a71d939de8
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/msfilter/eschesdo.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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() ) ) |