summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2023-04-02 11:15:11 +0200
committerخالد حسني <khaled@libreoffice.org>2023-07-13 18:24:39 +0200
commit55d62057c0ccd533af63b2a01edb0cddbd619721 (patch)
tree17cd79f18b5b314086333e7ce4aa127c026b3d51 /vcl
parentef609a580b3e1de7c39ef391bb5df92680a22f36 (diff)
vcl: Move include of <hb-icu.h> to the appropriate place
hb_icu_script_to_script is used in CommonSalLayout.cxx only Change-Id: I1d8de8c420963b42623bb06a7f5e1f37986e1c16 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149935 Tested-by: Jenkins Reviewed-by: خالد حسني <khaled@libreoffice.org>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/inc/TextLayoutCache.hxx2
-rw-r--r--vcl/source/gdi/CommonSalLayout.cxx1
2 files changed, 2 insertions, 1 deletions
diff --git a/vcl/inc/TextLayoutCache.hxx b/vcl/inc/TextLayoutCache.hxx
index 46e5c80dc320..304c6d51ebfb 100644
--- a/vcl/inc/TextLayoutCache.hxx
+++ b/vcl/inc/TextLayoutCache.hxx
@@ -25,7 +25,7 @@
#include <vcl/dllapi.h>
-#include <hb-icu.h>
+#include <unicode/uscript.h>
#include <vector>
diff --git a/vcl/source/gdi/CommonSalLayout.cxx b/vcl/source/gdi/CommonSalLayout.cxx
index 324b6fb48b07..c3b8fab84595 100644
--- a/vcl/source/gdi/CommonSalLayout.cxx
+++ b/vcl/source/gdi/CommonSalLayout.cxx
@@ -39,6 +39,7 @@
#include <unicode/uchar.h>
#include <hb-ot.h>
#include <hb-graphite2.h>
+#include <hb-icu.h>
#include <memory>