Kaydet (Commit) d8e31a35 authored tarafından Noel Grandin's avatar Noel Grandin

loplugin:constparams in svx

Change-Id: Ie37288e4b9f064e309df81830f3a07507525bc55
Reviewed-on: https://gerrit.libreoffice.org/66771
Tested-by: Jenkins
Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst b4ca7bd5
......@@ -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 );
......
......@@ -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);
......
......@@ -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;
......
......@@ -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;
......
......@@ -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())
{
......
......@@ -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)
{
......
......@@ -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() );
......
......@@ -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) {
......
......@@ -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";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment