summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-03-04 21:16:23 +0100
committerMichael Stahl <mstahl@redhat.com>2014-03-04 21:17:19 +0100
commit8af7a8953248dd184cd620b934ee6abc147f4076 (patch)
tree42bc6193c60a12021287f0f87f2597dbc23325df /filter
parent20a7a705b572f02049ebe76b2e8cc84c4f4b3d05 (diff)
filter: don't wait forever if the xslt test fails
Change-Id: I38b5372b141629341d4b4285ff634679d657fbd2
Diffstat (limited to 'filter')
-rw-r--r--filter/qa/cppunit/xslt-test.cxx1
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");
}