Kaydet (Commit) a214f12c authored tarafından Matteo Casalin's avatar Matteo Casalin

Index is not needed for single getToken call

Change-Id: I503e6e96a6a61b45e741f2131107ecaef8566b83
Reviewed-on: https://gerrit.libreoffice.org/66640
Tested-by: Jenkins
Reviewed-by: 's avatarMatteo Casalin <matteo.casalin@yahoo.com>
üst 87bf8b79
......@@ -878,8 +878,7 @@ vcl::Font OutputDevice::GetDefaultFont( DefaultFontType nType, LanguageType eLan
if( !pOutDev )
{
SAL_WARN_IF(!utl::ConfigManager::IsFuzzing(), "vcl.gdi", "No default window has been set for the application - we really shouldn't be able to get here");
sal_Int32 nIndex = 0;
aFont.SetFamilyName( aSearch.getToken( 0, ';', nIndex ) );
aFont.SetFamilyName( aSearch.getToken( 0, ';' ) );
}
else
{
......
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