diff options
-rw-r--r-- | svx/source/tbxctrls/SvxPresetListBox.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/tbxctrls/SvxPresetListBox.cxx b/svx/source/tbxctrls/SvxPresetListBox.cxx index 6885b70919e0..c14ad1fa0bba 100644 --- a/svx/source/tbxctrls/SvxPresetListBox.cxx +++ b/svx/source/tbxctrls/SvxPresetListBox.cxx @@ -90,7 +90,7 @@ void SvxPresetListBox::FillPresetListBox(XHatchList& pList, sal_uInt32 nStartInd { const Size aSize(100,60); BitmapEx aBitmap; - for(sal_Int32 nIndex = 0; nIndex < pList.Count(); nIndex++, nStartIndex++) + for(long nIndex = 0; nIndex < pList.Count(); nIndex++, nStartIndex++) { aBitmap = pList.GetBitmapForPreview(nIndex, aSize); InsertItem(nStartIndex, Image(aBitmap), pList.GetHatch( nIndex )->GetName()); |