diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-08-20 12:55:39 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-08-20 18:07:44 +0200 |
commit | ae814d8b00364da8c1d3b12d91fd781081033ce8 (patch) | |
tree | beb61250614f356a03e2707cc88634856af383d9 /vcl/source/outdev/text.cxx | |
parent | ea4fe606687876e8dc3e160be4a238cc66193b27 (diff) |
can use FontSelectPatternAttributes here
Change-Id: I7702c8a763ff9c624ef9c64f80c3e8457a027d40
Reviewed-on: https://gerrit.libreoffice.org/59324
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/source/outdev/text.cxx')
-rw-r--r-- | vcl/source/outdev/text.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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 ) ); |