summaryrefslogtreecommitdiff
path: root/vcl/inc
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/inc')
-rw-r--r--vcl/inc/sallayout.hxx1
-rw-r--r--vcl/inc/sft.hxx3
2 files changed, 2 insertions, 2 deletions
diff --git a/vcl/inc/sallayout.hxx b/vcl/inc/sallayout.hxx
index 9dbe269a82b1..d4a960d63432 100644
--- a/vcl/inc/sallayout.hxx
+++ b/vcl/inc/sallayout.hxx
@@ -35,7 +35,6 @@
#define MAX_FALLBACK 16
-typedef unsigned short LanguageType;
class SalGraphics;
class PhysicalFontFace;
diff --git a/vcl/inc/sft.hxx b/vcl/inc/sft.hxx
index e1375cf6af20..17efc970fa9b 100644
--- a/vcl/inc/sft.hxx
+++ b/vcl/inc/sft.hxx
@@ -48,6 +48,7 @@
#include <vcl/dllapi.h>
#include <vcl/fontcapabilities.hxx>
+#include <i18nlangtag/lang.h>
#include <vector>
#include <cstdint>
@@ -147,7 +148,7 @@ namespace vcl
typedef struct {
sal_uInt16 platformID; /**< Platform ID */
sal_uInt16 encodingID; /**< Platform-specific encoding ID */
- sal_uInt16 languageID; /**< Language ID */
+ LanguageType languageID; /**< Language ID */
sal_uInt16 nameID; /**< Name ID */
sal_uInt16 slen; /**< String length in bytes */
sal_uInt8 *sptr; /**< Pointer to string data (not zero-terminated!) */