https://bugs.freedesktop.org/show_bug.cgi?id=86839
Bug ID: 86839
Summary: Failing unit test sw_ooxmlexport building master on OS
X 10.10.1 / Xcode 6.1
Product: LibreOffice
Version: 4.5.0.0.alpha0+ Master
Hardware: x86-64 (AMD64)
OS: Mac OS X (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: filters and storage
Assignee: [email protected]
Reporter: [email protected]
Created attachment 110210
--> https://bugs.freedesktop.org/attachment.cgi?id=110210&action=edit
XML exported by the test on crop-pixel.docx
After a change probably made between 2014-11-12 and 2014-11-27 (could be off by
a few days), the following test fails on Mac OS: CppunitTest_sw_ooxmlexport
On the the following assert at sw/qa/extras/ooxmlexport/ooxmlexport.cxx:
478 DECLARE_OOXMLEXPORT_TEST(testCropPixel, "crop-pixel.docx")
479 {
480 // If map mode of the graphic is in pixels, then we used to handle
original
481 // size of the graphic as mm100, but it was in pixels.
482 if (xmlDocPtr pXmlDoc = parseExport("word/document.xml"))
483 {
484 // This is 17667 in the original document, was 504666 (so the image
485 // become invisible), now is around 19072.
486 (void) pXmlDoc;
487 CPPUNIT_ASSERT(getXPath(pXmlDoc, "//a:srcRect", "l").toInt32() <=
21856);
488 }
489 }
The actual value produced is 22452.
I am attaching the XML produced.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs