diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-03-04 21:16:23 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-03-04 21:17:19 +0100 |
commit | 8af7a8953248dd184cd620b934ee6abc147f4076 (patch) | |
tree | 42bc6193c60a12021287f0f87f2597dbc23325df /filter/qa | |
parent | in the old design all lists needed to be the same size, fdo75200 (diff) | |
download | core-8af7a8953248dd184cd620b934ee6abc147f4076.tar.gz core-8af7a8953248dd184cd620b934ee6abc147f4076.zip |
filter: don't wait forever if the xslt test fails
Change-Id: I38b5372b141629341d4b4285ff634679d657fbd2
Diffstat (limited to 'filter/qa')
-rw-r--r-- | filter/qa/cppunit/xslt-test.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/filter/qa/cppunit/xslt-test.cxx b/filter/qa/cppunit/xslt-test.cxx index 67efde9ba5cb..ecb044b8553d 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"); } |