include/editeng/hangulhanja.hxx | 2 ++ include/i18nlangtag/applelangid.hxx | 3 ++- include/i18nlangtag/mslangid.hxx | 4 +++- vcl/source/fontsubset/sft.cxx | 1 + 4 files changed, 8 insertions(+), 2 deletions(-)
New commits: commit 4048c36c29c9888af2d923dfa16e1dd299fc9de6 Author: Gabor Kelemen <[email protected]> AuthorDate: Fri Jan 23 17:55:47 2026 +0100 Commit: Gabor Kelemen <[email protected]> CommitDate: Sat Jan 31 20:53:46 2026 +0100 tdf#146619 Use more forward declarations in include/i18nlangtag/ Change-Id: If59fc8ae20dd1d935adbd17c3cac1b2db142b555 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/198235 Tested-by: Jenkins Reviewed-by: Gabor Kelemen <[email protected]> diff --git a/include/editeng/hangulhanja.hxx b/include/editeng/hangulhanja.hxx index 767e743a2608..8d5fc5733568 100644 --- a/include/editeng/hangulhanja.hxx +++ b/include/editeng/hangulhanja.hxx @@ -23,6 +23,8 @@ #include <editeng/editengdllapi.h> #include <i18nlangtag/mslangid.hxx> +#include <com/sun/star/uno/Reference.hxx> + namespace com::sun::star::lang { struct Locale; } namespace com::sun::star::uno { class XComponentContext; } namespace com::sun::star::uno { template <class E> class Sequence; } diff --git a/include/i18nlangtag/applelangid.hxx b/include/i18nlangtag/applelangid.hxx index 0733d92079f8..ed617eba25dc 100644 --- a/include/i18nlangtag/applelangid.hxx +++ b/include/i18nlangtag/applelangid.hxx @@ -12,7 +12,8 @@ #ifndef INCLUDED_I18NLANGTAG_APPLELANGID_H #define INCLUDED_I18NLANGTAG_APPLELANGID_H -#include <i18nlangtag/languagetag.hxx> +#include <i18nlangtag/i18nlangtagdllapi.h> +class LanguageTag; enum class AppleLanguageId : unsigned short { diff --git a/include/i18nlangtag/mslangid.hxx b/include/i18nlangtag/mslangid.hxx index e94b871ddc1e..5d4bfab27156 100644 --- a/include/i18nlangtag/mslangid.hxx +++ b/include/i18nlangtag/mslangid.hxx @@ -24,12 +24,14 @@ #include <i18nlangtag/i18nlangtagdllapi.h> #include <i18nlangtag/lang.h> -#include <com/sun/star/lang/Locale.hpp> +#include <rtl/ustring.hxx> #include <string_view> #include <utility> #include <vector> +namespace com::sun::star::lang { struct Locale; } + struct IsoLanguageCountryEntry; struct IsoLanguageScriptCountryEntry; struct Bcp47CountryEntry; diff --git a/vcl/source/fontsubset/sft.cxx b/vcl/source/fontsubset/sft.cxx index f1c7408e7c93..5718e91d7718 100644 --- a/vcl/source/fontsubset/sft.cxx +++ b/vcl/source/fontsubset/sft.cxx @@ -37,6 +37,7 @@ #endif #include "ttcr.hxx" #include <i18nlangtag/applelangid.hxx> +#include <i18nlangtag/languagetag.hxx> #include <rtl/crc.h> #include <rtl/ustring.hxx> #include <rtl/ustrbuf.hxx>
