summaryrefslogtreecommitdiff
path: root/sd/source/ui/sidebar/DocumentHelper.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-08-03 10:23:01 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-08-03 11:06:54 +0200
commitdafae0fe31353a8092334328d499bc108d39e44c (patch)
tree7c7d58067996627f163e2f65f7faae86dd91615a /sd/source/ui/sidebar/DocumentHelper.cxx
parenteba883c8a2ce045fc7bd3848d796ca10b7f4ba51 (diff)
loplugin:constparams in sd
Change-Id: I833c6da99d5ccb8f6a8b5c905bee73b75fde0a89 Reviewed-on: https://gerrit.libreoffice.org/40700 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/source/ui/sidebar/DocumentHelper.cxx')
-rw-r--r--sd/source/ui/sidebar/DocumentHelper.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sd/source/ui/sidebar/DocumentHelper.cxx b/sd/source/ui/sidebar/DocumentHelper.cxx
index bb2a3d853e66..da1699ae53fc 100644
--- a/sd/source/ui/sidebar/DocumentHelper.cxx
+++ b/sd/source/ui/sidebar/DocumentHelper.cxx
@@ -155,7 +155,7 @@ SdPage* DocumentHelper::CopyMasterPageToLocalDocument (
return pNewMasterPage;
}
-SdPage* DocumentHelper::GetSlideForMasterPage (SdPage* pMasterPage)
+SdPage* DocumentHelper::GetSlideForMasterPage (SdPage const * pMasterPage)
{
SdPage* pCandidate = nullptr;
@@ -203,7 +203,7 @@ SdPage* DocumentHelper::GetSlideForMasterPage (SdPage* pMasterPage)
SdPage* DocumentHelper::AddMasterPage (
SdDrawDocument& rTargetDocument,
- SdPage* pMasterPage)
+ SdPage const * pMasterPage)
{
SdPage* pClonedMasterPage = nullptr;
@@ -248,9 +248,9 @@ SdPage* DocumentHelper::AddMasterPage (
}
void DocumentHelper::ProvideStyles (
- SdDrawDocument& rSourceDocument,
+ SdDrawDocument const & rSourceDocument,
SdDrawDocument& rTargetDocument,
- SdPage* pPage)
+ SdPage const * pPage)
{
// Get the layout name of the given page.
OUString sLayoutName (pPage->GetLayoutName());
@@ -344,7 +344,7 @@ void DocumentHelper::AssignMasterPageToPageList (
SdPage* DocumentHelper::AddMasterPage (
SdDrawDocument& rTargetDocument,
- SdPage* pMasterPage,
+ SdPage const * pMasterPage,
sal_uInt16 nInsertionIndex)
{
SdPage* pClonedMasterPage = nullptr;
@@ -399,7 +399,7 @@ SdPage* DocumentHelper::AddMasterPage (
inserted into the target document.
*/
void DocumentHelper::AssignMasterPageToPage (
- SdPage* pMasterPage,
+ SdPage const * pMasterPage,
const OUString& rsBaseLayoutName,
SdPage* pPage)
{