binaryurp/source/lessoperators.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 059f041dfdffe0630ec573fb444c51cc463b90b1 Author: Julien Nabet <[email protected]> Date: Thu Jun 13 21:27:26 2013 +0200 cppcheck: fix duplicateExpression Change-Id: If3b7b1faab858afa82d4c665ee1a5036190e69aa Reviewed-on: https://gerrit.libreoffice.org/4278 Reviewed-by: Tomáš Chvátal <[email protected]> Tested-by: Tomáš Chvátal <[email protected]> diff --git a/binaryurp/source/lessoperators.cxx b/binaryurp/source/lessoperators.cxx index 55f3a49..3a515f5 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,
_______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
