summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2018-11-02 00:05:02 +0200
committerTor Lillqvist <tml@collabora.com>2018-11-02 00:06:08 +0200
commit9cdcc1b7df5bbd0262a1335bd2f3bc8713e19c97 (patch)
tree6b88a25245e2be719955090dc5cd83b9d8485ca7 /vcl
parent4a93d8dbdce90c60b2b3c4eb176ccc66af4f69f3 (diff)
Fix iOS build
Change-Id: I7e7ca6290929629db04472129bf80ea204cf0d69
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/gdi/impglyphitem.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/gdi/impglyphitem.cxx b/vcl/source/gdi/impglyphitem.cxx
index d3aa10ebd1b3..55b1fbd5136e 100644
--- a/vcl/source/gdi/impglyphitem.cxx
+++ b/vcl/source/gdi/impglyphitem.cxx
@@ -19,7 +19,7 @@
#include <impglyphitem.hxx>
-#if (defined UNX && !defined MACOSX)
+#if (defined UNX && !defined MACOSX && !defined IOS)
#include <unx/freetype_glyphcache.hxx>
#endif
@@ -62,7 +62,7 @@ bool SalGenericLayoutGlyphsImpl::IsValid() const
return false;
if (empty())
return false;
-#if (defined UNX && !defined MACOSX)
+#if (defined UNX && !defined MACOSX && !defined IOS)
const FreetypeFontInstance* pFFI = dynamic_cast<FreetypeFontInstance*>(m_rFontInstance.get());
if (pFFI && !pFFI->GetFreetypeFont())
{