use getStr instead of cast
This commit is contained in:
parent
bfcb6fd277
commit
08f312431e
2 changed files with 4 additions and 4 deletions
|
@ -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 );
|
||||
|
|
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue