diff options
author | Noel Grandin <noel@peralex.com> | 2016-04-04 14:07:10 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-04-05 06:26:05 +0000 |
commit | 50bb5eddaac2b16f387ba610cdcfd934269dc73c (patch) | |
tree | 26f385d94ab4651eb19fb8fbc5b9253743ce6b91 /editeng/source/outliner/outlvw.cxx | |
parent | db43ef00c12bc0f7fefd6d028c9a2ed8f771cd47 (diff) |
loplugin:constantparam in editeng
Change-Id: If8342112e0657014266133954269b9396085a27d
Reviewed-on: https://gerrit.libreoffice.org/23807
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'editeng/source/outliner/outlvw.cxx')
-rw-r--r-- | editeng/source/outliner/outlvw.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/editeng/source/outliner/outlvw.cxx b/editeng/source/outliner/outlvw.cxx index cd855b7a03c5..c4891e228286 100644 --- a/editeng/source/outliner/outlvw.cxx +++ b/editeng/source/outliner/outlvw.cxx @@ -1160,10 +1160,10 @@ void OutlinerView::SwitchOffBulletsNumbering( void OutlinerView::RemoveAttribsKeepLanguages( bool bRemoveParaAttribs ) { - RemoveAttribs( bRemoveParaAttribs, 0, true /*keep language attribs*/ ); + RemoveAttribs( bRemoveParaAttribs, true /*keep language attribs*/ ); } -void OutlinerView::RemoveAttribs( bool bRemoveParaAttribs, sal_uInt16 nWhich, bool bKeepLanguages ) +void OutlinerView::RemoveAttribs( bool bRemoveParaAttribs, bool bKeepLanguages ) { bool bUpdate = pOwner->GetUpdateMode(); pOwner->SetUpdateMode( false ); @@ -1171,7 +1171,7 @@ void OutlinerView::RemoveAttribs( bool bRemoveParaAttribs, sal_uInt16 nWhich, bo if (bKeepLanguages) pEditView->RemoveAttribsKeepLanguages( bRemoveParaAttribs ); else - pEditView->RemoveAttribs( bRemoveParaAttribs, nWhich ); + pEditView->RemoveAttribs( bRemoveParaAttribs ); if ( bRemoveParaAttribs ) { // Loop through all paragraphs and set indentation and level @@ -1388,7 +1388,7 @@ sal_uLong OutlinerView::Read( SvStream& rInput, const OUString& rBaseURL, EEText ESelection aOldSel = pEditView->GetSelection(); aOldSel.Adjust(); - sal_uLong nRet = pEditView->Read( rInput, rBaseURL, eFormat, false/*bSelect*/, pHTTPHeaderAttrs ); + sal_uLong nRet = pEditView->Read( rInput, rBaseURL, eFormat, pHTTPHeaderAttrs ); long nParaDiff = pEditView->GetEditEngine()->GetParagraphCount() - nOldParaCount; sal_Int32 nChangesStart = aOldSel.nStartPara; |