summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-08-21 08:53:11 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-08-21 14:53:34 +0200
commit29140ebaa7226ddab129010bd16306ffeeb13efc (patch)
treec44e344439d8320c39fa5052b8f3b6c1d49a4899
parenta83dee1310c6fd7f7e2b62b3b2640d97a8d0270e (diff)
only need FontSelectPatternAttributes here
Change-Id: I5112b1e6db223a3df83b6769af140b3f698fdebd Reviewed-on: https://gerrit.libreoffice.org/59384 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--vcl/quartz/salgdi.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/quartz/salgdi.cxx b/vcl/quartz/salgdi.cxx
index 428b5c5daf10..e586ccb6c19f 100644
--- a/vcl/quartz/salgdi.cxx
+++ b/vcl/quartz/salgdi.cxx
@@ -402,7 +402,7 @@ bool AquaSalGraphics::GetGlyphBoundRect(const GlyphItem& rGlyph, tools::Rectangl
void AquaSalGraphics::DrawTextLayout(const GenericSalLayout& rLayout)
{
const CoreTextStyle& rStyle = *static_cast<const CoreTextStyle*>(&rLayout.GetFont());
- const FontSelectPattern& rFontSelect = rStyle.GetFontSelectPattern();
+ const FontSelectPatternAttributes& rFontSelect = rStyle.GetFontSelectPattern();
if (rFontSelect.mnHeight == 0)
return;