[Libreoffice-commits] core.git: drawinglayer/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Thu Aug 2 07:57:14 UTC 2018
drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit d3e7bbec20c25bc26b3dadc9791f53239473b13d
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu Aug 2 08:56:32 2018 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Thu Aug 2 08:56:32 2018 +0100
coverity#1438196 deliberate 'Constant' variable guards dead code
Change-Id: I8b4cec8c82a5d1eb57d96908b784bbc2704ac8fa
diff --git a/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx b/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx
index 1606e14100d4..69cc7b98db11 100644
--- a/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx
+++ b/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx
@@ -1787,7 +1787,7 @@ namespace drawinglayer
// #i121267# Not needed, does not give better quality compared with
// the MetaActionType::POLYPOLYGON written by the DrawPolyPolygon command
// below
- bool bSupportSvtGraphicFill(false);
+ const bool bSupportSvtGraphicFill(false);
if(bSupportSvtGraphicFill && !mnSvtGraphicFillCount && aLocalPolyPolygon.count())
{
@@ -1937,7 +1937,7 @@ namespace drawinglayer
// #i121267# Not needed, does not give better quality compared with
// the MetaActionType::POLYPOLYGON written by the DrawPolyPolygon command
// below
- bool bSupportSvtGraphicFill(false);
+ const bool bSupportSvtGraphicFill(false);
if(bSupportSvtGraphicFill && !mnSvtGraphicFillCount && aLocalPolyPolygon.count())
{
More information about the Libreoffice-commits
mailing list