Hi everybody,<div><br></div><div>As I had mentioned in another thread, a unit test has been failing in my machine for some time. This is not a fatal error, but I think it would be beneficial to understand where the problem comes from.</div><div><br></div><div>The test is CppunitTest_sw_ooxmlexport (ooxmlimport failed for some time, but apparently got fixed). It fails on the following condition:</div><div><br></div><div><div>Test name: testCropPixel::Import_Export_Import</div><div>assertion failed</div><div>- Expression: getXPath(pXmlDoc, "//a:srcRect", "l").toInt32() <= 21856</div><div><br></div><div>Failures !!!</div><div>Run: 106   Failure total: 1   Failures: 1   Errors: 0</div><div>warn:fwk:98596:1:framework/source/services/desktop.cxx:1020: Desktop disposed before terminating it</div><div>2014-12-12 17:37:13.640 cppunittester[98596:7597699] *** -[NSAutoreleasePool release]: This pool has already been released, do not drain it (double release).</div><div>warn:legacy.osl:98596:1:unotools/source/config/configmgr.cxx:167: OSL_ASSERT: items_.empty()</div><div><br></div><div>Error: a unit test failed, please do one of:</div><div><br></div><div>export DEBUGCPPUNIT=TRUE            # for exception catching</div><div>export CPPUNITTRACE="lldb --" # for interactive debugging on OSX</div><div>export VALGRIND=memcheck            # for memory checking</div><div><br></div><div>and retry using: make CppunitTest_sw_ooxmlexport</div></div><div><br></div><div>The following commit may be relevant:</div><div><br></div><div><div>commit b1b29ae795ff86097b21907f814d94bd5488929d</div><div>Author: Stephan Bergmann <<a href="mailto:sbergman@redhat.com">sbergman@redhat.com</a>></div><div>Date:   Thu Nov 20 12:06:11 2014 +0100</div><div><br></div><div>    ...at least, that's the value for me on Mac with retina</div><div>    </div><div>    Change-Id: I041b497bab9415b2b33d6b4b91f3c58ea9dbc05f</div><div><br></div><div>diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport.cxx</div><div>index 519ad65..96b0d0ee 100644</div><div>--- a/sw/qa/extras/ooxmlexport/ooxmlexport.cxx</div><div>+++ b/sw/qa/extras/ooxmlexport/ooxmlexport.cxx</div><div>@@ -484,9 +484,7 @@ DECLARE_OOXMLEXPORT_TEST(testCropPixel, "crop-pixel.docx")</div><div>         // This is 17667 in the original document, was 504666 (so the image</div><div>         // become invisible), now is around 19072.</div><div>         (void) pXmlDoc;</div><div>-#ifndef MACOSX</div><div>-        CPPUNIT_ASSERT(getXPath(pXmlDoc, "//a:srcRect", "l").toInt32() < 20000);</div><div>-#endif</div><div>+        CPPUNIT_ASSERT(getXPath(pXmlDoc, "//a:srcRect", "l").toInt32() <= 21856);</div><div>     }</div><div> }</div></div><div><br></div><div>My Mac (Retina 13") gives the value <span style="color:rgb(0,0,0);font-size:small;line-height:normal;white-space:pre-wrap">22452, but I'm not able to tell which value is "valid", or on which Mac with retina the other value was produced. Does anybody else use OS X Yosemite here?</span></div><div><span style="color:rgb(0,0,0);font-size:small;line-height:normal;white-space:pre-wrap"><br></span></div><div><span style="color:rgb(0,0,0);font-size:small;line-height:normal;white-space:pre-wrap">Thanks,</span></div><div><span style="color:rgb(0,0,0);font-size:small;line-height:normal;white-space:pre-wrap">Renato.</span></div>