diff options
Diffstat (limited to 'sc/source/ui/unoobj/funcuno.cxx')
-rw-r--r-- | sc/source/ui/unoobj/funcuno.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sc/source/ui/unoobj/funcuno.cxx b/sc/source/ui/unoobj/funcuno.cxx index 078112773671..c2ac19067b0d 100644 --- a/sc/source/ui/unoobj/funcuno.cxx +++ b/sc/source/ui/unoobj/funcuno.cxx @@ -510,9 +510,9 @@ uno::Any SAL_CALL ScFunctionAccess::callFunction( const OUString& aName, ScCompiler aCompiler(pDoc,aAdr); aCompiler.SetGrammar(pDoc->GetGrammar()); - // + // find function - // + ScTokenArray aTokenArr; if ( !lcl_AddFunctionToken( aTokenArr, aName,aCompiler ) ) @@ -521,16 +521,16 @@ uno::Any SAL_CALL ScFunctionAccess::callFunction( const OUString& aName, throw container::NoSuchElementException(); } - // + // set options (null date, etc.) - // + if ( pOptions ) pDoc->SetDocOptions( *pOptions ); - // + // add arguments to token array - // + sal_Bool bArgErr = false; sal_Bool bOverflow = false; @@ -632,9 +632,9 @@ uno::Any SAL_CALL ScFunctionAccess::callFunction( const OUString& aName, aTokenArr.AddOpCode(ocClose); aTokenArr.AddOpCode(ocStop); - // + // execute formula - // + uno::Any aRet; if ( !bArgErr && !bOverflow && nDocRow <= MAXROWCOUNT ) |