diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-05-08 11:37:45 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-05-08 11:38:08 +0200 |
commit | 80743f11fcdb49f997b0a8ff08bee28a0f2cfce7 (patch) | |
tree | e12dfddadee132dfa5fc64ec279ccb18e8c6bfbd | |
parent | a20d53afb97a278a16ad604cb65f107d33ab4fb9 (diff) |
Unused oox::AttributeList::getUnsignedHex() variant
Change-Id: I4ec0cd4781aaa905f734b15ba4eff7819ca01082
-rw-r--r-- | include/oox/helper/attributelist.hxx | 3 | ||||
-rw-r--r-- | oox/source/helper/attributelist.cxx | 7 |
2 files changed, 0 insertions, 10 deletions
diff --git a/include/oox/helper/attributelist.hxx b/include/oox/helper/attributelist.hxx index 38bdf34a1f95..0e5eb5ed6cfa 100644 --- a/include/oox/helper/attributelist.hxx +++ b/include/oox/helper/attributelist.hxx @@ -112,9 +112,6 @@ public: /** Returns the 32-bit signed integer value of the specified attribute (hexadecimal). */ OptValue< sal_Int32 > getIntegerHex( sal_Int32 nAttrToken ) const; - /** Returns the 32-bit unsigned integer value of the specified attribute (hexadecimal). */ - OptValue< sal_uInt32 > getUnsignedHex( sal_Int32 nAttrToken ) const; - /** Returns the boolean value of the specified attribute. */ OptValue< bool > getBool( sal_Int32 nAttrToken ) const; diff --git a/oox/source/helper/attributelist.cxx b/oox/source/helper/attributelist.cxx index 34cd84020315..e2e5f9ae6c83 100644 --- a/oox/source/helper/attributelist.cxx +++ b/oox/source/helper/attributelist.cxx @@ -191,13 +191,6 @@ OptValue< sal_Int32 > AttributeList::getIntegerHex( sal_Int32 nAttrToken ) const return OptValue< sal_Int32 >( bValid, bValid ? AttributeConversion::decodeIntegerHex( aValue ) : 0 ); } -OptValue< sal_uInt32 > AttributeList::getUnsignedHex( sal_Int32 nAttrToken ) const -{ - OUString aValue = mxAttribs->getOptionalValue( nAttrToken ); - bool bValid = !aValue.isEmpty(); - return OptValue< sal_uInt32 >( bValid, bValid ? AttributeConversion::decodeUnsignedHex( aValue ) : 0 ); -} - OptValue< bool > AttributeList::getBool( sal_Int32 nAttrToken ) const { const char *pAttr; |