diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-11-02 12:09:52 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-11-04 07:50:01 +0100 |
commit | 3dde9d988f0c9a432429389359c3531f10a4ff10 (patch) | |
tree | f6daed39591bf55907f44218fcac62f389322aa6 /basctl | |
parent | da90193c8c0ab1f5403d37902f0037b51659b6d9 (diff) |
loplugin:constparams in various(1)
Change-Id: Ic80ca59abc3e104c7adf0c1eff1d16addf48bc8b
Reviewed-on: https://gerrit.libreoffice.org/44261
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/basicide/brkdlg.cxx | 4 | ||||
-rw-r--r-- | basctl/source/basicide/brkdlg.hxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/basctl/source/basicide/brkdlg.cxx b/basctl/source/basicide/brkdlg.cxx index 6bcb23d5eb37..27fc322e5805 100644 --- a/basctl/source/basicide/brkdlg.cxx +++ b/basctl/source/basicide/brkdlg.cxx @@ -121,7 +121,7 @@ void BreakPointDialog::dispose() ModalDialog::dispose(); } -void BreakPointDialog::SetCurrentBreakPoint( BreakPoint* pBrk ) +void BreakPointDialog::SetCurrentBreakPoint( BreakPoint const * pBrk ) { OUString aStr( "# " + OUString::number(pBrk->nLine) ); m_pComboBox->SetText( aStr ); @@ -233,7 +233,7 @@ IMPL_LINK( BreakPointDialog, ButtonHdl, Button *, pButton, void ) } -void BreakPointDialog::UpdateFields( BreakPoint* pBrk ) +void BreakPointDialog::UpdateFields( BreakPoint const * pBrk ) { if ( pBrk ) { diff --git a/basctl/source/basicide/brkdlg.hxx b/basctl/source/basicide/brkdlg.hxx index 2a93ef2131e7..1a2ea84e01bd 100644 --- a/basctl/source/basicide/brkdlg.hxx +++ b/basctl/source/basicide/brkdlg.hxx @@ -47,7 +47,7 @@ protected: DECL_LINK( ComboBoxHighlightHdl, ComboBox&, void ); DECL_LINK( EditModifyHdl, Edit&, void ); DECL_LINK( ButtonHdl, Button*, void ); - void UpdateFields( BreakPoint* pBrk ); + void UpdateFields( BreakPoint const * pBrk ); BreakPoint* GetSelectedBreakPoint(); @@ -56,7 +56,7 @@ public: virtual ~BreakPointDialog() override; virtual void dispose() override; - void SetCurrentBreakPoint( BreakPoint* pBrk ); + void SetCurrentBreakPoint( BreakPoint const * pBrk ); }; } // namespace basctl |