Remove unused comphelper::UStringMixHash
Change-Id: Ie41a0ed7c49a2bb3368179bd198c9de508605931
This commit is contained in:
parent
0bdfebdc95
commit
3303583365
@ -118,19 +118,6 @@ public:
|
||||
return !!(lhs.Name == rhs);
|
||||
}
|
||||
};
|
||||
//------------------------------------------------------------------------
|
||||
class UStringMixHash
|
||||
{
|
||||
sal_Bool m_bCaseSensitive;
|
||||
|
||||
public:
|
||||
UStringMixHash(sal_Bool bCaseSensitive = sal_True):m_bCaseSensitive(bCaseSensitive){}
|
||||
size_t operator() (const OUString& rStr) const
|
||||
{
|
||||
return m_bCaseSensitive ? rStr.hashCode() : rStr.toAsciiUpperCase().hashCode();
|
||||
}
|
||||
sal_Bool isCaseSensitive() const {return m_bCaseSensitive;}
|
||||
};
|
||||
|
||||
//=====================================================================
|
||||
//= OInterfaceCompare
|
||||
|
Loading…
x
Reference in New Issue
Block a user