diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-26 14:11:32 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-27 08:03:26 +0200 |
commit | 8ce64dbb3d7875c00963ae257d53f2b7b58fc4ad (patch) | |
tree | 070a1a2f11d553511c24423290829713c1f2fba6 /svx/inc | |
parent | 781a30e938c58c4d91d08f8c6f9e3f8745682d72 (diff) |
loplugin:constparams in svx
and fix a bug in the plugin itself when calling operator's like the one
on std::function<>
Change-Id: I1617607107eeff06785c1841f69e13ad2926218e
Reviewed-on: https://gerrit.libreoffice.org/40446
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/inc')
-rw-r--r-- | svx/inc/sdr/contact/viewobjectcontactofgraphic.hxx | 2 | ||||
-rw-r--r-- | svx/inc/svdibrow.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/svx/inc/sdr/contact/viewobjectcontactofgraphic.hxx b/svx/inc/sdr/contact/viewobjectcontactofgraphic.hxx index 46f6e4d32988..4ea4ed8e82c3 100644 --- a/svx/inc/sdr/contact/viewobjectcontactofgraphic.hxx +++ b/svx/inc/sdr/contact/viewobjectcontactofgraphic.hxx @@ -48,7 +48,7 @@ namespace sdr void impPrepareGraphicWithAsynchroniousLoading(); void impPrepareGraphicWithSynchroniousLoading(); void doAsynchGraphicLoading(); - void forgetAsynchGraphicLoadingEvent(sdr::event::AsynchGraphicLoadingEvent* pEvent); + void forgetAsynchGraphicLoadingEvent(sdr::event::AsynchGraphicLoadingEvent const * pEvent); protected: const SdrGrafObj& getSdrGrafObj() const; diff --git a/svx/inc/svdibrow.hxx b/svx/inc/svdibrow.hxx index 682333ad4401..76b855564c93 100644 --- a/svx/inc/svdibrow.hxx +++ b/svx/inc/svdibrow.hxx @@ -97,7 +97,7 @@ class SdrItemBrowser: public FloatingWindow { Idle aIdle; SdrView* pView; bool bDirty; - static vcl::Window* ImpGetViewWin(SdrView& rView); + static vcl::Window* ImpGetViewWin(SdrView const & rView); DECL_LINK(IdleHdl, Timer *, void); DECL_LINK(ChangedHdl, SdrItemBrowserControl&, void); DECL_LINK(SetDirtyHdl, SdrItemBrowserControl&, void); |