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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu Aug 2 07:55:20 UTC 2018


 drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6c3067a5bd121b839ce3c0a9d45deae6123d9168
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu Aug 2 08:52:46 2018 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Thu Aug 2 08:54:17 2018 +0100

    coverity#1438197 deliberate 'Constant' variable guards dead code
    
    Change-Id: I4fb8a0bcfb3785fbd144ab25adbe6505684dc8c4

diff --git a/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx b/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx
index a7228338c689..1606e14100d4 100644
--- a/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx
+++ b/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx
@@ -1310,7 +1310,7 @@ namespace drawinglayer
                 // #i121267# Not needed, does not give better quality compared with
                 // the MetaActionType::POLYPOLYGON written by RenderPolygonHairlinePrimitive2D
                 // below
-                bool bSupportSvtGraphicStroke(false);
+                const bool bSupportSvtGraphicStroke(false);
 
                 if(bSupportSvtGraphicStroke)
                 {


More information about the Libreoffice-commits mailing list