diff options
author | Sona Kurazyan <sona.kurazyan@qt.io> | 2022-04-11 17:27:52 +0200 |
---|---|---|
committer | Sona Kurazyan <sona.kurazyan@qt.io> | 2022-04-28 05:58:52 +0200 |
commit | 9a55c695c7ecb8a2154661462255423a20ef4097 (patch) | |
tree | f9b07d22115cf9f4984086a4aaa7c5dfea7e0c34 /src/gui/text/qfontsubset.cpp | |
parent | 7b6b133746aa8bf23e08753851d7e23cc9d76170 (diff) | |
download | qtbase-9a55c695c7ecb8a2154661462255423a20ef4097.tar.gz |
QtGui: replace remaining uses of QLatin1String with QLatin1StringView
Task-number: QTBUG-98434
Change-Id: I98c27030c783f968cbf38dc966ce486dc366b302
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/gui/text/qfontsubset.cpp')
-rw-r--r-- | src/gui/text/qfontsubset.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/text/qfontsubset.cpp b/src/gui/text/qfontsubset.cpp index 91775ef987..1fb2bd3535 100644 --- a/src/gui/text/qfontsubset.cpp +++ b/src/gui/text/qfontsubset.cpp @@ -1248,10 +1248,10 @@ QByteArray QFontSubset::toTruetype() const if (noEmbed) name.copyright = "Fake font"_L1; else - name.copyright = QLatin1String(properties.copyright); + name.copyright = QLatin1StringView(properties.copyright); name.family = fontEngine->fontDef.families.first(); name.subfamily = "Regular"_L1; // ###### - name.postscript_name = QLatin1String(properties.postscriptName); + name.postscript_name = QLatin1StringView(properties.postscriptName); name_table = generateName(name); } tables.append(name_table); |