Kaydet (Commit) 9abd09f0 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

-Werror,-Wunused-const-variable

Change-Id: I25fa3ea9e0101de7b17c17ef44da6d7b26a46017
üst 2ead27dc
...@@ -105,10 +105,8 @@ const sal_uInt32 EmfPlusCustomLineCapDataTypeAdjustableArrow = 0x00000001; ...@@ -105,10 +105,8 @@ const sal_uInt32 EmfPlusCustomLineCapDataTypeAdjustableArrow = 0x00000001;
const sal_uInt32 EmfPlusCustomLineCapDataFillPath = 0x00000001; const sal_uInt32 EmfPlusCustomLineCapDataFillPath = 0x00000001;
const sal_uInt32 EmfPlusCustomLineCapDataLinePath = 0x00000002; const sal_uInt32 EmfPlusCustomLineCapDataLinePath = 0x00000002;
const sal_uInt32 EmfPlusLineCapTypeFlat = 0x00000000;
const sal_uInt32 EmfPlusLineCapTypeSquare = 0x00000001; const sal_uInt32 EmfPlusLineCapTypeSquare = 0x00000001;
const sal_uInt32 EmfPlusLineCapTypeRound = 0x00000002; const sal_uInt32 EmfPlusLineCapTypeRound = 0x00000002;
const sal_uInt32 EmfPlusLineCapTypeTriangle = 0x00000003;
const sal_uInt32 EmfPlusLineJoinTypeMiter = 0x00000000; const sal_uInt32 EmfPlusLineJoinTypeMiter = 0x00000000;
const sal_uInt32 EmfPlusLineJoinTypeBevel = 0x00000001; const sal_uInt32 EmfPlusLineJoinTypeBevel = 0x00000001;
...@@ -615,8 +613,8 @@ namespace cppcanvas ...@@ -615,8 +613,8 @@ namespace cppcanvas
case EmfPlusLineCapTypeRound: return rendering::PathCapType::ROUND; case EmfPlusLineCapTypeRound: return rendering::PathCapType::ROUND;
} }
// we have no mapping for EmfPlusLineCapTypeTriangle, so return // we have no mapping for EmfPlusLineCapTypeTriangle = 0x00000003,
// BUTT always // so return BUTT always
return rendering::PathCapType::BUTT; return rendering::PathCapType::BUTT;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment