summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-03-05 08:48:44 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-03-05 09:30:39 +0100
commit553a4d154ba37df80a0240b4ff114c274d461051 (patch)
tree6b7a1cfe7fa89f08111bf214ce1783825eb72ef1 /sc
parent4ce261f9f68ee710a883604181299b13cd14ae7b (diff)
use CPPUNIT_ASSERT_EQUAL
Change-Id: I66db2bdf7bddaa6d8f1d935e28376e3d0898071f
Diffstat (limited to 'sc')
-rw-r--r--sc/qa/unit/helper/qahelper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/qa/unit/helper/qahelper.cxx b/sc/qa/unit/helper/qahelper.cxx
index 237bbce72f03..2c22850e37d0 100644
--- a/sc/qa/unit/helper/qahelper.cxx
+++ b/sc/qa/unit/helper/qahelper.cxx
@@ -638,7 +638,7 @@ void validate(const utl::TempFile& rTempFile, validation::ScValidationFormat eFo
sal_Int32 nErrors = aNumber.toInt32();
OString aMsg("validation error in OOXML export: Errors: ");
aMsg = aMsg + OString::number(nErrors);
- CPPUNIT_ASSERT_MESSAGE(aMsg.getStr(), nErrors == 0);
+ CPPUNIT_ASSERT_EQUAL_MESSAGE(aMsg.getStr(), sal_Int32(0), nErrors);
}
}
}