vcl/inc/TextLayoutCache.hxx        |    2 +-
 vcl/source/gdi/CommonSalLayout.cxx |    1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 55d62057c0ccd533af63b2a01edb0cddbd619721
Author:     Rico Tzschichholz <ric...@ubuntu.com>
AuthorDate: Sun Apr 2 11:15:11 2023 +0200
Commit:     خالد حسني <kha...@libreoffice.org>
CommitDate: Thu Jul 13 18:24:39 2023 +0200

    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: خالد حسني <kha...@libreoffice.org>

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>
 

Reply via email to