vcl/qa/cppunit/svm/svmtest.cxx | 6 ++++++ 1 file changed, 6 insertions(+)
New commits: commit 4f533655dd635dab30574c2a3b3915377124bd60 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Sun Feb 6 13:22:41 2022 +0000 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Sun Feb 6 15:44:01 2022 +0100 this test is endian-dependant Change-Id: I03c1c926441f80c3741bb7d9231363603d0dbffe Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129579 Tested-by: Caolán McNamara <caol...@redhat.com> Reviewed-by: Caolán McNamara <caol...@redhat.com> 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"}