From 9abd09f04b9a1a3bdde3b24bc03d67319bb25953 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 26 Nov 2013 09:02:05 +0100 Subject: -Werror,-Wunused-const-variable Change-Id: I25fa3ea9e0101de7b17c17ef44da6d7b26a46017 --- cppcanvas/source/mtfrenderer/emfplus.cxx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'cppcanvas') diff --git a/cppcanvas/source/mtfrenderer/emfplus.cxx b/cppcanvas/source/mtfrenderer/emfplus.cxx index 4907b6f115a1..f4730e6d7c9c 100644 --- a/cppcanvas/source/mtfrenderer/emfplus.cxx +++ b/cppcanvas/source/mtfrenderer/emfplus.cxx @@ -105,10 +105,8 @@ const sal_uInt32 EmfPlusCustomLineCapDataTypeAdjustableArrow = 0x00000001; const sal_uInt32 EmfPlusCustomLineCapDataFillPath = 0x00000001; const sal_uInt32 EmfPlusCustomLineCapDataLinePath = 0x00000002; -const sal_uInt32 EmfPlusLineCapTypeFlat = 0x00000000; const sal_uInt32 EmfPlusLineCapTypeSquare = 0x00000001; const sal_uInt32 EmfPlusLineCapTypeRound = 0x00000002; -const sal_uInt32 EmfPlusLineCapTypeTriangle = 0x00000003; const sal_uInt32 EmfPlusLineJoinTypeMiter = 0x00000000; const sal_uInt32 EmfPlusLineJoinTypeBevel = 0x00000001; @@ -615,8 +613,8 @@ namespace cppcanvas case EmfPlusLineCapTypeRound: return rendering::PathCapType::ROUND; } - // we have no mapping for EmfPlusLineCapTypeTriangle, so return - // BUTT always + // we have no mapping for EmfPlusLineCapTypeTriangle = 0x00000003, + // so return BUTT always return rendering::PathCapType::BUTT; } -- cgit