summaryrefslogtreecommitdiff
path: root/vcl/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-05-24 10:23:42 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-05-25 08:19:27 +0000
commit2a4f9cbf01c8ee4ecf571e4a8b9e121050e7bd95 (patch)
tree77708ac169f86a1eae4fabcfad1ff69c1fb89e32 /vcl/inc
parent8821dc7f3ad75ec5a686952703dec25e16901656 (diff)
Convert FontHintStyle to scoped enum
Change-Id: I6e59bf8beacc524897aede45420574148c0fecde Reviewed-on: https://gerrit.libreoffice.org/25397 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'vcl/inc')
-rw-r--r--vcl/inc/unx/fc_fontoptions.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/inc/unx/fc_fontoptions.hxx b/vcl/inc/unx/fc_fontoptions.hxx
index d99870d1b6df..d085e260366b 100644
--- a/vcl/inc/unx/fc_fontoptions.hxx
+++ b/vcl/inc/unx/fc_fontoptions.hxx
@@ -42,7 +42,7 @@ public:
meAntiAlias(ANTIALIAS_DONTKNOW),
meAutoHint(AUTOHINT_DONTKNOW),
meHinting(HINTING_DONTKNOW),
- meHintStyle(HINT_SLIGHT),
+ meHintStyle(FontHintStyle::Slight),
mpPattern(pPattern) {}
~FontConfigFontOptions();
@@ -50,7 +50,7 @@ public:
FontHintStyle GetHintStyle() const { return meHintStyle; }
bool DontUseEmbeddedBitmaps() const { return meEmbeddedBitmap == EMBEDDEDBITMAP_FALSE; }
bool DontUseAntiAlias() const { return meAntiAlias == ANTIALIAS_FALSE; }
- bool DontUseHinting() const { return (meHinting == HINTING_FALSE) || (GetHintStyle() == HINT_NONE); }
+ bool DontUseHinting() const { return (meHinting == HINTING_FALSE) || (GetHintStyle() == FontHintStyle::NONE); }
void* GetPattern(void * /*pFace*/, bool /*bEmbolden*/) const;
private:
FcPattern* mpPattern;