[Libreoffice-commits] core.git: vcl/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Mon Aug 20 12:45:45 UTC 2018
vcl/source/font/PhysicalFontCollection.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 7fe7805f0fe7924bb0e190207d8ea320353d2810
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Mon Aug 20 12:45:42 2018 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Mon Aug 20 14:45:25 2018 +0200
FindMetricCompatibleFont can take FontSelectPatternAttributes
Change-Id: I2a42c469d2ab009c5823fc654912fd20c649d2df
Reviewed-on: https://gerrit.libreoffice.org/59323
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
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)
{
More information about the Libreoffice-commits
mailing list