filter/qa/cppunit/xslt-test.cxx | 1 + 1 file changed, 1 insertion(+) New commits: commit 8af7a8953248dd184cd620b934ee6abc147f4076 Author: Michael Stahl <mst...@redhat.com> Date: Tue Mar 4 21:16:23 2014 +0100
filter: don't wait forever if the xslt test fails Change-Id: I38b5372b141629341d4b4285ff634679d657fbd2 diff --git a/filter/qa/cppunit/xslt-test.cxx b/filter/qa/cppunit/xslt-test.cxx index 67efde9..ecb044b 100644 --- a/filter/qa/cppunit/xslt-test.cxx +++ b/filter/qa/cppunit/xslt-test.cxx @@ -63,6 +63,7 @@ struct Listener : public ::cppu::WeakImplHelper1<io::XStreamListener> virtual void SAL_CALL terminated() throw() SAL_OVERRIDE { m_bDone = true; } virtual void SAL_CALL error(const uno::Any& e) throw() SAL_OVERRIDE { + m_bDone = true; // set on error too, otherwise main thread waits forever SAL_WARN("filter.xslt", "exception " << e); CPPUNIT_FAIL("exception while in XSLT"); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits