From 0c87f8bf42ba0338dbf6516dc9539223a5dedf4c Mon Sep 17 00:00:00 2001 From: Mox Soini Date: Tue, 2 Jun 2015 23:52:56 +0300 Subject: 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 Reviewed-by: Miklos Vajna --- vcl/headless/svptext.cxx | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'vcl/headless/svptext.cxx') diff --git a/vcl/headless/svptext.cxx b/vcl/headless/svptext.cxx index 1651a3a49c5d..9eb39f263b69 100644 --- a/vcl/headless/svptext.cxx +++ b/vcl/headless/svptext.cxx @@ -20,6 +20,7 @@ #include #include #include "headless/svpgdi.hxx" +#include sal_uInt16 SvpSalGraphics::SetFont( FontSelectPattern* pIFSD, int nFallbackLevel ) { @@ -123,11 +124,15 @@ void SvpSalGraphics::SetTextColor( SalColor nSalColor ) m_xTextRenderImpl->SetTextColor(nSalColor); } +#if ENABLE_CAIRO_CANVAS + SystemFontData SvpSalGraphics::GetSysFontData( int nFallbacklevel ) const { return m_xTextRenderImpl->GetSysFontData(nFallbacklevel); } +#endif // ENABLE_CAIRO_CANVAS + void SvpSalGraphics::BlendTextColor(const basebmp::Color &rTextColor, const basebmp::BitmapDeviceSharedPtr &rAlphaMask, const basegfx::B2IPoint &rDstPoint) { -- cgit