diff options
author | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-02-10 23:42:15 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-02-10 23:42:56 +0100 |
commit | 8a0298fc1fd05e0bee69048ea12d360768d7ecd0 (patch) | |
tree | 259f7657498e29078f3bf8bb473c20e3d5558d65 /sot | |
parent | b3621802219d3ad7d8eafbb9367903c9001a3602 (diff) |
remove commented code
Change-Id: Ibc04f08b52d754263151ee66d03b58abe2f4e4ee
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, |