summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-01-23 09:09:56 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-01-23 12:02:13 +0100
commitd8e31a35931de18bf71591ef84ac72f50bd73ef6 (patch)
tree931bbcc65e7bbd6b47167a8ccbd33094d317d2b9 /svx
parentb4ca7bd5377b8fa219fcf1d5daf26035eb4f1ee2 (diff)
loplugin:constparams in svx
Change-Id: Ie37288e4b9f064e309df81830f3a07507525bc55 Reviewed-on: https://gerrit.libreoffice.org/66771 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/dialog/hdft.cxx2
-rw-r--r--svx/source/dialog/swframeexample.cxx2
-rw-r--r--svx/source/gallery2/galmisc.cxx2
-rw-r--r--svx/source/svdraw/svdlayer.cxx2
-rw-r--r--svx/source/svdraw/svdmrkv.cxx2
5 files changed, 5 insertions, 5 deletions
diff --git a/svx/source/dialog/hdft.cxx b/svx/source/dialog/hdft.cxx
index 20c1bcdbd7a4..28ca57d1c585 100644
--- a/svx/source/dialog/hdft.cxx
+++ b/svx/source/dialog/hdft.cxx
@@ -457,7 +457,7 @@ void SvxHFPage::InitHandler()
m_xBackgroundBtn->connect_clicked(LINK(this,SvxHFPage, BackgroundHdl));
}
-void SvxHFPage::TurnOn(weld::ToggleButton* pBox)
+void SvxHFPage::TurnOn(const weld::ToggleButton* pBox)
{
if (m_xTurnOnBox->get_active())
{
diff --git a/svx/source/dialog/swframeexample.cxx b/svx/source/dialog/swframeexample.cxx
index 293cc40f27dd..dd7840461135 100644
--- a/svx/source/dialog/swframeexample.cxx
+++ b/svx/source/dialog/swframeexample.cxx
@@ -226,7 +226,7 @@ void SwFrameExample::InitAllRects_Impl(vcl::RenderContext& rRenderContext)
}
}
-void SwFrameExample::CalcBoundRect_Impl(vcl::RenderContext& rRenderContext, tools::Rectangle &rRect)
+void SwFrameExample::CalcBoundRect_Impl(const vcl::RenderContext& rRenderContext, tools::Rectangle &rRect)
{
switch (nAnchor)
{
diff --git a/svx/source/gallery2/galmisc.cxx b/svx/source/gallery2/galmisc.cxx
index 1fc01185bad8..d36a2b59ac0d 100644
--- a/svx/source/gallery2/galmisc.cxx
+++ b/svx/source/gallery2/galmisc.cxx
@@ -331,7 +331,7 @@ bool KillFile( const INetURLObject& rURL )
}
-GalleryProgress::GalleryProgress( GraphicFilter* pFilter )
+GalleryProgress::GalleryProgress( const GraphicFilter* pFilter )
{
uno::Reference< lang::XMultiServiceFactory > xMgr( ::comphelper::getProcessServiceFactory() );
diff --git a/svx/source/svdraw/svdlayer.cxx b/svx/source/svdraw/svdlayer.cxx
index a5b78f987ece..625969265092 100644
--- a/svx/source/svdraw/svdlayer.cxx
+++ b/svx/source/svdraw/svdlayer.cxx
@@ -188,7 +188,7 @@ SdrLayer* SdrLayerAdmin::NewLayer(const OUString& rName, sal_uInt16 nPos)
return pLay;
}
-sal_uInt16 SdrLayerAdmin::GetLayerPos(SdrLayer* pLayer) const
+sal_uInt16 SdrLayerAdmin::GetLayerPos(const SdrLayer* pLayer) const
{
sal_uInt16 nRet=SDRLAYERPOS_NOTFOUND;
if (pLayer!=nullptr) {
diff --git a/svx/source/svdraw/svdmrkv.cxx b/svx/source/svdraw/svdmrkv.cxx
index 2b015f98b494..a44c508f390c 100644
--- a/svx/source/svdraw/svdmrkv.cxx
+++ b/svx/source/svdraw/svdmrkv.cxx
@@ -1682,7 +1682,7 @@ void SdrMarkView::MarkObj(const tools::Rectangle& rRect, bool bUnmark)
namespace {
-void collectUIInformation(SdrObject* pObj)
+void collectUIInformation(const SdrObject* pObj)
{
EventDescription aDescription;
aDescription.aAction = "SELECT";