From ab285c743afa1c8769581871d7b56374fd8c49f1 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sat, 2 Nov 2019 18:59:49 +0200 Subject: loplugin:stringadd tweak the plugin to be more permissive, then validate by hand afterwards Change-Id: I40c5c911fe6ff7e45baaca372abf7dac211d9654 Reviewed-on: https://gerrit.libreoffice.org/81942 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sc/source/filter/ftools/ftools.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'sc/source/filter/ftools') diff --git a/sc/source/filter/ftools/ftools.cxx b/sc/source/filter/ftools/ftools.cxx index f90051af41ad..8d1dca1b0a9c 100644 --- a/sc/source/filter/ftools/ftools.cxx +++ b/sc/source/filter/ftools/ftools.cxx @@ -312,9 +312,7 @@ OUString ScfTools::GetNameFromHTMLIndex( sal_uInt32 nIndex ) OUString ScfTools::GetNameFromHTMLName( const OUString& rTabName ) { - OUString aName( GetHTMLNamePrefix() ); - aName += rTabName; - return aName; + return GetHTMLNamePrefix() + rTabName; } bool ScfTools::IsHTMLDocName( const OUString& rSource ) -- cgit