summaryrefslogtreecommitdiff
path: root/drawinglayer
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-08-02 08:56:32 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-08-02 08:56:32 +0100
commitd3e7bbec20c25bc26b3dadc9791f53239473b13d (patch)
treef3e811f0738ac36635f4d3cf945abd4b1ddcb68b /drawinglayer
parent6c3067a5bd121b839ce3c0a9d45deae6123d9168 (diff)
coverity#1438196 deliberate 'Constant' variable guards dead code
Change-Id: I8b4cec8c82a5d1eb57d96908b784bbc2704ac8fa
Diffstat (limited to 'drawinglayer')
-rw-r--r--drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx4
1 files changed, 2 insertions, 2 deletions
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())
{