summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2015-04-03 13:02:35 +0300
committerTor Lillqvist <tml@collabora.com>2015-04-04 13:16:13 +0300
commit648655994e8d839d9ab645f5084c906ae2cc1e75 (patch)
tree0d11d14ef2759e6cf342fcffc735d5d7c232e870 /vcl
parent7f4405faf74eb7294921fc20c0acd18f11d03ef3 (diff)
Pointless to have a macro that is used just once
Change-Id: Ieead62bcbfab5a96b5350bf30fbbb712f981f10c
Diffstat (limited to 'vcl')
-rw-r--r--vcl/generic/fontmanager/fontcache.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/vcl/generic/fontmanager/fontcache.cxx b/vcl/generic/fontmanager/fontcache.cxx
index 3dcba186f49f..7448570c8ada 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();
}
}