summaryrefslogtreecommitdiff
path: root/sc/source/ui/unoobj/funcuno.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/unoobj/funcuno.cxx')
-rw-r--r--sc/source/ui/unoobj/funcuno.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/unoobj/funcuno.cxx b/sc/source/ui/unoobj/funcuno.cxx
index 2a72d61bd1cf..963afdb560a6 100644
--- a/sc/source/ui/unoobj/funcuno.cxx
+++ b/sc/source/ui/unoobj/funcuno.cxx
@@ -471,7 +471,7 @@ uno::Any SAL_CALL ScFunctionAccess::callFunction( const OUString& aName,
// find function
- ScTokenArray aTokenArr(pDoc);
+ ScTokenArray aTokenArr(*pDoc);
if ( !lcl_AddFunctionToken( aTokenArr, aName,aCompiler ) )
{
// function not found