Kaydet (Commit) 9359e306 authored tarafından Caolán McNamara's avatar Caolán McNamara

WaE: for windows compiler

üst 05157ef7
......@@ -95,9 +95,12 @@ bool Prot::protect(
bool Prot::protect(CppUnit::Functor const & functor)
{
try {
return functor();
} catch (const css::uno::Exception &e) {
bool bRet = false;
try
{
bRet = functor();
} catch (const css::uno::Exception &e)
{
css::uno::Any a(cppu::getCaughtException());
std::cerr
<< convert(rtl::OUString(
......@@ -108,7 +111,7 @@ bool Prot::protect(CppUnit::Functor const & functor)
<< std::endl;
throw;
}
return false;
return bRet;
}
}
......
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