summaryrefslogtreecommitdiff
path: root/sc/qa/extras
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2012-07-13 12:29:03 +0200
committerMichael Stahl <mstahl@redhat.com>2012-07-13 12:29:03 +0200
commit87c6beddfb684cee702ec1c9225497b8541a780d (patch)
tree4797c170bca6153493535d301e2cd18e4e67db81 /sc/qa/extras
parentee615aeb2c11ee1f288f903c2a7550299a9bc820 (diff)
test: move XMLDiff implementation details to cxx file
This makes it unnecessary to link clients against libxml2. Change-Id: Ifd295623c01bdc6f579afbf81d5b609a2b29f4bf
Diffstat (limited to 'sc/qa/extras')
-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());
}
}