summaryrefslogtreecommitdiff
path: root/vcl/inc/impfont.hxx
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/inc/impfont.hxx
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/inc/impfont.hxx')
-rw-r--r--vcl/inc/impfont.hxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/vcl/inc/impfont.hxx b/vcl/inc/impfont.hxx
index 54b4cf8135aa..f9c006f516ad 100644
--- a/vcl/inc/impfont.hxx
+++ b/vcl/inc/impfont.hxx
@@ -45,8 +45,6 @@ public:
FontWeight GetWeight() { if(meWeight==WEIGHT_DONTKNOW) AskConfig(); return meWeight; }
FontWeight GetWeightNoAsk() const { return meWeight; }
- FontItalic GetSlantType() { return GetItalic(); }
- FontItalic GetSlantType() const { return GetItalicNoAsk(); }
FontItalic GetItalic() { if(meItalic==ITALIC_DONTKNOW) AskConfig(); return meItalic; }
FontItalic GetItalicNoAsk() const { return meItalic; }
FontPitch GetPitch() { if(mePitch==PITCH_DONTKNOW) AskConfig(); return mePitch; }