summaryrefslogtreecommitdiff
path: root/cui/source/options/optdict.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-31 15:13:12 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-31 19:42:10 +0200
commit4a4412f70cd07baa8e67dd92dc1c403455bfe3a4 (patch)
tree89bf5afd5528229467b05548cbfd1cc59f5f25cf /cui/source/options/optdict.cxx
parentee9e027de092b91e97e4d280f26bd8c73bae602a (diff)
loplugin:constparams in cui
Change-Id: I5f3e4ba8d953bbce22c3c359bb1c3ae2ac47eb1d Reviewed-on: https://gerrit.libreoffice.org/40593 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui/source/options/optdict.cxx')
-rw-r--r--cui/source/options/optdict.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/options/optdict.cxx b/cui/source/options/optdict.cxx
index 9d1bfcf90825..339eaef3914b 100644
--- a/cui/source/options/optdict.cxx
+++ b/cui/source/options/optdict.cxx
@@ -354,7 +354,7 @@ void SvxEditDictionaryDialog::Paint( const Rectangle& rRect )
void SvxEditDictionaryDialog::SetDicReadonly_Impl(
- Reference< XDictionary > &xDic )
+ Reference< XDictionary > const &xDic )
{
// enable or disable new and delete button according to file attributes
bDicIsReadonly = true;
@@ -576,7 +576,7 @@ IMPL_LINK(SvxEditDictionaryDialog, NewDelActionHdl, SvxDictEdit&, rDictEdit, boo
{
return NewDelHdl(&rDictEdit);
}
-bool SvxEditDictionaryDialog::NewDelHdl(void* pBtn)
+bool SvxEditDictionaryDialog::NewDelHdl(void const * pBtn)
{
SvTreeListEntry* pEntry = pWordsLB->FirstSelected();