summaryrefslogtreecommitdiff
path: root/vcl/inc/glyphid.hxx
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2022-04-08 17:23:50 +0200
committerLuboš Luňák <l.lunak@collabora.com>2022-04-09 15:01:08 +0200
commit0c852a14d61d2c06322b8a0e51960604fd212e2b (patch)
tree073fd7b127e5c18c29bc303404b3436ce4127846 /vcl/inc/glyphid.hxx
parent7a2bd19355d78551f9ce253fca69d37881d1d1c1 (diff)
sal_GlyphId is internal to VCL
And can't be put into impglyphitem.hxx, as then it would have a circular dependency with fontinstance.hxx . Change-Id: I57289fa5433851f095f7b73ce842ba5a0e8497ce Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132745 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'vcl/inc/glyphid.hxx')
-rw-r--r--vcl/inc/glyphid.hxx26
1 files changed, 26 insertions, 0 deletions
diff --git a/vcl/inc/glyphid.hxx b/vcl/inc/glyphid.hxx
new file mode 100644
index 000000000000..6f32a429dde4
--- /dev/null
+++ b/vcl/inc/glyphid.hxx
@@ -0,0 +1,26 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#pragma once
+
+#include <sal/types.h>
+
+typedef sal_uInt16 sal_GlyphId;
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */