diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2016-01-10 14:01:22 +1100 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2016-01-10 10:17:46 +0000 |
commit | 36ccb37eee589c444445ab2d05a5c0dff6585a2f (patch) | |
tree | f96ffe8380d2c052b3906352646d868e01303221 /vcl/source/outdev | |
parent | 5511b477fd5dc9b74ff05ea68b1b57b463b6fa51 (diff) |
vcl: promote ImplFontAttributes to FontAttributes
ImplFontAttributes is no longer merely a pImpl (or "compilation
firewall", take your pick) but is a fully fledged class in its
own right that is used by a number of classes, including
FontSelectPattern, LogicalFontInstance and PhysicalFontFace. Thus
I'm "promoting" the use of this class in the codebase.
Change-Id: I26866080a64796978d1c25efbcd16e3e6f94aaa5
Reviewed-on: https://gerrit.libreoffice.org/21305
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Diffstat (limited to 'vcl/source/outdev')
-rw-r--r-- | vcl/source/outdev/font.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/outdev/font.cxx b/vcl/source/outdev/font.cxx index 80c85fc7af48..3ded83fafe2b 100644 --- a/vcl/source/outdev/font.cxx +++ b/vcl/source/outdev/font.cxx @@ -190,7 +190,7 @@ FontMetric OutputDevice::GetFontMetric() const return aMetric; LogicalFontInstance* pFontInstance = mpFontInstance; - ImplFontAttributes* pFontAttributes = &(pFontInstance->maFontAttributes); + FontAttributes* pFontAttributes = &(pFontInstance->maFontAttributes); // prepare metric aMetric.Font::operator=( maFont ); @@ -486,7 +486,7 @@ FontEmphasisMark OutputDevice::ImplGetEmphasisMarkStyle( const vcl::Font& rFont long OutputDevice::GetFontExtLeading() const { LogicalFontInstance* pFontInstance = mpFontInstance; - ImplFontAttributes* pFontAttributes = &(pFontInstance->maFontAttributes); + FontAttributes* pFontAttributes = &(pFontInstance->maFontAttributes); return pFontAttributes->GetExternalLeading(); } @@ -1464,7 +1464,7 @@ long OutputDevice::GetMinKashida() const return 0; LogicalFontInstance* pFontInstance = mpFontInstance; - ImplFontAttributes* pFontAttributes = &(pFontInstance->maFontAttributes); + FontAttributes* pFontAttributes = &(pFontInstance->maFontAttributes); return ImplDevicePixelToLogicWidth( pFontAttributes->GetMinKashida() ); } |