summaryrefslogtreecommitdiffstats
path: root/external/pdfium
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2021-05-14 10:50:02 +0300
committerTor Lillqvist <tml@collabora.com>2021-05-14 11:10:22 +0200
commit0a930b7516e7f018b131963e05b857e68a8c6ccc (patch)
tree65294f361409ef1e1edf55656bfc6a88d83072e9 /external/pdfium
parentDirectly initialize vectors in sfx2/ObjectInspectorTreeHandler (diff)
downloadcore-0a930b7516e7f018b131963e05b857e68a8c6ccc.tar.gz
core-0a930b7516e7f018b131963e05b857e68a8c6ccc.zip
Change one more <Carbon/Carbon.h> to <CoreGraphics/CoreGraphics.h>
Change-Id: Ib8ed1e4270b18de4761155f9aa7d536faaf7bd38 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115581 Tested-by: Jenkins Reviewed-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'external/pdfium')
-rw-r--r--external/pdfium/cg-instead-of-carbon.patch.111
1 files changed, 11 insertions, 0 deletions
diff --git a/external/pdfium/cg-instead-of-carbon.patch.1 b/external/pdfium/cg-instead-of-carbon.patch.1
index d46b776cd849..13f631533169 100644
--- a/external/pdfium/cg-instead-of-carbon.patch.1
+++ b/external/pdfium/cg-instead-of-carbon.patch.1
@@ -10,3 +10,14 @@
#include "core/fxcrt/fx_system.h"
#include "core/fxcrt/retain_ptr.h"
+--- a/core/fpdfapi/font/cpdf_type1font.cpp
++++ b/core/fpdfapi/font/cpdf_type1font.cpp
+@@ -14,7 +14,7 @@
+ #include "core/fxge/fx_freetype.h"
+
+ #if defined(OS_APPLE)
+-#include <Carbon/Carbon.h>
++#include <CoreGraphics/CoreGraphics.h>
+ #endif // defined(OS_APPLE)
+
+ namespace {