diff options
Diffstat (limited to 'sc/source/ui/dbgui/pvfundlg.cxx')
-rw-r--r-- | sc/source/ui/dbgui/pvfundlg.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/source/ui/dbgui/pvfundlg.cxx b/sc/source/ui/dbgui/pvfundlg.cxx index d947b51d4ad9..5a9ad2b33621 100644 --- a/sc/source/ui/dbgui/pvfundlg.cxx +++ b/sc/source/ui/dbgui/pvfundlg.cxx @@ -100,6 +100,7 @@ static const PivotFunc spnFunctions[] = PivotFunc::Sum, PivotFunc::Count, PivotFunc::Average, + PivotFunc::Median, PivotFunc::Max, PivotFunc::Min, PivotFunc::Product, @@ -189,6 +190,7 @@ void ScDPFunctionListBox::FillFunctionNames() ResStringArray aArr( ScResId( SCSTR_DPFUNCLISTBOX ) ); for( sal_uInt16 nIndex = 0, nCount = sal::static_int_cast<sal_uInt16>(aArr.Count()); nIndex < nCount; ++nIndex ) InsertEntry( aArr.GetString( nIndex ) ); + assert(GetEntryCount() == SAL_N_ELEMENTS(spnFunctions)); } ScDPFunctionDlg::ScDPFunctionDlg( |