diff options
Diffstat (limited to 'sc/source/filter/ftools/ftools.cxx')
-rw-r--r-- | sc/source/filter/ftools/ftools.cxx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sc/source/filter/ftools/ftools.cxx b/sc/source/filter/ftools/ftools.cxx index 9605dc7a46f7..5c219e3c3d3a 100644 --- a/sc/source/filter/ftools/ftools.cxx +++ b/sc/source/filter/ftools/ftools.cxx @@ -26,6 +26,7 @@ #include <svl/itemset.hxx> #include <svl/poolitem.hxx> #include <sot/storage.hxx> +#include <o3tl/string_view.hxx> #include <math.h> #include <global.hxx> @@ -318,14 +319,14 @@ OUString ScfTools::GetNameFromHTMLName( std::u16string_view rTabName ) return GetHTMLNamePrefix() + rTabName; } -bool ScfTools::IsHTMLDocName( const OUString& rSource ) +bool ScfTools::IsHTMLDocName( std::u16string_view rSource ) { - return rSource.equalsIgnoreAsciiCase( GetHTMLDocName() ); + return o3tl::equalsIgnoreAsciiCase( rSource, GetHTMLDocName() ); } -bool ScfTools::IsHTMLTablesName( const OUString& rSource ) +bool ScfTools::IsHTMLTablesName( std::u16string_view rSource ) { - return rSource.equalsIgnoreAsciiCase( GetHTMLTablesName() ); + return o3tl::equalsIgnoreAsciiCase( rSource, GetHTMLTablesName() ); } bool ScfTools::GetHTMLNameFromName( const OUString& rSource, OUString& rName ) |