vcl/source/outdev/font.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit a214f12c20ae76ddbe307554aae1873eb590306b Author: Matteo Casalin <matteo.casa...@yahoo.com> AuthorDate: Sat Jan 19 08:57:54 2019 +0100 Commit: Matteo Casalin <matteo.casa...@yahoo.com> CommitDate: Sat Jan 19 22:17:08 2019 +0100 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.casa...@yahoo.com> 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 { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits