summaryrefslogtreecommitdiff
path: root/include/vcl/vcllayout.hxx
diff options
context:
space:
mode:
authorJan-Marek Glogowski <glogow@fbihome.de>2019-07-05 22:12:39 +0200
committerJan-Marek Glogowski <glogow@fbihome.de>2019-07-06 03:15:58 +0200
commitaf8f249ad6368fb957b98ea70bfdf6778709d2eb (patch)
treea0693930c1a4e887efcb502aa033dea0916ef734 /include/vcl/vcllayout.hxx
parenta36e0f34f2d1baa95f3fe1c9afe6882abcf554dc (diff)
Constify GlyphItem
This hides all the data, which shouldn't change after init. Real const makes a lot of problems for copying, so this is the 2nd option to just add getters for private data. While at it use typed_flags for the GlyphItemFlags. Change-Id: Ic1eeabe2398f6c30080fdd516285b72c620b11be Reviewed-on: https://gerrit.libreoffice.org/75147 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Diffstat (limited to 'include/vcl/vcllayout.hxx')
-rw-r--r--include/vcl/vcllayout.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vcl/vcllayout.hxx b/include/vcl/vcllayout.hxx
index c1d2db0bf152..99884011e928 100644
--- a/include/vcl/vcllayout.hxx
+++ b/include/vcl/vcllayout.hxx
@@ -28,7 +28,7 @@
class ImplLayoutArgs;
class PhysicalFontFace;
class SalGraphics;
-struct GlyphItem;
+class GlyphItem;
class SalLayoutGlyphs;
// all positions/widths are in font units