summaryrefslogtreecommitdiff
path: root/vcl/source/font/PhysicalFontCollection.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-08-20 12:45:42 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-08-20 14:45:25 +0200
commit7fe7805f0fe7924bb0e190207d8ea320353d2810 (patch)
tree06d4e6e8a0fd352e6026b2d695f468f4d8fad5b7 /vcl/source/font/PhysicalFontCollection.cxx
parent29ff7fbbcc3cdd077458356b06cf7e8120fb4e95 (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.cxx2
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)
{