diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2013-03-16 22:33:21 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2013-03-16 22:33:21 +0100 |
commit | 92e7d266419846a0dbbcd177161d7e29d95d4319 (patch) | |
tree | 0086103417703b7e4bbd7436115401552544b902 | |
parent | coverity#982853 Assign instead of compare (diff) | |
download | core-92e7d266419846a0dbbcd177161d7e29d95d4319.tar.gz core-92e7d266419846a0dbbcd177161d7e29d95d4319.zip |
coverity#982854 Assign instead of compare
Change-Id: I9ac6a537da3a945cc48be84559f9ce253a93cd47
-rw-r--r-- | basic/qa/cppunit/test_scanner.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/basic/qa/cppunit/test_scanner.cxx b/basic/qa/cppunit/test_scanner.cxx index 7e6273c6b847..3396d0fa2a1d 100644 --- a/basic/qa/cppunit/test_scanner.cxx +++ b/basic/qa/cppunit/test_scanner.cxx @@ -766,14 +766,14 @@ namespace CPPUNIT_ASSERT(symbols.size() == 2); CPPUNIT_ASSERT(symbols[0].number == 2783); CPPUNIT_ASSERT(symbols[0].text == OUString()); - CPPUNIT_ASSERT(symbols[0].type = SbxINTEGER); + CPPUNIT_ASSERT(symbols[0].type == SbxINTEGER); CPPUNIT_ASSERT(symbols[1].text == cr); symbols = getSymbols(source3); CPPUNIT_ASSERT(symbols.size() == 2); CPPUNIT_ASSERT(symbols[0].number == 16); CPPUNIT_ASSERT(symbols[0].text == OUString()); - CPPUNIT_ASSERT(symbols[0].type = SbxINTEGER); + CPPUNIT_ASSERT(symbols[0].type == SbxINTEGER); CPPUNIT_ASSERT(symbols[1].text == cr); symbols = getSymbols(source4); |