diff options
Diffstat (limited to 'sc')
-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 168800478f46..6c2b23656881 100644 --- a/sc/source/filter/lotus/lotform.cxx +++ b/sc/source/filter/lotus/lotform.cxx @@ -43,6 +43,7 @@ #include "tool.h" #include <math.h> +#include <comphelper/string.hxx> extern WKTYP eTyp; @@ -77,7 +78,7 @@ void LotusToSc::DoFunc( DefTokenId eOc, sal_uInt8 nAnz, const sal_Char* pExtStri if( n != STRING_NOTFOUND ) t.Erase( 0, n + s.Len() ); - t.EraseTrailingChars( '(' ); + t = comphelper::string::stripEnd(t, '('); eOc = lcl_KnownAddIn( t ); |