[Libreoffice-commits] core.git: include/oox oox/source
Miklos Vajna
vmiklos at collabora.co.uk
Fri May 8 02:38:44 PDT 2015
include/oox/helper/attributelist.hxx | 3 ---
oox/source/helper/attributelist.cxx | 7 -------
2 files changed, 10 deletions(-)
New commits:
commit 80743f11fcdb49f997b0a8ff08bee28a0f2cfce7
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date: Fri May 8 11:37:45 2015 +0200
Unused oox::AttributeList::getUnsignedHex() variant
Change-Id: I4ec0cd4781aaa905f734b15ba4eff7819ca01082
diff --git a/include/oox/helper/attributelist.hxx b/include/oox/helper/attributelist.hxx
index 38bdf34..0e5eb5e 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 34cd8402..e2e5f9a 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;
More information about the Libreoffice-commits
mailing list