Kaydet (Commit) 6639ab39 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:sallogareas (clang-cl)

Change-Id: Id3f41fe72487a1e38ead75c8df6307edd1c3ccab
Reviewed-on: https://gerrit.libreoffice.org/58005
Tested-by: Jenkins
Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
üst b2b9eafa
...@@ -1067,7 +1067,7 @@ int CALLBACK SalEnumFontsProcExW( const LOGFONTW* lpelfe, ...@@ -1067,7 +1067,7 @@ int CALLBACK SalEnumFontsProcExW( const LOGFONTW* lpelfe,
{ {
if ((nFontType & RASTER_FONTTYPE) && !(nFontType & DEVICE_FONTTYPE)) 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; return 1;
} }
} }
...@@ -1076,7 +1076,7 @@ int CALLBACK SalEnumFontsProcExW( const LOGFONTW* lpelfe, ...@@ -1076,7 +1076,7 @@ int CALLBACK SalEnumFontsProcExW( const LOGFONTW* lpelfe,
!(pMetric->ntmTm.ntmFlags & NTM_PS_OPENTYPE) && !(pMetric->ntmTm.ntmFlags & NTM_PS_OPENTYPE) &&
!(pMetric->ntmTm.ntmFlags & NTM_TT_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; return 1;
} }
...@@ -1084,7 +1084,7 @@ int CALLBACK SalEnumFontsProcExW( const LOGFONTW* lpelfe, ...@@ -1084,7 +1084,7 @@ int CALLBACK SalEnumFontsProcExW( const LOGFONTW* lpelfe,
pData->SetFontId( sal_IntPtr( pInfo->mnFontCount++ ) ); pData->SetFontId( sal_IntPtr( pInfo->mnFontCount++ ) );
pInfo->mpList->Add( pData.get() ); 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; return 1;
...@@ -1251,7 +1251,7 @@ static bool ImplGetFontAttrFromFile( const OUString& rFontFileURL, ...@@ -1251,7 +1251,7 @@ static bool ImplGetFontAttrFromFile( const OUString& rFontFileURL,
bool WinSalGraphics::AddTempDevFont( PhysicalFontCollection* pFontCollection, bool WinSalGraphics::AddTempDevFont( PhysicalFontCollection* pFontCollection,
const OUString& rFontFileURL, const OUString& rFontName ) const OUString& rFontFileURL, const OUString& rFontName )
{ {
SAL_WARN( "vcl.gdi.font", "WinSalGraphics::AddTempDevFont(): " << rFontFileURL ); SAL_WARN( "vcl.fonts", "WinSalGraphics::AddTempDevFont(): " << rFontFileURL );
FontAttributes aDFA; FontAttributes aDFA;
aDFA.SetFamilyName(rFontName); aDFA.SetFamilyName(rFontName);
...@@ -1295,7 +1295,7 @@ bool WinSalGraphics::AddTempDevFont( PhysicalFontCollection* pFontCollection, ...@@ -1295,7 +1295,7 @@ bool WinSalGraphics::AddTempDevFont( PhysicalFontCollection* pFontCollection,
void WinSalGraphics::GetDevFontList( 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 // make sure all fonts are registered at least temporarily
static bool bOnce = true; static bool bOnce = true;
...@@ -1347,7 +1347,7 @@ void WinSalGraphics::GetDevFontList( PhysicalFontCollection* pFontCollection ) ...@@ -1347,7 +1347,7 @@ void WinSalGraphics::GetDevFontList( PhysicalFontCollection* pFontCollection )
pFontCollection->SetFallbackHook( &aSubstFallback ); pFontCollection->SetFallbackHook( &aSubstFallback );
pFontCollection->SetPreMatchHook(&aPreMatchFont); pFontCollection->SetPreMatchHook(&aPreMatchFont);
SAL_WARN( "vcl.gdi.font", "WinSalGraphics::GetDevFontList(): leave" ); SAL_WARN( "vcl.fonts", "WinSalGraphics::GetDevFontList(): leave" );
} }
void WinSalGraphics::ClearDevFontCache() void WinSalGraphics::ClearDevFontCache()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment