diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-08-18 14:00:27 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-08-18 15:48:30 +0100 |
commit | f17a2a006388d33d26adf9038795550361c0d62b (patch) | |
tree | 950db9af22cd687bbb06987a51da1a6ceceeec33 /vcl/unx/generic | |
parent | 85147fabdbdec809c9ecf1582adbdb03f00c42c6 (diff) |
remove various casts from ServerFont to FreetypeServeFont
i.e. add the missing api directly to ServerFont
Diffstat (limited to 'vcl/unx/generic')
-rw-r--r-- | vcl/unx/generic/gdi/pspgraphics.cxx | 2 | ||||
-rw-r--r-- | vcl/unx/generic/gdi/salgdi3.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/vcl/unx/generic/gdi/pspgraphics.cxx b/vcl/unx/generic/gdi/pspgraphics.cxx index f5546da6e785..a75ec2e5b30e 100644 --- a/vcl/unx/generic/gdi/pspgraphics.cxx +++ b/vcl/unx/generic/gdi/pspgraphics.cxx @@ -991,7 +991,7 @@ SalLayout* PspGraphics::GetTextLayout( ImplLayoutArgs& rArgs, int nFallbackLevel { #ifdef ENABLE_GRAPHITE // Is this a Graphite font? - if (GraphiteServerFontLayout::IsGraphiteEnabledFont(m_pServerFont[nFallbackLevel])) + if (GraphiteServerFontLayout::IsGraphiteEnabledFont(*m_pServerFont[nFallbackLevel])) { pLayout = new GraphiteServerFontLayout(*m_pServerFont[nFallbackLevel]); } diff --git a/vcl/unx/generic/gdi/salgdi3.cxx b/vcl/unx/generic/gdi/salgdi3.cxx index 023f64bb5e7c..1b33ba4e1860 100644 --- a/vcl/unx/generic/gdi/salgdi3.cxx +++ b/vcl/unx/generic/gdi/salgdi3.cxx @@ -1101,7 +1101,7 @@ SalLayout* X11SalGraphics::GetTextLayout( ImplLayoutArgs& rArgs, int nFallbackLe #ifdef ENABLE_GRAPHITE // Is this a Graphite font? if (!bDisableGraphite_ && - GraphiteServerFontLayout::IsGraphiteEnabledFont(mpServerFont[nFallbackLevel])) + GraphiteServerFontLayout::IsGraphiteEnabledFont(*mpServerFont[nFallbackLevel])) { pLayout = new GraphiteServerFontLayout(*mpServerFont[nFallbackLevel]); } |