diff options
Diffstat (limited to 'sc/source/ui/unoobj')
-rw-r--r-- | sc/source/ui/unoobj/funcuno.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/ui/unoobj/funcuno.cxx b/sc/source/ui/unoobj/funcuno.cxx index de55b28351ae..1fd2840313c0 100644 --- a/sc/source/ui/unoobj/funcuno.cxx +++ b/sc/source/ui/unoobj/funcuno.cxx @@ -569,8 +569,7 @@ uno::Any SAL_CALL ScFunctionAccess::callFunction( const OUString& aName, { OUString aUStr; rArg >>= aUStr; - String aStr( aUStr ); - aTokenArr.AddString( aStr.GetBuffer() ); + aTokenArr.AddString( aUStr ); } else if ( aType.equals( getCppuType( (uno::Sequence< uno::Sequence<sal_Int16> > *)0 ) ) ) { |