summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-10-05 11:28:47 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-10-05 11:28:47 +0100
commit574ba5206f1251b09df2ec32f525adf0f985cf6d (patch)
tree7fea0b45aaebdc6d7d2d65b0d3fe323c0ee012a7 /sw
parente9a562ed69d304f0e844d3cb51ac8cf2d3164a63 (diff)
getStr for OSL_FAIL
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/dbui/mmaddressblockpage.cxx2
1 files changed, 1 insertions, 1 deletions
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;