diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-10-05 09:29:02 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-10-05 09:29:02 +0100 |
commit | 08f312431ebd5de7f6537fbc534d4276806bb319 (patch) | |
tree | faee8f30bdb8decb0af4d8a1f3328d21323d104c /ucb | |
parent | bfcb6fd277a945523cec03d7022cfdc479e6344d (diff) |
use getStr instead of cast
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/ucp/cmis/cmis_provider.cxx | 4 | ||||
-rw-r--r-- | ucb/source/ucp/gio/gio_provider.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/ucb/source/ucp/cmis/cmis_provider.cxx b/ucb/source/ucp/cmis/cmis_provider.cxx index 297737c5a026..411fef5095c7 100644 --- a/ucb/source/ucp/cmis/cmis_provider.cxx +++ b/ucb/source/ucp/cmis/cmis_provider.cxx @@ -47,8 +47,8 @@ ContentProvider::queryContent( { #ifdef DEBUG fprintf(stderr, "QueryContent: '%s'\n", - (const sal_Char *)rtl::OUStringToOString - (Identifier->getContentIdentifier(), RTL_TEXTENCODING_UTF8)); + rtl::OUStringToOString + (Identifier->getContentIdentifier(), RTL_TEXTENCODING_UTF8).getStr()); #endif osl::MutexGuard aGuard( m_aMutex ); diff --git a/ucb/source/ucp/gio/gio_provider.cxx b/ucb/source/ucp/gio/gio_provider.cxx index 7093a3572a9a..d8a63825f3ec 100644 --- a/ucb/source/ucp/gio/gio_provider.cxx +++ b/ucb/source/ucp/gio/gio_provider.cxx @@ -47,8 +47,8 @@ ContentProvider::queryContent( { #ifdef DEBUG fprintf(stderr, "QueryContent: '%s'", - (const sal_Char *)rtl::OUStringToOString - (Identifier->getContentIdentifier(), RTL_TEXTENCODING_UTF8)); + rtl::OUStringToOString + (Identifier->getContentIdentifier(), RTL_TEXTENCODING_UTF8).getStr()); #endif osl::MutexGuard aGuard( m_aMutex ); |