summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-08-07 08:51:43 +0200
committerNoel Grandin <noel@peralex.com>2013-08-12 11:56:44 +0200
commita0ec0306143858d56176e119cd3d7dca8ffb4fdb (patch)
treea8df4821b066a1902ba9f7501c2d54f8d4158c8e /vcl
parent0aee84cbe58f8f59a74b0133467b4371d0e6e32f (diff)
convert vcl/inc/fontcache.hxx from String to OUString
Change-Id: If3ad694b80209f401bc73461d219006058bd11e1
Diffstat (limited to 'vcl')
-rw-r--r--vcl/generic/fontmanager/fontcache.cxx6
-rw-r--r--vcl/inc/fontcache.hxx2
2 files changed, 4 insertions, 4 deletions
diff --git a/vcl/generic/fontmanager/fontcache.cxx b/vcl/generic/fontmanager/fontcache.cxx
index 0f6c6777c3cb..55e7a32c08b0 100644
--- a/vcl/generic/fontmanager/fontcache.cxx
+++ b/vcl/generic/fontmanager/fontcache.cxx
@@ -54,9 +54,9 @@ FontCache::FontCache()
{
m_bDoFlush = false;
m_aCacheFile = getOfficePath( UserPath );
- if( m_aCacheFile.Len() )
+ if( !m_aCacheFile.isEmpty() )
{
- m_aCacheFile.AppendAscii( FONTCACHEFILE );
+ m_aCacheFile += FONTCACHEFILE;
read();
}
}
@@ -92,7 +92,7 @@ void FontCache::clearCache()
void FontCache::flush()
{
- if( ! m_bDoFlush || ! m_aCacheFile.Len() )
+ if( ! m_bDoFlush || m_aCacheFile.isEmpty() )
return;
SvFileStream aStream;
diff --git a/vcl/inc/fontcache.hxx b/vcl/inc/fontcache.hxx
index ad2a8bbd10ac..53086c7f5287 100644
--- a/vcl/inc/fontcache.hxx
+++ b/vcl/inc/fontcache.hxx
@@ -56,7 +56,7 @@ class VCL_PLUGIN_PUBLIC FontCache
typedef boost::unordered_map< int, FontDir > FontCacheData;
FontCacheData m_aCache;
- String m_aCacheFile;
+ OUString m_aCacheFile;
bool m_bDoFlush;
void read();