[Libreoffice-commits] core.git: vcl/win
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Wed Jul 25 20:46:05 UTC 2018
vcl/win/gdi/salfont.cxx | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
New commits:
commit 6639ab3922a8f88a0421d25f82ed50a99f40f341
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Wed Jul 25 19:02:02 2018 +0200
Commit: Stephan Bergmann <sbergman at redhat.com>
CommitDate: Wed Jul 25 22:45:37 2018 +0200
loplugin:sallogareas (clang-cl)
Change-Id: Id3f41fe72487a1e38ead75c8df6307edd1c3ccab
Reviewed-on: https://gerrit.libreoffice.org/58005
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
diff --git a/vcl/win/gdi/salfont.cxx b/vcl/win/gdi/salfont.cxx
index 40effb6844f2..03c428fc72a3 100644
--- a/vcl/win/gdi/salfont.cxx
+++ b/vcl/win/gdi/salfont.cxx
@@ -1067,7 +1067,7 @@ int CALLBACK SalEnumFontsProcExW( const LOGFONTW* lpelfe,
{
if ((nFontType & RASTER_FONTTYPE) && !(nFontType & DEVICE_FONTTYPE))
{
- SAL_WARN("vcl.gdi.font", "Unsupported printer font ignored: " << OUString(o3tl::toU(pLogFont->elfLogFont.lfFaceName)));
+ SAL_WARN("vcl.fonts", "Unsupported printer font ignored: " << OUString(o3tl::toU(pLogFont->elfLogFont.lfFaceName)));
return 1;
}
}
@@ -1076,7 +1076,7 @@ int CALLBACK SalEnumFontsProcExW( const LOGFONTW* lpelfe,
!(pMetric->ntmTm.ntmFlags & NTM_PS_OPENTYPE) &&
!(pMetric->ntmTm.ntmFlags & NTM_TT_OPENTYPE))
{
- SAL_WARN("vcl.gdi.font", "Unsupported font ignored: " << OUString(o3tl::toU(pLogFont->elfLogFont.lfFaceName)));
+ SAL_WARN("vcl.fonts", "Unsupported font ignored: " << OUString(o3tl::toU(pLogFont->elfLogFont.lfFaceName)));
return 1;
}
@@ -1084,7 +1084,7 @@ int CALLBACK SalEnumFontsProcExW( const LOGFONTW* lpelfe,
pData->SetFontId( sal_IntPtr( pInfo->mnFontCount++ ) );
pInfo->mpList->Add( pData.get() );
- SAL_WARN("vcl.gdi.font", "SalEnumFontsProcExW: font added: " << pData->GetFamilyName() << " " << pData->GetStyleName());
+ SAL_WARN("vcl.fonts", "SalEnumFontsProcExW: font added: " << pData->GetFamilyName() << " " << pData->GetStyleName());
}
return 1;
@@ -1251,7 +1251,7 @@ static bool ImplGetFontAttrFromFile( const OUString& rFontFileURL,
bool WinSalGraphics::AddTempDevFont( PhysicalFontCollection* pFontCollection,
const OUString& rFontFileURL, const OUString& rFontName )
{
- SAL_WARN( "vcl.gdi.font", "WinSalGraphics::AddTempDevFont(): " << rFontFileURL );
+ SAL_WARN( "vcl.fonts", "WinSalGraphics::AddTempDevFont(): " << rFontFileURL );
FontAttributes aDFA;
aDFA.SetFamilyName(rFontName);
@@ -1295,7 +1295,7 @@ bool WinSalGraphics::AddTempDevFont( PhysicalFontCollection* pFontCollection,
void WinSalGraphics::GetDevFontList( PhysicalFontCollection* pFontCollection )
{
- SAL_WARN( "vcl.gdi.font", "WinSalGraphics::GetDevFontList(): enter" );
+ SAL_WARN( "vcl.fonts", "WinSalGraphics::GetDevFontList(): enter" );
// make sure all fonts are registered at least temporarily
static bool bOnce = true;
@@ -1347,7 +1347,7 @@ void WinSalGraphics::GetDevFontList( PhysicalFontCollection* pFontCollection )
pFontCollection->SetFallbackHook( &aSubstFallback );
pFontCollection->SetPreMatchHook(&aPreMatchFont);
- SAL_WARN( "vcl.gdi.font", "WinSalGraphics::GetDevFontList(): leave" );
+ SAL_WARN( "vcl.fonts", "WinSalGraphics::GetDevFontList(): leave" );
}
void WinSalGraphics::ClearDevFontCache()
More information about the Libreoffice-commits
mailing list