diff options
author | Noel Grandin <noel@peralex.com> | 2016-03-09 14:25:11 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-03-10 10:09:59 +0200 |
commit | 70fca3e901e41fa52589eb3f06e6839c4a8582de (patch) | |
tree | 4bcef05f05f3ddca104edb72e5f8e4395a99daec /editeng/source/outliner/outliner.cxx | |
parent | f803aae0f318f99eb435c8fe7fc095fcd966d5ce (diff) |
loplugin:constantparam in editeng
Change-Id: I078061c502c09bccf515151d3a5bdcd1176e64fb
Diffstat (limited to 'editeng/source/outliner/outliner.cxx')
-rw-r--r-- | editeng/source/outliner/outliner.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/editeng/source/outliner/outliner.cxx b/editeng/source/outliner/outliner.cxx index 64d29cd311b7..f14053b73f34 100644 --- a/editeng/source/outliner/outliner.cxx +++ b/editeng/source/outliner/outliner.cxx @@ -580,7 +580,7 @@ void Outliner::SetText( const OutlinerParaObject& rPObj ) bFirstParaIsEmpty = false; - pParaList->Clear( true ); + pParaList->Clear(); for( sal_Int32 nCurPara = 0; nCurPara < rPObj.Count(); nCurPara++ ) { Paragraph* pPara = new Paragraph( rPObj.GetParagraphData(nCurPara)); @@ -610,7 +610,7 @@ void Outliner::AddText( const OutlinerParaObject& rPObj ) sal_Int32 nPara; if( bFirstParaIsEmpty ) { - pParaList->Clear( true ); + pParaList->Clear(); pEditEngine->SetText(rPObj.GetTextObject()); nPara = 0; } @@ -1103,7 +1103,7 @@ sal_uLong Outliner::Read( SvStream& rInput, const OUString& rBaseURL, sal_uInt16 bFirstParaIsEmpty = false; sal_Int32 nParas = pEditEngine->GetParagraphCount(); - pParaList->Clear( true ); + pParaList->Clear(); for ( sal_Int32 n = 0; n < nParas; n++ ) { Paragraph* pPara = new Paragraph( 0 ); @@ -1284,7 +1284,7 @@ Outliner::Outliner(SfxItemPool* pPool, sal_uInt16 nMode) Outliner::~Outliner() { - pParaList->Clear( true ); + pParaList->Clear(); delete pParaList; delete pEditEngine; } @@ -1914,7 +1914,7 @@ void Outliner::Clear() { ImplBlockInsertionCallbacks( true ); pEditEngine->Clear(); - pParaList->Clear( true ); + pParaList->Clear(); pParaList->Append( new Paragraph( nMinDepth )); bFirstParaIsEmpty = true; ImplBlockInsertionCallbacks( false ); |