diff options
Diffstat (limited to 'sc/inc/progress.hxx')
-rw-r--r-- | sc/inc/progress.hxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sc/inc/progress.hxx b/sc/inc/progress.hxx index 4b6acb861e44..113467697c1b 100644 --- a/sc/inc/progress.hxx +++ b/sc/inc/progress.hxx @@ -124,13 +124,12 @@ public: return SetState( nVal ); return true; } - bool SetStateCountDownOnPercent( sal_uLong nVal ) + void SetStateCountDownOnPercent( sal_uLong nVal ) { /// only if percentage increased if ( nGlobalRange && ((nGlobalRange - nVal) * 100 / nGlobalRange) > nGlobalPercent ) - return SetStateCountDown( nVal ); - return true; + SetStateCountDown( nVal ); } sal_uLong GetState() { |