summaryrefslogtreecommitdiff
path: root/sw/source/core/access/accmap.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-11-01 22:38:51 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-11-02 09:58:52 +0000
commit057d3225203543f6d0f2d658d884ed11241e88ee (patch)
treed9788cfb7ccc6236f107eac63c695337883489bb /sw/source/core/access/accmap.cxx
parentc6189de19431869eafcba64428858ff5410f2a98 (diff)
ByteString->rtl::OString
Diffstat (limited to 'sw/source/core/access/accmap.cxx')
-rw-r--r--sw/source/core/access/accmap.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/access/accmap.cxx b/sw/source/core/access/accmap.cxx
index 1dc2c8c99f4e..4c03c4c147a9 100644
--- a/sw/source/core/access/accmap.cxx
+++ b/sw/source/core/access/accmap.cxx
@@ -185,9 +185,9 @@ void SwDrawModellListener_Impl::Notify( SfxBroadcaster& /*rBC*/,
{
(void)r;
#if OSL_DEBUG_LEVEL > 1
- ByteString aError( "Runtime exception caught while notifying shape.:\n" );
- aError += ByteString( String( r.Message), RTL_TEXTENCODING_ASCII_US );
- OSL_FAIL( aError.GetBuffer() );
+ rtl::OStringBuffer aError(RTL_CONSTASCII_STRINGPARAM("Runtime exception caught while notifying shape.:\n"));
+ aError.append(rtl::OUStringToOString(r.Message, RTL_TEXTENCODING_ASCII_US));
+ OSL_FAIL( aError.getStr() );
#endif
}
}