[Libreoffice-commits] core.git: vcl/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Thu Nov 1 22:34:54 UTC 2018
vcl/source/gdi/impglyphitem.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 9cdcc1b7df5bbd0262a1335bd2f3bc8713e19c97
Author: Tor Lillqvist <tml at collabora.com>
AuthorDate: Fri Nov 2 00:05:02 2018 +0200
Commit: Tor Lillqvist <tml at collabora.com>
CommitDate: Fri Nov 2 00:06:08 2018 +0200
Fix iOS build
Change-Id: I7e7ca6290929629db04472129bf80ea204cf0d69
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())
{
More information about the Libreoffice-commits
mailing list