summaryrefslogtreecommitdiff
path: root/vcl/source/font/fontcache.cxx
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2016-01-17 01:00:00 +1100
committerChris Sherlock <chris.sherlock79@gmail.com>2016-01-19 00:13:49 +0000
commit2a3caade0d3e0a1c47b57658230c6efb7e9a96f1 (patch)
treed0a01922ba9b4dadc7245113825104f018b63440 /vcl/source/font/fontcache.cxx
parent447c313586e9b36acff393feae15f5e1b63861ae (diff)
vcl: FontAttributes::GetSlantType() -> FontAttributes::GetItalic()
This brings FontAttributes into line with ImplFont and Font, which is important to the refactoring work I am doing. Change-Id: I08160992834f3732738b40aae9264df00443795a Reviewed-on: https://gerrit.libreoffice.org/21576 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Diffstat (limited to 'vcl/source/font/fontcache.cxx')
-rw-r--r--vcl/source/font/fontcache.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/font/fontcache.cxx b/vcl/source/font/fontcache.cxx
index 7f2e82b7420d..39d436635d84 100644
--- a/vcl/source/font/fontcache.cxx
+++ b/vcl/source/font/fontcache.cxx
@@ -87,7 +87,7 @@ bool ImplFontCache::IFSD_Equal::operator()(const FontSelectPattern& rA, const Fo
// check font face attributes
if( (rA.GetWeight() != rB.GetWeight())
- || (rA.GetSlantType() != rB.GetSlantType())
+ || (rA.GetItalic() != rB.GetItalic())
// || (rA.meFamily != rB.meFamily) // TODO: remove this mostly obsolete member
|| (rA.GetPitch() != rB.GetPitch()) )
return false;