diff options
author | Caolán McNamara <caolanm@redhat.com> | 2022-02-06 13:22:41 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2022-02-06 15:44:01 +0100 |
commit | 4f533655dd635dab30574c2a3b3915377124bd60 (patch) | |
tree | 8754acf36dbaf3a84bc6299948ca28e2037bdf23 /vcl | |
parent | e15c04f16fa28aa70de7de1e10d57fd03ab0b2d4 (diff) |
this test is endian-dependant
Change-Id: I03c1c926441f80c3741bb7d9231363603d0dbffe
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129579
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/qa/cppunit/svm/svmtest.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/vcl/qa/cppunit/svm/svmtest.cxx b/vcl/qa/cppunit/svm/svmtest.cxx index 06690512b1f1..91c9128278a7 100644 --- a/vcl/qa/cppunit/svm/svmtest.cxx +++ b/vcl/qa/cppunit/svm/svmtest.cxx @@ -2220,9 +2220,15 @@ void SvmTest::checkComment(const GDIMetaFile& rMetafile) {"datasize", "48"} }); +#ifdef OSL_LITENDIAN assertXPathAttrs(pDoc, "/metafile/comment[2]", { {"data", "540068006500730065002000610072006500200073006f006d0065002000740065007300740020006400610074006100"} }); +#else + assertXPathAttrs(pDoc, "/metafile/comment[2]", { + {"data", "00540068006500730065002000610072006500200073006f006d00650020007400650073007400200064006100740061"} + }); +#endif assertXPathAttrs(pDoc, "/metafile/comment[2]", { {"value", "4"} |