diff options
Diffstat (limited to 'tools/source/ref')
-rw-r--r-- | tools/source/ref/globname.cxx | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/tools/source/ref/globname.cxx b/tools/source/ref/globname.cxx index e5cee830df22..4ae220659e3c 100644 --- a/tools/source/ref/globname.cxx +++ b/tools/source/ref/globname.cxx @@ -59,27 +59,6 @@ SvStream& operator >> ( SvStream& rStr, SvGlobalName & rObj ) return rStr; } - -bool SvGlobalName::operator < ( const SvGlobalName & rObj ) const -{ - if( m_aData.Data3 < rObj.m_aData.Data3 ) - return true; - else if( m_aData.Data3 > rObj.m_aData.Data3 ) - return false; - - if( m_aData.Data2 < rObj.m_aData.Data2 ) - return true; - else if( m_aData.Data2 > rObj.m_aData.Data2 ) - return false; - - return m_aData.Data1 < rObj.m_aData.Data1; -} - -bool SvGlobalName::operator == ( const SvGlobalName & rObj ) const -{ - return memcmp(&m_aData, &rObj.m_aData, sizeof(m_aData)) == 0; -} - void SvGlobalName::MakeFromMemory( void const * pData ) { memcpy( &m_aData, pData, sizeof( m_aData ) ); |