[Libreoffice-commits] .: ucb/source
Caolán McNamara
caolan at kemper.freedesktop.org
Wed Oct 5 01:29:06 PDT 2011
ucb/source/ucp/cmis/cmis_provider.cxx | 4 ++--
ucb/source/ucp/gio/gio_provider.cxx | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
New commits:
commit 08f312431ebd5de7f6537fbc534d4276806bb319
Author: Caolán McNamara <caolanm at redhat.com>
Date: Wed Oct 5 09:29:02 2011 +0100
use getStr instead of cast
diff --git a/ucb/source/ucp/cmis/cmis_provider.cxx b/ucb/source/ucp/cmis/cmis_provider.cxx
index 297737c..411fef5 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 7093a35..d8a6382 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 );
More information about the Libreoffice-commits
mailing list