getStr for OSL_FAIL

This commit is contained in:
Caolán McNamara
2011-10-05 11:28:47 +01:00
parent e9a562ed69
commit 574ba5206f

View File

@@ -195,7 +195,7 @@ IMPL_LINK(SwMailMergeAddressBlockPage, AddressListHdl_Impl, PushButton*, EMPTYAR
}
catch (const uno::Exception& e)
{
OSL_FAIL(rtl::OUStringToOString(e.Message, osl_getThreadTextEncoding()));
OSL_FAIL(rtl::OUStringToOString(e.Message, osl_getThreadTextEncoding()).getStr());
ErrorBox(this, WB_OK, e.Message).Execute();
}
return 0;