diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-11-26 09:02:05 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-12-10 12:55:02 +0100 |
commit | ba56f670eada56061493a5252a2ecf55445ced4d (patch) | |
tree | 304b08dbc52c94846c2b9909b7487ca31459424e /cppcanvas | |
parent | 7a282cda5eb8ce9d01b89cb0f28f925222023a2c (diff) |
-Werror,-Wunused-const-variable
Change-Id: I25fa3ea9e0101de7b17c17ef44da6d7b26a46017
(cherry picked from commit 9abd09f04b9a1a3bdde3b24bc03d67319bb25953)
Diffstat (limited to 'cppcanvas')
-rw-r--r-- | cppcanvas/source/mtfrenderer/emfplus.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/cppcanvas/source/mtfrenderer/emfplus.cxx b/cppcanvas/source/mtfrenderer/emfplus.cxx index 4a9d938a9ea0..c6c719b3d68b 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; } |