summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
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";