summaryrefslogtreecommitdiff
path: root/vcl/inc
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2019-06-20 02:13:04 +0200
committerKhaled Hosny <khaledhosny@eglug.org>2019-06-20 04:08:25 +0200
commit362b872305d3b3500ef6f0823e5d30433dcfe48e (patch)
treec9c40a4102762a785cc3d6c8e0cede4aa328eb8c /vcl/inc
parent942de6a01ba990e5f3bc55ce4ab3737a03f67f39 (diff)
Remove leftover from bitmap fonts support on Windows
The condition "nFontType & RASTER_FONTTYPE" can never be true since we reject such fonts, so nHeight is always zero and we can simplify the code a bit accordingly. Change-Id: Ib3a19777909e16367c8168e86e474c1a5ee64a5b Reviewed-on: https://gerrit.libreoffice.org/74400 Tested-by: Jenkins Reviewed-by: Khaled Hosny <khaledhosny@eglug.org>
Diffstat (limited to 'vcl/inc')
-rw-r--r--vcl/inc/win/salgdi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/inc/win/salgdi.h b/vcl/inc/win/salgdi.h
index 7dc859a1a551..23f201fea6fa 100644
--- a/vcl/inc/win/salgdi.h
+++ b/vcl/inc/win/salgdi.h
@@ -59,7 +59,7 @@ class WinFontFace : public PhysicalFontFace
{
public:
explicit WinFontFace( const FontAttributes&,
- int nFontHeight, BYTE eWinCharSet,
+ BYTE eWinCharSet,
BYTE nPitchAndFamily );
virtual ~WinFontFace() override;