summaryrefslogtreecommitdiff
path: root/vcl/source/outdev/text.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-08-20 12:55:39 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-08-20 18:07:44 +0200
commitae814d8b00364da8c1d3b12d91fd781081033ce8 (patch)
treebeb61250614f356a03e2707cc88634856af383d9 /vcl/source/outdev/text.cxx
parentea4fe606687876e8dc3e160be4a238cc66193b27 (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.cxx2
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 ) );