-Werror,-Wunused-lambda-capture

Change-Id: I0ceabed1f89b6b641d5282fa1c32719bf3ead19c
This commit is contained in:
Stephan Bergmann
2017-01-14 19:58:35 +01:00
parent 5dab4b5ec3
commit 95bf4e560a

View File

@@ -463,7 +463,7 @@ namespace pcr
{
ActionEvent aEvent( *this, OUString( "clicked" ) );
m_aActionListeners.forEach< XActionListener >(
[this, &aEvent] (uno::Reference<awt::XActionListener> const& xListener)
[&aEvent] (uno::Reference<awt::XActionListener> const& xListener)
{ return xListener->actionPerformed(aEvent); });
}