diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2019-01-19 08:57:54 +0100 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2019-01-19 22:17:08 +0100 |
commit | a214f12c20ae76ddbe307554aae1873eb590306b (patch) | |
tree | 60515d914859fa04241e8414730abb38e81f7ebe /vcl/source | |
parent | 87bf8b7900fe4757bd8494f7a72966915f653eb6 (diff) |
Index is not needed for single getToken call
Change-Id: I503e6e96a6a61b45e741f2131107ecaef8566b83
Reviewed-on: https://gerrit.libreoffice.org/66640
Tested-by: Jenkins
Reviewed-by: Matteo Casalin <matteo.casalin@yahoo.com>
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/outdev/font.cxx | 3 |
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 { |