summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-07-13 21:16:54 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-07-13 21:16:54 +0200
commitf1139806e56c468181d250bcfbb878d3a97eb94a (patch)
treec3963835b6c4f7897ed9aca9ae33cc96454e5feb /sc
parent76fd08ed822e791c812dd674265d977a4b3c59bb (diff)
parent87c6beddfb684cee702ec1c9225497b8541a780d (diff)
Merge branch 'feature/gsoc_test_improvements2'
Diffstat (limited to 'sc')
-rw-r--r--sc/qa/extras/regression-test.cxx5
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());
}
}