summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/outdev/font.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/vcl/source/outdev/font.cxx b/vcl/source/outdev/font.cxx
index 04e689a17f67..082c9e4084bf 100644
--- a/vcl/source/outdev/font.cxx
+++ b/vcl/source/outdev/font.cxx
@@ -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
{