summaryrefslogtreecommitdiff
path: root/vcl/skia/win
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2021-09-26 08:17:26 +1000
committerMike Kaganski <mike.kaganski@collabora.com>2021-09-27 22:13:02 +0200
commit2f51bf35daa7d2e1612647e1768c443028e87c39 (patch)
tree95fd29350da03666c21319d8d2b275a479ad94b2 /vcl/skia/win
parent5e4e1cdb1e14354b42838e1dfcf82873b3071896 (diff)
vcl: move FontSelectPattern to own file and into vcl::font namespace
Change-Id: I2f01a8e67c52ece9b434777203aa9fbc9ac8be02 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122613 Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'vcl/skia/win')
-rw-r--r--vcl/skia/win/gdiimpl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/skia/win/gdiimpl.cxx b/vcl/skia/win/gdiimpl.cxx
index d65ad2a1b3f5..a10351888eac 100644
--- a/vcl/skia/win/gdiimpl.cxx
+++ b/vcl/skia/win/gdiimpl.cxx
@@ -234,7 +234,7 @@ bool WinSkiaSalGraphicsImpl::DrawTextLayout(const GenericSalLayout& rLayout)
font.setEdging(logFont.lfQuality == NONANTIALIASED_QUALITY ? SkFont::Edging::kAlias
: fontEdging);
- const FontSelectPattern& rFSD = pWinFont->GetFontSelectPattern();
+ const vcl::font::FontSelectPattern& rFSD = pWinFont->GetFontSelectPattern();
int nHeight = rFSD.mnHeight;
int nWidth = rFSD.mnWidth ? rFSD.mnWidth : nHeight;
if (nWidth == 0 || nHeight == 0)