[Libreoffice-commits] core.git: vcl/generic

Tor Lillqvist tml at collabora.com
Sat Apr 4 03:53:06 PDT 2015


 vcl/generic/fontmanager/fontcache.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 648655994e8d839d9ab645f5084c906ae2cc1e75
Author: Tor Lillqvist <tml at collabora.com>
Date:   Fri Apr 3 13:02:35 2015 +0300

    Pointless to have a macro that is used just once
    
    Change-Id: Ieead62bcbfab5a96b5350bf30fbbb712f981f10c

diff --git a/vcl/generic/fontmanager/fontcache.cxx b/vcl/generic/fontmanager/fontcache.cxx
index 3dcba18..7448570 100644
--- a/vcl/generic/fontmanager/fontcache.cxx
+++ b/vcl/generic/fontmanager/fontcache.cxx
@@ -37,7 +37,6 @@
 #include <cstdio>
 #endif
 
-#define FONTCACHEFILE "/user/psprint/pspfontcache"
 #define CACHE_MAGIC "LibreOffice PspFontCacheFile format 6"
 
 using namespace std;
@@ -54,7 +53,7 @@ FontCache::FontCache()
     m_aCacheFile = getOfficePath( UserPath );
     if( !m_aCacheFile.isEmpty() )
     {
-        m_aCacheFile += FONTCACHEFILE;
+        m_aCacheFile += "/user/psprint/pspfontcache";
         read();
     }
 }


More information about the Libreoffice-commits mailing list