summaryrefslogtreecommitdiff
path: root/include/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 /include/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 'include/svx')
-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
4 files changed, 4 insertions, 4 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;