summaryrefslogtreecommitdiff
path: root/sfx2/source/bastyp/progress.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-03-04 09:24:48 +0200
committerNoel Grandin <noel@peralex.com>2016-03-04 11:48:04 +0200
commit9a1e6d916eff1236cc1be2056c91e56018a482bf (patch)
tree95c0dac3d7b10ef96174431f0363b401aec8cd1c /sfx2/source/bastyp/progress.cxx
parent6610ad9aee0c8299880cd1da6cd6a756860ccad9 (diff)
loplugin:unuseddefaultparam in sfx2
and fix an issue with calls to templated methods in the plugin Change-Id: I9c9537a0690ff671286c007846d5f4cfb7d2982b
Diffstat (limited to 'sfx2/source/bastyp/progress.cxx')
-rw-r--r--sfx2/source/bastyp/progress.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/sfx2/source/bastyp/progress.cxx b/sfx2/source/bastyp/progress.cxx
index 5d3700abb547..618590ee3509 100644
--- a/sfx2/source/bastyp/progress.cxx
+++ b/sfx2/source/bastyp/progress.cxx
@@ -215,13 +215,12 @@ void SfxProgress::Stop()
bool SfxProgress::SetStateText
(
sal_uLong nNewVal, /* New value for the progress-bar */
- const OUString& rNewVal, /* Status as Text */
- sal_uLong nNewRange /* new maximum value, 0 for retaining the old */
+ const OUString& rNewVal /* Status as Text */
)
{
pImp->aStateText = rNewVal;
- return SetState( nNewVal, nNewRange );
+ return SetState( nNewVal );
}
bool SfxProgress::SetState