summaryrefslogtreecommitdiff
path: root/sd/source/ui
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-11-06 14:50:36 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-11-07 12:07:39 +0100
commit9610bab09361f506fd7b1a5f81d796a1f2c8afe4 (patch)
treea548ba147b488ea60230e27b62a57121836e113d /sd/source/ui
parentb35bb38f18fd94aa67af944f76b820d59380b78b (diff)
loplugin:constparams in sd
Change-Id: Id4b68ca0509111396ed354f4cda43d663083cad0 Reviewed-on: https://gerrit.libreoffice.org/44388 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/source/ui')
-rw-r--r--sd/source/ui/inc/pubdlg.hxx2
-rw-r--r--sd/source/ui/slideshow/slideshowimpl.cxx2
-rw-r--r--sd/source/ui/slideshow/slideshowimpl.hxx2
-rw-r--r--sd/source/ui/view/DocumentRenderer.cxx2
4 files changed, 4 insertions, 4 deletions
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<SlideshowImpl> 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() );