diff options
Diffstat (limited to 'UnoControls')
-rw-r--r-- | UnoControls/source/controls/progressbar.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/UnoControls/source/controls/progressbar.cxx b/UnoControls/source/controls/progressbar.cxx index 6ff24bed4704..f5dd914ff2b7 100644 --- a/UnoControls/source/controls/progressbar.cxx +++ b/UnoControls/source/controls/progressbar.cxx @@ -352,7 +352,7 @@ void ProgressBar::impl_paint ( sal_Int32 nX, sal_Int32 nY, const Reference< XGra // Step to left side of window nBlockStart = nX; - for ( sal_Int16 i=1; i<=nBlockCount; ++i ) + for ( sal_Int32 i=1; i<=nBlockCount; ++i ) { // step free field nBlockStart += PROGRESSBAR_FREESPACE; @@ -370,7 +370,7 @@ void ProgressBar::impl_paint ( sal_Int32 nX, sal_Int32 nY, const Reference< XGra nBlockStart = nY+impl_getHeight(); nBlockStart -= m_aBlockSize.Height; - for ( sal_Int16 i=1; i<=nBlockCount; ++i ) + for ( sal_Int32 i=1; i<=nBlockCount; ++i ) { // step free field nBlockStart -= PROGRESSBAR_FREESPACE; |