summaryrefslogtreecommitdiff
path: root/forms/source
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-12-06 16:18:58 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-12-07 07:21:32 +0100
commitbe354a2abd27548405caf97fdbc814b5a6b06995 (patch)
treea044c734c912a9a194f380d31aabd679772916b2 /forms/source
parentc947a25b3a785f8d43160671f79e3bb503dfb1ae (diff)
loplugin:constparams
Change-Id: Ia322ecf8f80b28c58ec33d17ca9607401a92534b Reviewed-on: https://gerrit.libreoffice.org/45959 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'forms/source')
-rw-r--r--forms/source/richtext/richtextengine.cxx2
-rw-r--r--forms/source/richtext/richtextengine.hxx2
2 files changed, 2 insertions, 2 deletions
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; }