summaryrefslogtreecommitdiff
path: root/svl/source/misc/sharedstringpool.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svl/source/misc/sharedstringpool.cxx')
-rw-r--r--svl/source/misc/sharedstringpool.cxx22
1 files changed, 0 insertions, 22 deletions
diff --git a/svl/source/misc/sharedstringpool.cxx b/svl/source/misc/sharedstringpool.cxx
index 6b8f15287aca..46bf814f8468 100644
--- a/svl/source/misc/sharedstringpool.cxx
+++ b/svl/source/misc/sharedstringpool.cxx
@@ -52,28 +52,6 @@ SharedString SharedStringPool::intern( const OUString& rStr )
return SharedString(pOrig, aRes.first->pData);
}
-sal_uIntPtr SharedStringPool::getIdentifier( const OUString& rStr ) const
-{
- StrHashType::const_iterator it = maStrPool.find(rStr);
- return (it == maStrPool.end()) ? 0 : reinterpret_cast<sal_uIntPtr>(it->pData);
-}
-
-sal_uIntPtr SharedStringPool::getIdentifierIgnoreCase( const OUString& rStr ) const
-{
- StrHashType::const_iterator itOrig = maStrPool.find(rStr);
- if (itOrig == maStrPool.end())
- // Not in the pool.
- return 0;
-
- StrStoreType::const_iterator itUpper = maStrStore.find(itOrig->pData);
- if (itUpper == maStrStore.end())
- // Passed string is not in the pool.
- return 0;
-
- const rtl_uString* pUpper = itUpper->second.pData;
- return reinterpret_cast<sal_uIntPtr>(pUpper);
-}
-
namespace {
inline sal_Int32 getRefCount( const rtl_uString* p )