summaryrefslogtreecommitdiff
path: root/sc/inc/progress.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/inc/progress.hxx')
-rw-r--r--sc/inc/progress.hxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/sc/inc/progress.hxx b/sc/inc/progress.hxx
index 113467697c1b..3fc2ba375ae7 100644
--- a/sc/inc/progress.hxx
+++ b/sc/inc/progress.hxx
@@ -80,14 +80,12 @@ public:
ScProgress();
#endif
- bool SetStateText( sal_uLong nVal, const OUString &rVal, sal_uLong nNewRange = 0 )
+ bool SetStateText( sal_uLong nVal, const OUString &rVal )
{
if ( pProgress )
{
- if ( nNewRange )
- nGlobalRange = nNewRange;
CalcGlobalPercent( nVal );
- if ( !pProgress->SetStateText( nVal, rVal, nNewRange ) )
+ if ( !pProgress->SetStateText( nVal, rVal ) )
bGlobalNoUserBreak = false;
return bGlobalNoUserBreak;
}