vcl/source/outdev/text.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ae814d8b00364da8c1d3b12d91fd781081033ce8
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Mon Aug 20 12:55:39 2018 +0100
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Mon Aug 20 18:07:44 2018 +0200

    can use FontSelectPatternAttributes here
    
    Change-Id: I7702c8a763ff9c624ef9c64f80c3e8457a027d40
    Reviewed-on: https://gerrit.libreoffice.org/59324
    Reviewed-by: Caolán McNamara <caol...@redhat.com>
    Tested-by: Caolán McNamara <caol...@redhat.com>

diff --git a/vcl/source/outdev/text.cxx b/vcl/source/outdev/text.cxx
index 9568b3b50eb2..a331a204e449 100644
--- a/vcl/source/outdev/text.cxx
+++ b/vcl/source/outdev/text.cxx
@@ -218,7 +218,7 @@ bool OutputDevice::ImplDrawRotateText( SalLayout& 
rSalLayout )
     if( !pVDev->SetOutputSizePixel( aBoundRect.GetSize() ) )
         return false;
 
-    const FontSelectPattern& rPattern = mpFontInstance->GetFontSelectPattern();
+    const FontSelectPatternAttributes& rPattern = 
mpFontInstance->GetFontSelectPattern();
     vcl::Font aFont( GetFont() );
     aFont.SetOrientation( 0 );
     aFont.SetFontSize( Size( rPattern.mnWidth, rPattern.mnHeight ) );
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to