summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/svx/galmisc.hxx2
-rw-r--r--include/svx/hdft.hxx2
-rw-r--r--include/svx/svdlayer.hxx2
-rw-r--r--include/svx/swframeexample.hxx2
-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
9 files changed, 9 insertions, 9 deletions
diff --git a/include/svx/galmisc.hxx b/include/svx/galmisc.hxx
index d586325cc9a8..c77a9bd90cd0 100644
--- a/include/svx/galmisc.hxx
+++ b/include/svx/galmisc.hxx
@@ -124,7 +124,7 @@ class SVX_DLLPUBLIC GalleryProgress
public:
- GalleryProgress( GraphicFilter* pFilter = nullptr );
+ GalleryProgress( const GraphicFilter* pFilter = nullptr );
~GalleryProgress();
void Update( sal_Int32 nVal, sal_Int32 nMaxVal );
diff --git a/include/svx/hdft.hxx b/include/svx/hdft.hxx
index 9cd1587510b5..2a307ec13e10 100644
--- a/include/svx/hdft.hxx
+++ b/include/svx/hdft.hxx
@@ -86,7 +86,7 @@ protected:
std::unique_ptr<weld::CustomWeld> m_xBspWin;
void InitHandler();
- void TurnOn(weld::ToggleButton* pButton);
+ void TurnOn(const weld::ToggleButton* pButton);
DECL_LINK(TurnOnHdl, weld::ToggleButton&, void);
DECL_LINK(BackgroundHdl, weld::Button&, void);
DECL_LINK(ValueChangeHdl, weld::MetricSpinButton&, void);
diff --git a/include/svx/svdlayer.hxx b/include/svx/svdlayer.hxx
index dca763194356..491dcd253bf1 100644
--- a/include/svx/svdlayer.hxx
+++ b/include/svx/svdlayer.hxx
@@ -140,7 +140,7 @@ public:
SdrLayer* GetLayer(sal_uInt16 i) { return maLayers[i].get(); }
const SdrLayer* GetLayer(sal_uInt16 i) const { return maLayers[i].get(); }
- sal_uInt16 GetLayerPos(SdrLayer* pLayer) const;
+ sal_uInt16 GetLayerPos(const SdrLayer* pLayer) const;
SdrLayer* GetLayer(const OUString& rName);
const SdrLayer* GetLayer(const OUString& rName) const;
diff --git a/include/svx/swframeexample.hxx b/include/svx/swframeexample.hxx
index 814f0d84aa22..0437831781ca 100644
--- a/include/svx/swframeexample.hxx
+++ b/include/svx/swframeexample.hxx
@@ -63,7 +63,7 @@ class SVX_DLLPUBLIC SwFrameExample : public weld::CustomWidgetController
void InitColors_Impl();
void InitAllRects_Impl(vcl::RenderContext& rRenderContext);
- void CalcBoundRect_Impl(vcl::RenderContext& rRenderContext, tools::Rectangle &rRect);
+ void CalcBoundRect_Impl(const vcl::RenderContext& rRenderContext, tools::Rectangle &rRect);
tools::Rectangle DrawInnerFrame_Impl(vcl::RenderContext& rRenderContext, const tools::Rectangle &rRect, const Color &rFillColor, const Color &rBorderColor);
virtual void StyleUpdated() override;
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";