[Libreoffice-commits] core.git: vcl/quartz

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Tue Aug 21 12:53:54 UTC 2018


 vcl/quartz/salgdi.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 29140ebaa7226ddab129010bd16306ffeeb13efc
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue Aug 21 08:53:11 2018 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Tue Aug 21 14:53:34 2018 +0200

    only need FontSelectPatternAttributes here
    
    Change-Id: I5112b1e6db223a3df83b6769af140b3f698fdebd
    Reviewed-on: https://gerrit.libreoffice.org/59384
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

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;
 


More information about the Libreoffice-commits mailing list