remove unused operators

Change-Id: Ic35d2071e844235bb755226c55d1e4bbbda4876c
Reviewed-on: https://gerrit.libreoffice.org/33555
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
Jochen Nitschke
2017-01-25 20:06:47 +01:00
committed by Noel Grandin
parent 2640ec898a
commit 9c4c20367d

View File

@@ -43,33 +43,13 @@ private:
static sal_uInt32 MakeHashCode( const OUString& );
public:
inline StringHashEntry( const OUString& );
inline void operator =( const sal_Char* );
inline void operator =( const OUString& );
inline void operator =( const StringHashEntry& );
inline bool operator ==( const StringHashEntry& ) const;
};
inline StringHashEntry::StringHashEntry( const OUString& r ) : aString( r )
inline StringHashEntry::StringHashEntry( const OUString& r )
: aString( r )
, nHash( MakeHashCode(r) )
{
nHash = MakeHashCode( r );
}
inline void StringHashEntry::operator =( const sal_Char* p )
{
aString = OUString(p, strlen(p), RTL_TEXTENCODING_ASCII_US);
nHash = MakeHashCode( aString );
}
inline void StringHashEntry::operator =( const OUString& r )
{
aString = r;
nHash = MakeHashCode( r );
}
inline void StringHashEntry::operator =( const StringHashEntry& r )
{
nHash = r.nHash;
aString = r.aString;
}
inline bool StringHashEntry::operator ==( const StringHashEntry& r ) const