summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/cellsh.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/view/cellsh.cxx')
-rw-r--r--sc/source/ui/view/cellsh.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/cellsh.cxx b/sc/source/ui/view/cellsh.cxx
index b804414c5a68..cc1ff7533114 100644
--- a/sc/source/ui/view/cellsh.cxx
+++ b/sc/source/ui/view/cellsh.cxx
@@ -803,7 +803,7 @@ void ScCellShell::GetState(SfxItemSet &rSet)
case SID_STATUS_SUM:
{
OUString aFuncStr;
- if ( pTabViewShell->GetFunction( aFuncStr ) )
+ if ( pTabViewShell->GetFunction( aFuncStr, 0 ) )
rSet.Put( SfxStringItem( nWhich, aFuncStr ) );
}
break;