summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2012-10-14 14:41:27 +0200
committerMatúš Kukan <matus.kukan@gmail.com>2012-10-19 13:25:43 +0200
commit91e81cd4bd8917ee06cd4fc0f7a56979c72100d6 (patch)
tree5804ab1695457463cdd6ad11231b644cd7064d8f /tools
parent891b770e42455ad7c2ea1a4137e67d4e7906a533 (diff)
private field 'eType' is not used [-Werror,-Wunused-private-field]
Change-Id: I0c21a0af88eda56a9ccfeeb9691617c67340b3d2
Diffstat (limited to 'tools')
-rw-r--r--tools/inc/tools/poly.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/inc/tools/poly.hxx b/tools/inc/tools/poly.hxx
index e8cdcb5cd129..8eb095e13729 100644
--- a/tools/inc/tools/poly.hxx
+++ b/tools/inc/tools/poly.hxx
@@ -66,8 +66,8 @@ public:
PolyOptimizeData( sal_uIntPtr nAbsolut ) : eType( DATA_ABSOLUT ), mnAbsolut( nAbsolut ) {}
PolyOptimizeData( sal_uInt16 nPercent ) : eType( DATA_PERCENT ), mnPercent( nPercent ) {}
- sal_uIntPtr GetAbsValue() const { DBG_ASSERT( eType == DATA_ABSOLUT, "Wrong data type" ); return mnAbsolut; }
- sal_uInt16 GetPercentValue() const { DBG_ASSERT( eType == DATA_PERCENT, "Wrong data type" ); return mnPercent; }
+ sal_uIntPtr GetAbsValue() const { (void) eType; DBG_ASSERT( eType == DATA_ABSOLUT, "Wrong data type" ); return mnAbsolut; }
+ sal_uInt16 GetPercentValue() const { (void) eType; DBG_ASSERT( eType == DATA_PERCENT, "Wrong data type" ); return mnPercent; }
};
class SvStream;