From f27e5ecfba4b688af6bcdd9933735f85c59b7401 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 3 Mar 2014 08:55:48 +0200 Subject: remove unused code oox::AttributeConversion::decodeDouble Change-Id: I057ebcf125e068653570dabb59a8b7f4494e96db --- include/oox/helper/attributelist.hxx | 3 --- oox/source/helper/attributelist.cxx | 5 ----- unusedcode.easy | 1 - 3 files changed, 9 deletions(-) diff --git a/include/oox/helper/attributelist.hxx b/include/oox/helper/attributelist.hxx index e95d82404159..90059fb3700e 100644 --- a/include/oox/helper/attributelist.hxx +++ b/include/oox/helper/attributelist.hxx @@ -48,9 +48,6 @@ public: '_xHHHH_' (H being a hexadecimal digit), will be decoded. */ static OUString decodeXString( const OUString& rValue ); - /** Returns the double value from the passed string. */ - static double decodeDouble( const OUString& rValue ); - /** Returns the 32-bit signed integer value from the passed string (decimal). */ static sal_Int32 decodeInteger( const OUString& rValue ); diff --git a/oox/source/helper/attributelist.cxx b/oox/source/helper/attributelist.cxx index b851ccd75a38..0fa5abdb0d10 100644 --- a/oox/source/helper/attributelist.cxx +++ b/oox/source/helper/attributelist.cxx @@ -87,11 +87,6 @@ OUString AttributeConversion::decodeXString( const OUString& rValue ) return aBuffer.makeStringAndClear(); } -double AttributeConversion::decodeDouble( const OUString& rValue ) -{ - return rValue.toDouble(); -} - sal_Int32 AttributeConversion::decodeInteger( const OUString& rValue ) { return rValue.toInt32(); diff --git a/unusedcode.easy b/unusedcode.easy index 379012215a29..038e0228004e 100644 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -253,7 +253,6 @@ formula::SingleVectorRefToken::GetRequestedArrayLength() const formula::SingleVectorRefToken::SingleVectorRefToken(double const*, unsigned long, unsigned long) oglcanvas::CanvasHelper::flush() const oglcanvas::TextLayout::draw(com::sun::star::rendering::ViewState const&, com::sun::star::rendering::RenderState const&, com::sun::star::uno::Reference const&) const -oox::AttributeConversion::decodeDouble(rtl::OUString const&) oox::xls::BiffDrawingObjectBase::BiffDrawingObjectBase(oox::xls::WorksheetHelper const&) registry::tools::Options::Options(char const*) registry::tools::Options::badOption(char const*, char const*) const -- cgit