coverity#982853 Assign instead of compare

Change-Id: I51df1f766314ea801ae33d6843b5ce6fc49445ac
This commit is contained in:
Julien Nabet
2013-03-16 22:30:27 +01:00
parent 918f8ed91e
commit f98e321698

View File

@@ -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);