From 9610bab09361f506fd7b1a5f81d796a1f2c8afe4 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 6 Nov 2017 14:50:36 +0200 Subject: loplugin:constparams in sd Change-Id: Id4b68ca0509111396ed354f4cda43d663083cad0 Reviewed-on: https://gerrit.libreoffice.org/44388 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sd/source/ui/inc/pubdlg.hxx | 2 +- sd/source/ui/slideshow/slideshowimpl.cxx | 2 +- sd/source/ui/slideshow/slideshowimpl.hxx | 2 +- sd/source/ui/view/DocumentRenderer.cxx | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'sd/source/ui') diff --git a/sd/source/ui/inc/pubdlg.hxx b/sd/source/ui/inc/pubdlg.hxx index dc4ecc68f70b..345c96de6908 100644 --- a/sd/source/ui/inc/pubdlg.hxx +++ b/sd/source/ui/inc/pubdlg.hxx @@ -173,7 +173,7 @@ private: bool Save(); void GetDesign( SdPublishingDesign* pDesign ); - void SetDesign( SdPublishingDesign* pDesign ); + void SetDesign( SdPublishingDesign const * pDesign ); void LoadPreviewButtons(); diff --git a/sd/source/ui/slideshow/slideshowimpl.cxx b/sd/source/ui/slideshow/slideshowimpl.cxx index a2de6d4dd8f1..3f2e80b592c2 100644 --- a/sd/source/ui/slideshow/slideshowimpl.cxx +++ b/sd/source/ui/slideshow/slideshowimpl.cxx @@ -827,7 +827,7 @@ bool SlideshowImpl::startPreview( return bRet; } -bool SlideshowImpl::startShow( PresentationSettingsEx* pPresSettings ) +bool SlideshowImpl::startShow( PresentationSettingsEx const * pPresSettings ) { const rtl::Reference this_(this); diff --git a/sd/source/ui/slideshow/slideshowimpl.hxx b/sd/source/ui/slideshow/slideshowimpl.hxx index b98d4f1cac14..978ab77e596f 100644 --- a/sd/source/ui/slideshow/slideshowimpl.hxx +++ b/sd/source/ui/slideshow/slideshowimpl.hxx @@ -247,7 +247,7 @@ private: virtual void SAL_CALL disposing() override; // internal - bool startShow( PresentationSettingsEx* pPresSettings ); + bool startShow( PresentationSettingsEx const * pPresSettings ); bool startPreview( const css::uno::Reference< css::drawing::XDrawPage >& xDrawPage, const css::uno::Reference< css::animations::XAnimationNode >& xAnimationNode, diff --git a/sd/source/ui/view/DocumentRenderer.cxx b/sd/source/ui/view/DocumentRenderer.cxx index f708d864d40c..608a4af642bb 100644 --- a/sd/source/ui/view/DocumentRenderer.cxx +++ b/sd/source/ui/view/DocumentRenderer.cxx @@ -1582,7 +1582,7 @@ private: current slide then that is added. Otherwise a new printer page is started. */ - void PrepareOutline (PrintInfo& rInfo) + void PrepareOutline (PrintInfo const & rInfo) { MapMode aMap (rInfo.maMap); Point aPageOfs (rInfo.mpPrinter->GetPageOffset() ); -- cgit