diff options
Diffstat (limited to 'sc/source/filter/lotus/lotform.cxx')
-rw-r--r-- | sc/source/filter/lotus/lotform.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/filter/lotus/lotform.cxx b/sc/source/filter/lotus/lotform.cxx index 67e1954598eb..48882d71bee9 100644 --- a/sc/source/filter/lotus/lotform.cxx +++ b/sc/source/filter/lotus/lotform.cxx @@ -29,6 +29,7 @@ #include <comphelper/string.hxx> #include <sal/log.hxx> #include <memory> +#include <string_view> static const char* GetAddInName( const sal_uInt8 nIndex ); @@ -145,7 +146,7 @@ void LotusToSc::DoFunc( DefTokenId eOc, sal_uInt8 nCnt, const char* pExtString ) SAL_WARN_IF( nCnt != 3, "sc.filter", "*LotusToSc::DoFunc(): TERM() or CTERM() need 3 parameters!" ); nCnt = 4; - if ( OString(pExtString) == "TERM" ) + if ( pExtString == std::string_view("TERM") ) { // @TERM(pmt,int,fv) -> NPER(int,-pmt,pv=0,fv) NegToken( eParam[ 2 ] ); |