From 58692c30e390d24c20108a7c3140d96638898696 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 10 Nov 2011 09:28:22 +0000 Subject: callcatcher: remove unused methods --- xmloff/inc/xmloff/nmspmap.hxx | 3 --- xmloff/source/core/nmspmap.cxx | 14 -------------- 2 files changed, 17 deletions(-) (limited to 'xmloff') diff --git a/xmloff/inc/xmloff/nmspmap.hxx b/xmloff/inc/xmloff/nmspmap.hxx index e56983a58df8..79139ef1223f 100644 --- a/xmloff/inc/xmloff/nmspmap.hxx +++ b/xmloff/inc/xmloff/nmspmap.hxx @@ -159,10 +159,7 @@ public: /* deprecated */ sal_Bool AddAtIndex( sal_uInt16 nIdx, const ::rtl::OUString& rPrefix, const ::rtl::OUString& rName, sal_uInt16 nKey = XML_NAMESPACE_UNKNOWN ); -/* deprecated */ sal_Bool AddAtIndex( sal_uInt16 nIdx, const sal_Char *pPrefix, - const sal_Char *pName, sal_uInt16 nKey = XML_NAMESPACE_UNKNOWN ); /* deprecated */ sal_uInt16 GetIndexByKey( sal_uInt16 nKey ) const; -/* deprecated */ sal_uInt16 GetKeyByIndex( sal_uInt16 nIdx ) const; /* deprecated */ sal_uInt16 GetIndexByPrefix( const ::rtl::OUString& rPrefix ) const; /* deprecated */ sal_uInt16 GetFirstIndex() const; /* deprecated */ sal_uInt16 GetNextIndex( sal_uInt16 nOldIdx ) const; diff --git a/xmloff/source/core/nmspmap.cxx b/xmloff/source/core/nmspmap.cxx index 977bf46b175b..373c747dc915 100644 --- a/xmloff/source/core/nmspmap.cxx +++ b/xmloff/source/core/nmspmap.cxx @@ -382,11 +382,6 @@ sal_uInt16 SvXMLNamespaceMap::GetNextKey( sal_uInt16 nLastKey ) const // All methods after this are deprecated... -sal_uInt16 SvXMLNamespaceMap::GetKeyByIndex( sal_uInt16 nIdx ) const -{ - return nIdx; -} - sal_uInt16 SvXMLNamespaceMap::GetIndexByKey( sal_uInt16 nKey ) const { return nKey; @@ -420,15 +415,6 @@ sal_Bool SvXMLNamespaceMap::AddAtIndex( sal_uInt16 /*nIdx*/, const OUString& rPr return bRet; } -sal_Bool SvXMLNamespaceMap::AddAtIndex( sal_uInt16 nIdx, const sal_Char *pPrefix, - const sal_Char *pName, sal_uInt16 nKey ) -{ - OUString sPrefix( OUString::createFromAscii(pPrefix) ); - OUString sName( OUString::createFromAscii(pName) ); - - return AddAtIndex( nIdx, sPrefix, sName, nKey ); -} - OUString SvXMLNamespaceMap::GetAttrNameByIndex( sal_uInt16 nIdx ) const { return GetAttrNameByKey( nIdx ); -- cgit