diff options
author | Noel Grandin <noel@peralex.com> | 2016-03-24 11:38:51 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-03-24 11:41:01 +0200 |
commit | 682b9b33c71066bbf703c22e9689367e7bd569b6 (patch) | |
tree | 98a123ad26a73f6635ff86fdf0d16cfc7f7c33d7 /sc/source/filter | |
parent | c09d0aa46ceaeb96869eae1a23a86040189472f4 (diff) |
loplugin:constantparam in sc
Change-Id: I8608a6cb47972e9b838cc5ea431863348758ded0
Diffstat (limited to 'sc/source/filter')
-rw-r--r-- | sc/source/filter/dif/difexp.cxx | 2 | ||||
-rw-r--r-- | sc/source/filter/ftools/fprogressbar.cxx | 2 | ||||
-rw-r--r-- | sc/source/filter/rtf/eeimpars.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/filter/dif/difexp.cxx b/sc/source/filter/dif/difexp.cxx index 1c26df14a9ba..2f15ebe0bbc6 100644 --- a/sc/source/filter/dif/difexp.cxx +++ b/sc/source/filter/dif/difexp.cxx @@ -99,7 +99,7 @@ FltError ScFormatFilterPluginImpl::ScExportDif( SvStream& rOut, ScDocument* pDoc SCROW nNumRows = nEndRow - rRange.aStart.Row() + 1; SCTAB nTab = rRange.aStart.Tab(); - ScProgress aPrgrsBar( pDoc->GetDocumentShell(), ScGlobal::GetRscString( STR_LOAD_DOC ), nNumRows ); + ScProgress aPrgrsBar( pDoc->GetDocumentShell(), ScGlobal::GetRscString( STR_LOAD_DOC ), nNumRows, true ); aPrgrsBar.SetState( 0 ); diff --git a/sc/source/filter/ftools/fprogressbar.cxx b/sc/source/filter/ftools/fprogressbar.cxx index 932444fb6714..57097ff41653 100644 --- a/sc/source/filter/ftools/fprogressbar.cxx +++ b/sc/source/filter/ftools/fprogressbar.cxx @@ -93,7 +93,7 @@ void ScfProgressBar::SetCurrSegment( ScfProgressSegment* pSegment ) nSysTotalSize /= 2; mnSysProgressScale *= 2; } - mxSysProgress.reset( new ScProgress( mpDocShell, maText, nSysTotalSize ) ); + mxSysProgress.reset( new ScProgress( mpDocShell, maText, nSysTotalSize, true ) ); } if( !mbInProgress && mpCurrSegment && (mnTotalSize > 0) ) diff --git a/sc/source/filter/rtf/eeimpars.cxx b/sc/source/filter/rtf/eeimpars.cxx index 8200745fb721..d4a39d967083 100644 --- a/sc/source/filter/rtf/eeimpars.cxx +++ b/sc/source/filter/rtf/eeimpars.cxx @@ -108,7 +108,7 @@ sal_uLong ScEEImport::Read( SvStream& rStream, const OUString& rBaseURL ) void ScEEImport::WriteToDocument( bool bSizeColsRows, double nOutputFactor, SvNumberFormatter* pFormatter, bool bConvertDate ) { ScProgress* pProgress = new ScProgress( mpDoc->GetDocumentShell(), - ScGlobal::GetRscString( STR_LOAD_DOC ), mpParser->ListSize() ); + ScGlobal::GetRscString( STR_LOAD_DOC ), mpParser->ListSize(), true ); sal_uLong nProgress = 0; SCCOL nStartCol, nEndCol; |