Remove leftover from bitmap fonts support on Windows

Desktop / LibreOffice - Khaled Hosny [eglug.org] - 20 June 2019 02:08 EDT

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

362b872305d3 Remove leftover from bitmap fonts support on Windows
vcl/inc/win/salgdi.h | 2 +-
vcl/win/gdi/salfont.cxx | 16 ++++------------
2 files changed, 5 insertions(+), 13 deletions(-)

Upstream: cgit.freedesktop.org


  • Share