diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-07-13 21:16:54 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-07-13 21:16:54 +0200 |
commit | f1139806e56c468181d250bcfbb878d3a97eb94a (patch) | |
tree | c3963835b6c4f7897ed9aca9ae33cc96454e5feb /sc | |
parent | 76fd08ed822e791c812dd674265d977a4b3c59bb (diff) | |
parent | 87c6beddfb684cee702ec1c9225497b8541a780d (diff) |
Merge branch 'feature/gsoc_test_improvements2'
Diffstat (limited to 'sc')
-rw-r--r-- | sc/qa/extras/regression-test.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sc/qa/extras/regression-test.cxx b/sc/qa/extras/regression-test.cxx index 2c281058b864..e909467ffecf 100644 --- a/sc/qa/extras/regression-test.cxx +++ b/sc/qa/extras/regression-test.cxx @@ -73,9 +73,8 @@ bool checkDumpAgainstFile( const rtl::OUString& rDump, const rtl::OUString aFile CPPUNIT_ASSERT_MESSAGE("dump is empty", !rDump.isEmpty()); rtl::OString aDump = rtl::OUStringToOString(rDump, RTL_TEXTENCODING_UTF8); - XMLDiff aDiff(aOFile.getStr(), aDump.getStr(),static_cast<int>(rDump.getLength()), aToleranceFile.getStr()); - - return aDiff.compare(); + return doXMLDiff(aOFile.getStr(), aDump.getStr(), + static_cast<int>(rDump.getLength()), aToleranceFile.getStr()); } } |