Kaydet (Commit) 8af7a895 authored tarafından Michael Stahl's avatar Michael Stahl

filter: don't wait forever if the xslt test fails

Change-Id: I38b5372b141629341d4b4285ff634679d657fbd2
üst 20a7a705
...@@ -63,6 +63,7 @@ struct Listener : public ::cppu::WeakImplHelper1<io::XStreamListener> ...@@ -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 terminated() throw() SAL_OVERRIDE { m_bDone = true; }
virtual void SAL_CALL error(const uno::Any& e) throw() SAL_OVERRIDE 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); SAL_WARN("filter.xslt", "exception " << e);
CPPUNIT_FAIL("exception while in XSLT"); CPPUNIT_FAIL("exception while in XSLT");
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment