diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-08-20 12:45:42 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-08-20 14:45:25 +0200 |
commit | 7fe7805f0fe7924bb0e190207d8ea320353d2810 (patch) | |
tree | 06d4e6e8a0fd352e6026b2d695f468f4d8fad5b7 /vcl/source/font/PhysicalFontCollection.cxx | |
parent | 29ff7fbbcc3cdd077458356b06cf7e8120fb4e95 (diff) |
FindMetricCompatibleFont can take FontSelectPatternAttributes
Change-Id: I2a42c469d2ab009c5823fc654912fd20c649d2df
Reviewed-on: https://gerrit.libreoffice.org/59323
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/source/font/PhysicalFontCollection.cxx')
-rw-r--r-- | vcl/source/font/PhysicalFontCollection.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/font/PhysicalFontCollection.cxx b/vcl/source/font/PhysicalFontCollection.cxx index 7c5745a3a829..8df6104c97f9 100644 --- a/vcl/source/font/PhysicalFontCollection.cxx +++ b/vcl/source/font/PhysicalFontCollection.cxx @@ -928,7 +928,7 @@ static const std::map<OUString, OUString> aMetricCompatibleMap = { "Calibri", "Carlito" }, }; -static bool FindMetricCompatibleFont(FontSelectPattern& rFontSelData) +static bool FindMetricCompatibleFont(FontSelectPatternAttributes& rFontSelData) { for (const auto& aSub : aMetricCompatibleMap) { |