summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-07-05 11:57:50 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-07-05 11:57:50 +0200
commit499f6f492060c89852a0ddef55f48ff9606c26ef (patch)
tree7bdaca5fd8781fd4bb7049cef23876d11e54cc2c
parent000263f799d4aa9ad21e63f474def55438ce601e (diff)
loplugin:loopvartoosmall
Change-Id: Idc7b602d27a3198b222f5c9b6dc21b18d101bd45
-rw-r--r--svx/source/tbxctrls/SvxPresetListBox.cxx2
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());