include/oox/helper/attributelist.hxx |    3 ---
 oox/source/helper/attributelist.cxx  |    7 -------
 2 files changed, 10 deletions(-)

New commits:
commit 80743f11fcdb49f997b0a8ff08bee28a0f2cfce7
Author: Miklos Vajna <vmik...@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;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to