summaryrefslogtreecommitdiff
path: root/sd/source
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-11-02 14:32:10 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-11-03 07:54:12 +0100
commit6299c8cae923198c55d47320fa8a89bbcd5b0f2b (patch)
tree019ed8f1d754f92fb72c9ae4639ab671bae97018 /sd/source
parentde39e35b21134e9a0f946aabe4859b16a62b248d (diff)
loplugin:constparams
Change-Id: Iebeb531fad5cc819b536788925cf8508737198b7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124599 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/source')
-rw-r--r--sd/source/core/sdpage_animations.cxx4
-rw-r--r--sd/source/filter/html/htmlex.cxx2
2 files changed, 3 insertions, 3 deletions
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 ) );