diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-31 10:28:18 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-31 10:03:00 +0000 |
commit | 04bfdc0a82c306dbe16e7d79e78f2b1c8fd05475 (patch) | |
tree | 317a0e7f0e09b5160df8f965c67c4b0036597c1b /vcl/source | |
parent | eaf32cd43c4d45db6c3b284d53169c81f522744e (diff) |
loplugin:oncevar in vbahelper..writerfilter
Change-Id: Ifd7e91753d9652d6b1c535cde3cddf74757a2483
Reviewed-on: https://gerrit.libreoffice.org/30430
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/font/PhysicalFontCollection.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/vcl/source/font/PhysicalFontCollection.cxx b/vcl/source/font/PhysicalFontCollection.cxx index 9bef807eea5e..0f7449719fc9 100644 --- a/vcl/source/font/PhysicalFontCollection.cxx +++ b/vcl/source/font/PhysicalFontCollection.cxx @@ -1138,9 +1138,7 @@ PhysicalFontFamily* PhysicalFontCollection::FindFontFamily( FontSelectPattern& r a korean bitmap font that is not suitable here. Use the font replacement table, that automatically leads to the desired "HG Mincho Light J". Same story for MS Gothic, there are thai and korean "Gothic" fonts, so we even prefer Andale */ - static const char aMS_Mincho[] = "msmincho"; - static const char aMS_Gothic[] = "msgothic"; - if ((aSearchName != aMS_Mincho) && (aSearchName != aMS_Gothic)) + if ((aSearchName != "msmincho") && (aSearchName != "msgothic")) // TODO: add heuristic to only throw out the fake ms* fonts #endif { |