From be354a2abd27548405caf97fdbc814b5a6b06995 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 6 Dec 2017 16:18:58 +0200 Subject: loplugin:constparams Change-Id: Ia322ecf8f80b28c58ec33d17ca9607401a92534b Reviewed-on: https://gerrit.libreoffice.org/45959 Tested-by: Jenkins Reviewed-by: Noel Grandin --- forms/source/richtext/richtextengine.cxx | 2 +- forms/source/richtext/richtextengine.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'forms/source') diff --git a/forms/source/richtext/richtextengine.cxx b/forms/source/richtext/richtextengine.cxx index 0f583441e832..740996b76a78 100644 --- a/forms/source/richtext/richtextengine.cxx +++ b/forms/source/richtext/richtextengine.cxx @@ -113,7 +113,7 @@ namespace frm } - void RichTextEngine::revokeEngineStatusListener( IEngineStatusListener* _pListener ) + void RichTextEngine::revokeEngineStatusListener( IEngineStatusListener const * _pListener ) { ::std::vector< IEngineStatusListener* >::iterator aPos = ::std::find_if( m_aStatusListeners.begin(), diff --git a/forms/source/richtext/richtextengine.hxx b/forms/source/richtext/richtextengine.hxx index e71189907e4f..21175a4165be 100644 --- a/forms/source/richtext/richtextengine.hxx +++ b/forms/source/richtext/richtextengine.hxx @@ -53,7 +53,7 @@ namespace frm // for multiplexing the StatusChanged events of the edit engine void registerEngineStatusListener( IEngineStatusListener* _pListener ); - void revokeEngineStatusListener( IEngineStatusListener* _pListener ); + void revokeEngineStatusListener( IEngineStatusListener const * _pListener ); SfxItemPool* getPool() { return m_pEnginePool; } -- cgit