Kaydet (Commit) 2b9ec36e authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Bin unnecessary variable

Change-Id: I140785838f2665b735b288d689c873502d1d1cfb
üst e514a558
......@@ -1817,8 +1817,6 @@ bool WinSalGraphics::AddTempDevFont( PhysicalFontCollection* pFontCollection,
if( !ImplAddTempFont( *GetSalData(), rFontFileURL ) )
return false;
UINT nPreferredCharSet = DEFAULT_CHARSET;
// create matching FontData struct
aDFA.SetSymbolFlag(false); // TODO: how to know it without accessing the font?
aDFA.SetFamilyType(FAMILY_DONTKNOW);
......@@ -1837,7 +1835,7 @@ bool WinSalGraphics::AddTempDevFont( PhysicalFontCollection* pFontCollection,
*/
ImplWinFontData* pFontData = new ImplWinFontData( aDFA, 0,
sal::static_int_cast<BYTE>(nPreferredCharSet),
sal::static_int_cast<BYTE>(DEFAULT_CHARSET),
sal::static_int_cast<BYTE>(TMPF_VECTOR|TMPF_TRUETYPE) );
pFontData->SetFontId( reinterpret_cast<sal_IntPtr>(pFontData) );
pFontCollection->Add( pFontData );
......
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