diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-25 18:52:30 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-26 09:13:27 +0200 |
commit | 8ced5266f277734f9b7a48db6408056892d38ac4 (patch) | |
tree | e87c29a186487c65388c297e5a13efff6f45ab9b /sc/source/ui/view/imapwrap.cxx | |
parent | fde332fc9d59102749dbeb20f4e78e2233152e1b (diff) |
loplugin:constparam in sc part7
Change-Id: Ica5421ddc343ce18a08f993778f42183b571ed0e
Reviewed-on: https://gerrit.libreoffice.org/41578
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/view/imapwrap.cxx')
-rw-r--r-- | sc/source/ui/view/imapwrap.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/view/imapwrap.cxx b/sc/source/ui/view/imapwrap.cxx index 9a1ffa400291..d2aff3a1380c 100644 --- a/sc/source/ui/view/imapwrap.cxx +++ b/sc/source/ui/view/imapwrap.cxx @@ -33,7 +33,7 @@ void ScIMapDlgSet( const Graphic& rGraphic, const ImageMap* pImageMap, SvxIMapDlgChildWindow::UpdateIMapDlg( rGraphic, pImageMap, pTargetList, pEditingObj ); } -const void* ScIMapDlgGetObj( SvxIMapDlg* pDlg ) +const void* ScIMapDlgGetObj( const SvxIMapDlg* pDlg ) { if ( pDlg ) return pDlg->GetEditingObject(); @@ -41,7 +41,7 @@ const void* ScIMapDlgGetObj( SvxIMapDlg* pDlg ) return nullptr; } -const ImageMap& ScIMapDlgGetMap( SvxIMapDlg* pDlg ) +const ImageMap& ScIMapDlgGetMap( const SvxIMapDlg* pDlg ) { return pDlg->GetImageMap(); } |