summaryrefslogtreecommitdiff
path: root/cppcanvas
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-11-26 09:02:05 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-11-26 09:02:05 +0100
commit9abd09f04b9a1a3bdde3b24bc03d67319bb25953 (patch)
tree8e995a143a85de23e8f94bb6ac25f965c78df0ce /cppcanvas
parent2ead27dc7026fc4789323f8849f43c5cafcec2fe (diff)
-Werror,-Wunused-const-variable
Change-Id: I25fa3ea9e0101de7b17c17ef44da6d7b26a46017
Diffstat (limited to 'cppcanvas')
-rw-r--r--cppcanvas/source/mtfrenderer/emfplus.cxx6
1 files changed, 2 insertions, 4 deletions
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;
}