From 6299c8cae923198c55d47320fa8a89bbcd5b0f2b Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 2 Nov 2021 14:32:10 +0200 Subject: loplugin:constparams Change-Id: Iebeb531fad5cc819b536788925cf8508737198b7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124599 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sd/inc/sdpage.hxx | 4 ++-- sd/source/core/sdpage_animations.cxx | 4 ++-- sd/source/filter/html/htmlex.cxx | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'sd') diff --git a/sd/inc/sdpage.hxx b/sd/inc/sdpage.hxx index ae97ff0b18e1..16315c219603 100644 --- a/sd/inc/sdpage.hxx +++ b/sd/inc/sdpage.hxx @@ -334,10 +334,10 @@ public: bool bEdit ) override; /** callback from the sd::View when a new paragraph for one object on this page is created */ - void onParagraphInserted( ::Outliner* pOutliner, Paragraph const * pPara, SdrObject* pObj ); + void onParagraphInserted( const ::Outliner* pOutliner, Paragraph const * pPara, SdrObject* pObj ); /** callback from the sd::View when a paragraph from one object on this page is removed */ - void onParagraphRemoving( ::Outliner* pOutliner, Paragraph const * pPara, SdrObject* pObj ); + void onParagraphRemoving( const ::Outliner* pOutliner, Paragraph const * pPara, SdrObject* pObj ); /** callback from the sd::View when an object just left text edit mode */ void onEndTextEdit( SdrObject* pObj ); diff --git a/sd/source/core/sdpage_animations.cxx b/sd/source/core/sdpage_animations.cxx index bb16cacdbb7a..34a049c3dc60 100644 --- a/sd/source/core/sdpage_animations.cxx +++ b/sd/source/core/sdpage_animations.cxx @@ -106,7 +106,7 @@ FadeEffect SdPage::GetFadeEffect() const } /** callback from the sd::View when a new paragraph for one object on this page is created */ -void SdPage::onParagraphInserted( ::Outliner* pOutliner, Paragraph const * pPara, SdrObject* pObj ) +void SdPage::onParagraphInserted( const ::Outliner* pOutliner, Paragraph const * pPara, SdrObject* pObj ) { if( mxAnimationNode.is() ) { @@ -121,7 +121,7 @@ void SdPage::onParagraphInserted( ::Outliner* pOutliner, Paragraph const * pPara } /** callback from the sd::View when a paragraph from one object on this page is removed */ -void SdPage::onParagraphRemoving( ::Outliner* pOutliner, Paragraph const * pPara, SdrObject* pObj ) +void SdPage::onParagraphRemoving( const ::Outliner* pOutliner, Paragraph const * pPara, SdrObject* pObj ) { if( mxAnimationNode.is() ) { diff --git a/sd/source/filter/html/htmlex.cxx b/sd/source/filter/html/htmlex.cxx index 13f12dc69c2f..3e06c07fed38 100644 --- a/sd/source/filter/html/htmlex.cxx +++ b/sd/source/filter/html/htmlex.cxx @@ -304,7 +304,7 @@ OUString HtmlState::SetLink( const OUString& aLink, const OUString& aTarget ) namespace { -OUString getParagraphStyle( SdrOutliner* pOutliner, sal_Int32 nPara ) +OUString getParagraphStyle( const SdrOutliner* pOutliner, sal_Int32 nPara ) { SfxItemSet aParaSet( pOutliner->GetParaAttribs( nPara ) ); -- cgit