diff options
Diffstat (limited to 'binaryurp/source/lessoperators.cxx')
-rw-r--r-- | binaryurp/source/lessoperators.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/binaryurp/source/lessoperators.cxx b/binaryurp/source/lessoperators.cxx index 55f3a49c2340..3a515f549f22 100644 --- a/binaryurp/source/lessoperators.cxx +++ b/binaryurp/source/lessoperators.cxx @@ -36,7 +36,7 @@ bool operator<( const TypeDescription& rLeft, const TypeDescription& rRight) { assert( rLeft.is() && rRight.is()); const typelib_TypeDescription& rA = *rLeft.get(); const typelib_TypeDescription& rB = *rRight.get(); - if( rA.eTypeClass != rA.eTypeClass) + if( rA.eTypeClass != rB.eTypeClass) return (rA.eTypeClass < rB.eTypeClass); const sal_Int32 nCmp = rtl_ustr_compare_WithLength( rA.pTypeName->buffer, rA.pTypeName->length, |