From c08baae30c62d8bac45c8d49dd556ed1b770889c Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sat, 29 Mar 2014 21:03:04 +0000 Subject: coverity#1194918 Overflowed array index read Change-Id: Ic9cec3fc6749672b30bb1e0c96159897e50a84e5 --- sc/source/ui/dbgui/pfiltdlg.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sc') diff --git a/sc/source/ui/dbgui/pfiltdlg.cxx b/sc/source/ui/dbgui/pfiltdlg.cxx index 752bc4693a64..43d9e871d0f9 100644 --- a/sc/source/ui/dbgui/pfiltdlg.cxx +++ b/sc/source/ui/dbgui/pfiltdlg.cxx @@ -284,9 +284,9 @@ void ScPivotFilterDlg::UpdateValueList( sal_uInt16 nList ) if ( pDoc && nList>0 && nList<=3 ) { ComboBox* pValList = aValueEdArr[nList-1]; - sal_uInt16 nFieldSelPos = aFieldLbArr[nList-1]->GetSelectEntryPos(); - sal_uInt16 nListPos = 0; - OUString aCurValue = pValList->GetText(); + sal_Int32 nFieldSelPos = aFieldLbArr[nList-1]->GetSelectEntryPos(); + sal_Int32 nListPos = 0; + OUString aCurValue = pValList->GetText(); pValList->Clear(); pValList->InsertEntry( aStrNotEmpty, 0 ); -- cgit