summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-10-17 14:33:34 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-10-18 14:26:33 +0200
commita4e9ba26d794ee20d06753eb4c4d35b17e034470 (patch)
treed859c5024be432c4cf356469844454547a66c4e2 /svx
parent1d552e03d9728cd4f4d2cc209eebbd77539922f8 (diff)
loplugin:virtualdead unused param in contextMenuRequested
Change-Id: Ifc13a476da29966a2a0023226967201ecc97b444 Reviewed-on: https://gerrit.libreoffice.org/81017 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/form/fmtextcontrolshell.cxx4
-rw-r--r--svx/source/inc/fmtextcontrolshell.hxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/form/fmtextcontrolshell.cxx b/svx/source/form/fmtextcontrolshell.cxx
index 53de54235b4f..6b8e42bfe340 100644
--- a/svx/source/form/fmtextcontrolshell.cxx
+++ b/svx/source/form/fmtextcontrolshell.cxx
@@ -315,7 +315,7 @@ namespace svx
if ( _rEvent.PopupTrigger )
{
if ( m_pObserver )
- m_pObserver->contextMenuRequested( _rEvent );
+ m_pObserver->contextMenuRequested();
}
}
@@ -1308,7 +1308,7 @@ namespace svx
}
- void FmTextControlShell::contextMenuRequested( const css::awt::MouseEvent& /*_rEvent*/ )
+ void FmTextControlShell::contextMenuRequested()
{
m_rBindings.GetDispatcher()->ExecutePopup( "formrichtext" );
}
diff --git a/svx/source/inc/fmtextcontrolshell.hxx b/svx/source/inc/fmtextcontrolshell.hxx
index 5856c64cd4a5..9512ef097f1b 100644
--- a/svx/source/inc/fmtextcontrolshell.hxx
+++ b/svx/source/inc/fmtextcontrolshell.hxx
@@ -66,7 +66,7 @@ namespace svx
class IContextRequestObserver
{
public:
- virtual void contextMenuRequested( const css::awt::MouseEvent& _rEvent ) = 0;
+ virtual void contextMenuRequested() = 0;
protected:
~IContextRequestObserver() {}
@@ -142,7 +142,7 @@ namespace svx
virtual void focusLost( const css::awt::FocusEvent& _rEvent ) override;
// IContextRequestObserver
- virtual void contextMenuRequested( const css::awt::MouseEvent& _rEvent ) override;
+ virtual void contextMenuRequested() override;
enum AttributeSet { eCharAttribs, eParaAttribs };
void executeAttributeDialog( AttributeSet _eSet, SfxRequest& _rReq );