diff options
Diffstat (limited to 'sot')
-rw-r--r-- | sot/source/sdstor/stgelem.cxx | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sot/source/sdstor/stgelem.cxx b/sot/source/sdstor/stgelem.cxx index ed1a14498c55..3ebc7290083a 100644 --- a/sot/source/sdstor/stgelem.cxx +++ b/sot/source/sdstor/stgelem.cxx @@ -352,16 +352,11 @@ void StgEntry::GetName( OUString& rName ) const short StgEntry::Compare( const StgEntry& r ) const { - /* - short nRes = r.nNameLen - nNameLen; - if( !nRes ) return strcmp( r.aName, aName ); - else return nRes; - */ sal_Int32 nRes = r.nNameLen - nNameLen; if( !nRes ) nRes = r.aName.compareTo( aName ); + return (short)nRes; - //return aName.CompareTo( r.aName ); } // These load/store operations are a bit more complicated, |