[Libreoffice-commits] core.git: filter/qa
Michael Stahl
mstahl at redhat.com
Tue Mar 4 12:21:16 PST 2014
filter/qa/cppunit/xslt-test.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 8af7a8953248dd184cd620b934ee6abc147f4076
Author: Michael Stahl <mstahl at 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");
}
More information about the Libreoffice-commits
mailing list