summaryrefslogtreecommitdiff
path: root/dbaccess/source/ext/macromigration/rangeprogressbar.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess/source/ext/macromigration/rangeprogressbar.hxx')
-rw-r--r--dbaccess/source/ext/macromigration/rangeprogressbar.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/ext/macromigration/rangeprogressbar.hxx b/dbaccess/source/ext/macromigration/rangeprogressbar.hxx
index e94f15dbdfbe..d0afc7de090c 100644
--- a/dbaccess/source/ext/macromigration/rangeprogressbar.hxx
+++ b/dbaccess/source/ext/macromigration/rangeprogressbar.hxx
@@ -87,7 +87,7 @@ namespace dbmm
//--------------------------------------------------------------------
inline void RangeProgressBar::SetValue( sal_uInt32 _nValue )
{
- ProgressBar::SetValue( (USHORT)( 100.0 * _nValue / m_nRange ) );
+ ProgressBar::SetValue( (sal_uInt16)( 100.0 * _nValue / m_nRange ) );
}
//--------------------------------------------------------------------