summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2012-02-18 18:54:33 +0100
committerThomas Arnhold <thomas@arnhold.org>2012-02-18 21:32:58 +0100
commit39d219b6b0f5d83306cbc0a2f03560b4abc4c24f (patch)
treed95fb3b5b5ba0ecb7fba416387b77fb98db2dff6 /vcl
parent35244a509981c950acd0d8e7e035af791bf2b0ba (diff)
vcl: nFallbacklevel has no effect
Diffstat (limited to 'vcl')
-rw-r--r--vcl/generic/print/genpspgraphics.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/vcl/generic/print/genpspgraphics.cxx b/vcl/generic/print/genpspgraphics.cxx
index 67bb7595b8a1..b806c1d933ba 100644
--- a/vcl/generic/print/genpspgraphics.cxx
+++ b/vcl/generic/print/genpspgraphics.cxx
@@ -1319,11 +1319,8 @@ SystemGraphicsData GenPspGraphics::GetGraphicsData() const
return SystemGraphicsData();
}
-SystemFontData GenPspGraphics::GetSysFontData( int nFallbacklevel ) const
+SystemFontData GenPspGraphics::GetSysFontData( int /* nFallbacklevel */ ) const
{
- if (nFallbacklevel >= MAX_FALLBACK) nFallbacklevel = MAX_FALLBACK - 1;
- if (nFallbacklevel < 0 ) nFallbacklevel = 0;
-
return SystemFontData();
}