[Libreoffice-commits] .: bridges/test
Julien Nabet
serval2412 at kemper.freedesktop.org
Thu Aug 11 12:32:10 PDT 2011
bridges/test/java_uno/acquire/testacquire.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit f26117a5f4c78d9230b115ab88ed53b8ad45ccd5
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Thu Aug 11 21:31:19 2011 +0200
Avoid throw in destructor
diff --git a/bridges/test/java_uno/acquire/testacquire.cxx b/bridges/test/java_uno/acquire/testacquire.cxx
index 130588c..7cca9a8 100644
--- a/bridges/test/java_uno/acquire/testacquire.cxx
+++ b/bridges/test/java_uno/acquire/testacquire.cxx
@@ -85,7 +85,8 @@ private:
WaitCondition::~WaitCondition() {
std::cout << "waiting for condition\n";
if (m_condition.wait() != osl::Condition::result_ok) {
- throw "osl::Condition::wait failed";
+ std::cerr << "osl::Condition::wait failed\n";
+ std::abort()
}
}
More information about the Libreoffice-commits
mailing list