diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-11-10 09:28:22 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-11-10 09:28:40 +0000 |
commit | 58692c30e390d24c20108a7c3140d96638898696 (patch) | |
tree | ecd84d5343b09488c91e8f8008b10fd216c2de65 /xmloff | |
parent | 8c69b4db58ce820e27c96dc0f33890b6946a5f4c (diff) |
callcatcher: remove unused methods
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/inc/xmloff/nmspmap.hxx | 3 | ||||
-rw-r--r-- | xmloff/source/core/nmspmap.cxx | 14 |
2 files changed, 0 insertions, 17 deletions
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 ); |