[Libreoffice-commits] core.git: binaryurp/source
Julien Nabet
serval2412 at yahoo.fr
Thu Jun 13 14:23:08 PDT 2013
binaryurp/source/lessoperators.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 059f041dfdffe0630ec573fb444c51cc463b90b1
Author: Julien Nabet <serval2412 at yahoo.fr>
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 <tchvatal at suse.cz>
Tested-by: Tomáš Chvátal <tchvatal at suse.cz>
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,
More information about the Libreoffice-commits
mailing list