From 574ba5206f1251b09df2ec32f525adf0f985cf6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Wed, 5 Oct 2011 11:28:47 +0100 Subject: [PATCH] getStr for OSL_FAIL --- sw/source/ui/dbui/mmaddressblockpage.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sw/source/ui/dbui/mmaddressblockpage.cxx b/sw/source/ui/dbui/mmaddressblockpage.cxx index 01c87366d793..8dbd080f39c7 100644 --- a/sw/source/ui/dbui/mmaddressblockpage.cxx +++ b/sw/source/ui/dbui/mmaddressblockpage.cxx @@ -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;