summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-12-28 08:55:09 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-01-05 09:18:15 +0000
commit697415eb4e22f6a788de55fcb2294ca8d70ebb20 (patch)
treeb1922dc55657ddd49bb62a64737d6447b65b70bb /vcl
parentae8bb0032fdd9007b0fd716aab2648af7754d48a (diff)
WaE and build errors with OSL_DEBUG_LEVEL == 2
Diffstat (limited to 'vcl')
-rw-r--r--vcl/generic/fontmanager/fontcache.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/generic/fontmanager/fontcache.cxx b/vcl/generic/fontmanager/fontcache.cxx
index 6b1551e1e4e0..12767f9822e8 100644
--- a/vcl/generic/fontmanager/fontcache.cxx
+++ b/vcl/generic/fontmanager/fontcache.cxx
@@ -116,7 +116,7 @@ void FontCache::flush()
if( ! (aStream.IsOpen() && aStream.IsWritable()) )
{
#if OSL_DEBUG_LEVEL > 1
- fprintf( stderr, "FontCache::flush: opening cache file %s failed\n", ByteString( m_aCacheFile, osl_getThreadTextEncoding() ).GetBuffer() );
+ fprintf( stderr, "FontCache::flush: opening cache file %s failed\n", rtl::OUStringToOString(m_aCacheFile, osl_getThreadTextEncoding()).getStr() );
#endif
return;
}
@@ -131,7 +131,7 @@ void FontCache::flush()
{
const FontDirMap& rDir( dir_it->second.m_aEntries );
- ByteString aDirectory( rManager.getDirectory( dir_it->first ) );
+ rtl::OString aDirectory(rManager.getDirectory(dir_it->first));
rtl::OStringBuffer aLine(
RTL_CONSTASCII_STRINGPARAM("FontCacheDirectory:"));
aLine.append(dir_it->second.m_nTimestamp);
@@ -259,7 +259,7 @@ void FontCache::read()
if( ! aStream.IsOpen() )
{
#if OSL_DEBUG_LEVEL > 1
- fprintf( stderr, "FontCache::read: opening cache file %s failed\n", ByteString( m_aCacheFile, osl_getThreadTextEncoding() ).GetBuffer() );
+ fprintf( stderr, "FontCache::read: opening cache file %s failed\n", rtl::OUStringToOString(m_aCacheFile, osl_getThreadTextEncoding()).getStr() );
#endif
return;
}
@@ -270,7 +270,7 @@ void FontCache::read()
if( !aLine.Equals( CACHE_MAGIC ) )
{
#if OSL_DEBUG_LEVEL >1
- fprintf( stderr, "FontCache::read: cache file %s fails magic test\n", ByteString( m_aCacheFile, osl_getThreadTextEncoding() ).GetBuffer() );
+ fprintf( stderr, "FontCache::read: cache file %s fails magic test\n", rtl::OUStringToOString(m_aCacheFile, osl_getThreadTextEncoding()).getStr() );
#endif
return;
}