summaryrefslogtreecommitdiff
path: root/vcl/inc/textrender.hxx
diff options
context:
space:
mode:
authorMox Soini <mox@iki.fi>2015-06-02 23:52:56 +0300
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-06-11 08:35:09 +0000
commit0c87f8bf42ba0338dbf6516dc9539223a5dedf4c (patch)
treeb2257ea435d70bf8e5bc00f0529f6dabf6e563b5 /vcl/inc/textrender.hxx
parent776a3f14f2d987312b926ebc1ad09321a3a87f0d (diff)
Cleanup crossplatform cairo
Mac / Win cairo is not built / used, this cairo code can be removed to reduce code bloat. 4th Revised version with Android fixes Change-Id: I6e56850f535ca13b77839b7d67e227c5f39d388e Reviewed-on: https://gerrit.libreoffice.org/16218 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'vcl/inc/textrender.hxx')
-rw-r--r--vcl/inc/textrender.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/vcl/inc/textrender.hxx b/vcl/inc/textrender.hxx
index 12c47c3ac715..c43ddc6ebd96 100644
--- a/vcl/inc/textrender.hxx
+++ b/vcl/inc/textrender.hxx
@@ -28,6 +28,7 @@
#include "salgdi.hxx"
#include "salglyphid.hxx"
#include "fontsubset.hxx"
+#include <config_cairo_canvas.h>
class PspSalPrinter;
class PspSalInfoPrinter;
@@ -81,7 +82,9 @@ public:
virtual bool GetGlyphOutline( sal_GlyphId nIndex, ::basegfx::B2DPolyPolygon& ) = 0;
virtual SalLayout* GetTextLayout( ImplLayoutArgs&, int nFallbackLevel ) = 0;
virtual void DrawServerFontLayout( const ServerFontLayout& ) = 0;
+#if ENABLE_CAIRO_CANVAS
virtual SystemFontData GetSysFontData( int nFallbackLevel ) const = 0;
+#endif // ENABLE_CAIRO_CANVAS
};
#endif