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/source/unogallery | |
parent | LibreOffice.natvis: fix BigPrtArray visualiser. (diff) | |
download | core-8ce64dbb3d7875c00963ae257d53f2b7b58fc4ad.tar.gz core-8ce64dbb3d7875c00963ae257d53f2b7b58fc4ad.zip |
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/source/unogallery')
-rw-r--r-- | svx/source/unogallery/unogaltheme.cxx | 2 | ||||
-rw-r--r-- | svx/source/unogallery/unogaltheme.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/unogallery/unogaltheme.cxx b/svx/source/unogallery/unogaltheme.cxx index 29d658e00065..4b23a33e025f 100644 --- a/svx/source/unogallery/unogaltheme.cxx +++ b/svx/source/unogallery/unogaltheme.cxx @@ -333,7 +333,7 @@ void GalleryTheme::Notify( SfxBroadcaster&, const SfxHint& rHint ) } -void GalleryTheme::implReleaseItems( GalleryObject* pObj ) +void GalleryTheme::implReleaseItems( GalleryObject const * pObj ) { const SolarMutexGuard aGuard; diff --git a/svx/source/unogallery/unogaltheme.hxx b/svx/source/unogallery/unogaltheme.hxx index a8f78d6aafab..1b334411e99f 100644 --- a/svx/source/unogallery/unogaltheme.hxx +++ b/svx/source/unogallery/unogaltheme.hxx @@ -87,7 +87,7 @@ private: ::GalleryTheme* implGetTheme() const { return mpTheme;} - void implReleaseItems( GalleryObject* pObj ); + void implReleaseItems( GalleryObject const * pObj ); void implRegisterGalleryItem( ::unogallery::GalleryItem& rItem ); void implDeregisterGalleryItem( ::unogallery::GalleryItem& rItem ); |