From 9bfd742d8cdc4aab3dd817f13ab4cfa5cc60ae12 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 29 Mar 2017 11:41:17 +0200 Subject: loplugin:unusedmethods Change-Id: Ib008613fb06c82791c63d5b074a3e2ff1c3607a0 Reviewed-on: https://gerrit.libreoffice.org/35834 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/xmloff/xmlement.hxx | 1 - 1 file changed, 1 deletion(-) (limited to 'include/xmloff/xmlement.hxx') diff --git a/include/xmloff/xmlement.hxx b/include/xmloff/xmlement.hxx index d3aaba3055bd..5879324701bf 100644 --- a/include/xmloff/xmlement.hxx +++ b/include/xmloff/xmlement.hxx @@ -39,7 +39,6 @@ public: SvXMLEnumMapEntry(::xmloff::token::XMLTokenEnum eToken_, EnumT nValue_) : eToken(eToken_), nValue(nValue_) {} ::xmloff::token::XMLTokenEnum GetToken() const { return eToken; } - EnumT GetValue() const { return static_cast(nValue); } }; // specialisation to avoid lots of "C2398: conversion from 'const sal_Int16' to 'sal_uInt16' requires a narrowing conversion" -- cgit