summaryrefslogtreecommitdiff
path: root/vcl/generic/glyphs
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2012-12-20 23:10:48 +0100
committerJulien Nabet <serval2412@yahoo.fr>2012-12-20 23:11:23 +0100
commit5ee129fbc039b0fc91048e62c7db1755b83aa01c (patch)
treeb2702637d2330fbd127d3e322ba88b7ef60bd479 /vcl/generic/glyphs
parent94f21050aefc56769e49022c6444fd8cd8a4f37d (diff)
Some cppcheck
Change-Id: Ifec449ea334d9055bb33beb0518ab2e01d885d0d
Diffstat (limited to 'vcl/generic/glyphs')
-rw-r--r--vcl/generic/glyphs/gcach_ftyp.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/vcl/generic/glyphs/gcach_ftyp.cxx b/vcl/generic/glyphs/gcach_ftyp.cxx
index fa256aa96f46..d7e693bc8e0b 100644
--- a/vcl/generic/glyphs/gcach_ftyp.cxx
+++ b/vcl/generic/glyphs/gcach_ftyp.cxx
@@ -371,9 +371,8 @@ GraphiteFaceWrapper * FtFontInfo::GetGraphiteFace()
// test for graphite here so that it is cached most efficiently
if (GetTable("Silf", 0))
{
- int graphiteSegCacheSize = 10000;
static const char* pGraphiteCacheStr = getenv( "SAL_GRAPHITE_CACHE_SIZE" );
- graphiteSegCacheSize = pGraphiteCacheStr ? (atoi(pGraphiteCacheStr)) : 0;
+ int graphiteSegCacheSize = pGraphiteCacheStr ? (atoi(pGraphiteCacheStr)) : 0;
gr_face * pGraphiteFace;
if (graphiteSegCacheSize > 500)
pGraphiteFace = gr_make_face_with_seg_cache(this, graphiteFontTable, graphiteSegCacheSize, gr_face_cacheCmap);