summaryrefslogtreecommitdiff
path: root/editeng/source/outliner/outlin2.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-28 12:07:49 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-28 21:32:33 +0200
commit32894034ea7b283d6c60cb77ef5d8b43a9c15d65 (patch)
treea210de631bfb7c824c8caaf71cab098358727b81 /editeng/source/outliner/outlin2.cxx
parent977a676a718bfa682352d023420f4026ea9d7025 (diff)
loplugin:constparams in editeng
Change-Id: Ice32a16d14d0132a19e8209d311bb799fd7ee0c8 Reviewed-on: https://gerrit.libreoffice.org/40526 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'editeng/source/outliner/outlin2.cxx')
-rw-r--r--editeng/source/outliner/outlin2.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/editeng/source/outliner/outlin2.cxx b/editeng/source/outliner/outlin2.cxx
index 88b853140ec9..c2b1881b8ada 100644
--- a/editeng/source/outliner/outlin2.cxx
+++ b/editeng/source/outliner/outlin2.cxx
@@ -228,17 +228,17 @@ void Outliner::SetMaxAutoPaperSize( const Size& rSz )
pEditEngine->SetMaxAutoPaperSize( rSz );
}
-bool Outliner::IsExpanded( Paragraph* pPara ) const
+bool Outliner::IsExpanded( Paragraph const * pPara ) const
{
return pParaList->HasVisibleChildren( pPara );
}
-Paragraph* Outliner::GetParent( Paragraph* pParagraph ) const
+Paragraph* Outliner::GetParent( Paragraph const * pParagraph ) const
{
return pParaList->GetParent( pParagraph );
}
-sal_Int32 Outliner::GetChildCount( Paragraph* pParent ) const
+sal_Int32 Outliner::GetChildCount( Paragraph const * pParent ) const
{
return pParaList->GetChildCount( pParent );
}
@@ -389,7 +389,7 @@ bool Outliner::SpellNextDocument()
}
-void Outliner::SetSpeller( Reference< XSpellChecker1 > &xSpeller )
+void Outliner::SetSpeller( Reference< XSpellChecker1 > const &xSpeller )
{
pEditEngine->SetSpeller( xSpeller );
}
@@ -403,7 +403,7 @@ void Outliner::SetForbiddenCharsTable(const std::shared_ptr<SvxForbiddenCharacte
EditEngine::SetForbiddenCharsTable(xForbiddenChars);
}
-void Outliner::SetHyphenator( Reference< XHyphenator >& xHyph )
+void Outliner::SetHyphenator( Reference< XHyphenator > const & xHyph )
{
pEditEngine->SetHyphenator( xHyph );
}
@@ -581,17 +581,17 @@ bool Outliner::IsForceAutoColor() const
return pEditEngine->IsForceAutoColor();
}
-bool Outliner::SpellSentence(EditView& rEditView, svx::SpellPortions& rToFill )
+bool Outliner::SpellSentence(EditView const & rEditView, svx::SpellPortions& rToFill )
{
return pEditEngine->SpellSentence(rEditView, rToFill );
}
-void Outliner::PutSpellingToSentenceStart( EditView& rEditView )
+void Outliner::PutSpellingToSentenceStart( EditView const & rEditView )
{
pEditEngine->PutSpellingToSentenceStart( rEditView );
}
-void Outliner::ApplyChangedSentence(EditView& rEditView, const svx::SpellPortions& rNewPortions, bool bRecheck )
+void Outliner::ApplyChangedSentence(EditView const & rEditView, const svx::SpellPortions& rNewPortions, bool bRecheck )
{
pEditEngine->ApplyChangedSentence( rEditView, rNewPortions, bRecheck );
}