[Libreoffice-commits] core.git: vcl/win
Andrea Gelmini (via logerrit)
logerrit at kemper.freedesktop.org
Sat Jul 6 10:47:05 UTC 2019
vcl/win/gdi/salfont.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit fba2fe825e8dfb9fd084186e3171bbea35297c28
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Fri Jul 5 21:19:05 2019 +0000
Commit: Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Sat Jul 6 12:45:57 2019 +0200
Fix typo
Change-Id: Id8f72781d0338344bc96efb5cf62b67174aa80eb
Reviewed-on: https://gerrit.libreoffice.org/75152
Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
Tested-by: Julien Nabet <serval2412 at yahoo.fr>
diff --git a/vcl/win/gdi/salfont.cxx b/vcl/win/gdi/salfont.cxx
index 56685cda8eb9..5a866092bf30 100644
--- a/vcl/win/gdi/salfont.cxx
+++ b/vcl/win/gdi/salfont.cxx
@@ -1125,7 +1125,7 @@ static OUString lcl_GetFontFamilyName(const OUString& rFontFileURL)
// TODO: use TTLoadEmbeddedFont (needs an EOT as input, so we have to add a header to the TTF)
// TODO: forward the EOT from the AddTempDevFont call side, if VCL supports it
INetURLObject aTTFUrl(rFontFileURL);
- // GetBase() stripts the extension
+ // GetBase() strips the extension
OUString aFilename = aTTFUrl.GetLastName(INetURLObject::DecodeMechanism::WithCharset);
if (!CreateScalableFontResourceW(0, o3tl::toW(aResSystemPath.getStr()),
o3tl::toW(aFilename.getStr()), o3tl::toW(aTTFUrl.GetPath().getStr())))
More information about the Libreoffice-commits
mailing list