[Libreoffice-commits] core.git: basic/qa
Julien Nabet
serval2412 at yahoo.fr
Sat Mar 16 14:32:48 PDT 2013
basic/qa/cppunit/test_scanner.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit f98e321698cd26fbb32078bf24002bd2bbafb1cb
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Sat Mar 16 22:30:27 2013 +0100
coverity#982853 Assign instead of compare
Change-Id: I51df1f766314ea801ae33d6843b5ce6fc49445ac
diff --git a/basic/qa/cppunit/test_scanner.cxx b/basic/qa/cppunit/test_scanner.cxx
index bce45c4..7e6273c 100644
--- a/basic/qa/cppunit/test_scanner.cxx
+++ b/basic/qa/cppunit/test_scanner.cxx
@@ -317,7 +317,7 @@ namespace
symbols = getSymbols(source9);
CPPUNIT_ASSERT(symbols.size() == 3);
CPPUNIT_ASSERT(symbols[0].text.isEmpty());
- CPPUNIT_ASSERT(symbols[0].number = 19395);
+ CPPUNIT_ASSERT(symbols[0].number == 19395);
CPPUNIT_ASSERT(symbols[0].type == SbxINTEGER);
CPPUNIT_ASSERT(symbols[1].text == OUString("asdfa"));
CPPUNIT_ASSERT(symbols[1].type == SbxVARIANT);
More information about the Libreoffice-commits
mailing list