From 2ac309188820036b1b99f983e8b793445e9b2ab2 Mon Sep 17 00:00:00 2001 From: Noel Date: Tue, 6 Oct 2020 13:09:02 +0200 Subject: loplugin:const* make some params and methods const Change-Id: Idec482c21c270912f9bcaeb980077c1616f67c8c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104022 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/svx/bmpmask.hxx | 2 +- include/svx/signaturelinehelper.hxx | 2 +- include/svx/svdmrkv.hxx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'include/svx') diff --git a/include/svx/bmpmask.hxx b/include/svx/bmpmask.hxx index 7bb6a3d13a37..118b3c79deec 100644 --- a/include/svx/bmpmask.hxx +++ b/include/svx/bmpmask.hxx @@ -160,7 +160,7 @@ public: bool IsEyedropping() const; - void onSelect( MaskSet* pSet ); + void onSelect( const MaskSet* pSet ); private: diff --git a/include/svx/signaturelinehelper.hxx b/include/svx/signaturelinehelper.hxx index b4a34749d101..b31e4c2e8483 100644 --- a/include/svx/signaturelinehelper.hxx +++ b/include/svx/signaturelinehelper.hxx @@ -57,7 +57,7 @@ SVX_DLLPUBLIC css::uno::Reference importSVG(const OUStri * Sets xCertificate as the signing certificate of the selected shape on pView. */ SVX_DLLPUBLIC void -setShapeCertificate(SdrView* pView, +setShapeCertificate(const SdrView* pView, const css::uno::Reference& xCertificate); } diff --git a/include/svx/svdmrkv.hxx b/include/svx/svdmrkv.hxx index aaf16fba2670..17e9ad2b15f9 100644 --- a/include/svx/svdmrkv.hxx +++ b/include/svx/svdmrkv.hxx @@ -147,7 +147,7 @@ private: SVX_DLLPRIVATE void ImpSetPointsRects() const; void UndirtyMrkPnt() const; - void SetMarkHandlesForLOKit(tools::Rectangle const & rRect, SfxViewShell* pOtherShell); + void SetMarkHandlesForLOKit(tools::Rectangle const & rRect, const SfxViewShell* pOtherShell); protected: virtual void Notify(SfxBroadcaster& rBC, const SfxHint& rHint) override; -- cgit