diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-04 11:57:23 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-05 06:40:10 +0000 |
commit | 3d6c84f2d9683b23c14fa5bf50ca4425cf4ceb04 (patch) | |
tree | bc18d71a94b1a9015d45155ad79179e61e6aa3c0 /svx/source/gallery2 | |
parent | cedbc4031f26ea13b188a4ecc5b90cc9646095fb (diff) |
loplugin:constantparam
Change-Id: I1996319e5b664dff95f7a9b2346aea6092d333ec
Reviewed-on: https://gerrit.libreoffice.org/36070
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/gallery2')
-rw-r--r-- | svx/source/gallery2/galbrws1.cxx | 6 | ||||
-rw-r--r-- | svx/source/gallery2/galbrws1.hxx | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/gallery2/galbrws1.cxx b/svx/source/gallery2/galbrws1.cxx index 04c76bc2fbbd..41b13b9402a2 100644 --- a/svx/source/gallery2/galbrws1.cxx +++ b/svx/source/gallery2/galbrws1.cxx @@ -281,7 +281,7 @@ void GalleryBrowser1::ImplGalleryThemeProperties( const OUString & rThemeName, b } } -void GalleryBrowser1::ImplEndGalleryThemeProperties(Dialog* /*pDialog*/, bool bCreateNew) +void GalleryBrowser1::ImplEndGalleryThemeProperties(bool bCreateNew) { long nRet = mpThemePropertiesDialog->GetResult(); @@ -325,12 +325,12 @@ void GalleryBrowser1::ImplEndGalleryThemeProperties(Dialog* /*pDialog*/, bool bC IMPL_LINK( GalleryBrowser1, EndNewThemePropertiesDlgHdl, Dialog&, /*rDialog*/, void ) { - ImplEndGalleryThemeProperties(nullptr, true); + ImplEndGalleryThemeProperties(true); } IMPL_LINK( GalleryBrowser1, EndThemePropertiesDlgHdl, Dialog&, /*rDialog*/, void ) { - ImplEndGalleryThemeProperties(nullptr, false); + ImplEndGalleryThemeProperties(false); } IMPL_LINK( GalleryBrowser1, DestroyThemePropertiesDlgHdl, void*, /*p*/, void ) diff --git a/svx/source/gallery2/galbrws1.hxx b/svx/source/gallery2/galbrws1.hxx index 294623ce6e9c..38f1abad83d5 100644 --- a/svx/source/gallery2/galbrws1.hxx +++ b/svx/source/gallery2/galbrws1.hxx @@ -96,7 +96,7 @@ private: void ImplGetExecuteVector(::std::vector< sal_uInt16 >& o_aExec); void ImplExecute( sal_uInt16 nId ); void ImplGalleryThemeProperties( const OUString & rThemeName, bool bCreateNew ); - void ImplEndGalleryThemeProperties(Dialog* pDialog, bool bCreateNew); + void ImplEndGalleryThemeProperties(bool bCreateNew); // Control virtual void Resize() override; |