summaryrefslogtreecommitdiff
path: root/sdext/source/presenter/PresenterButton.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-07-02 22:30:34 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-07-02 22:30:34 +0200
commitec0146214165c53a9b82d62b8c1408aaaaf465ca (patch)
tree46daa9d1fc9081ef10f65165c5ba86767368bd7b /sdext/source/presenter/PresenterButton.cxx
parent278aae133e3252572bfae5e950c6ec9f8f254b29 (diff)
loplugin:casttovoid: sdext
Change-Id: I557d59a4bfb9cab17a2cb00c3a80f85a6ef9671b
Diffstat (limited to 'sdext/source/presenter/PresenterButton.cxx')
-rw-r--r--sdext/source/presenter/PresenterButton.cxx30
1 files changed, 10 insertions, 20 deletions
diff --git a/sdext/source/presenter/PresenterButton.cxx b/sdext/source/presenter/PresenterButton.cxx
index 4487e70bad0e..70f9c493981c 100644
--- a/sdext/source/presenter/PresenterButton.cxx
+++ b/sdext/source/presenter/PresenterButton.cxx
@@ -230,27 +230,23 @@ css::geometry::IntegerSize2D const & PresenterButton::GetSize()
//----- XWindowListener -------------------------------------------------------
-void SAL_CALL PresenterButton::windowResized (const css::awt::WindowEvent& rEvent)
+void SAL_CALL PresenterButton::windowResized (const css::awt::WindowEvent&)
{
- (void)rEvent;
ThrowIfDisposed();
}
-void SAL_CALL PresenterButton::windowMoved (const css::awt::WindowEvent& rEvent)
+void SAL_CALL PresenterButton::windowMoved (const css::awt::WindowEvent&)
{
- (void)rEvent;
ThrowIfDisposed();
}
-void SAL_CALL PresenterButton::windowShown (const css::lang::EventObject& rEvent)
+void SAL_CALL PresenterButton::windowShown (const css::lang::EventObject&)
{
- (void)rEvent;
ThrowIfDisposed();
}
-void SAL_CALL PresenterButton::windowHidden (const css::lang::EventObject& rEvent)
+void SAL_CALL PresenterButton::windowHidden (const css::lang::EventObject&)
{
- (void)rEvent;
ThrowIfDisposed();
}
@@ -288,16 +284,14 @@ void SAL_CALL PresenterButton::windowPaint (const css::awt::PaintEvent& rEvent)
//----- XMouseListener --------------------------------------------------------
-void SAL_CALL PresenterButton::mousePressed (const css::awt::MouseEvent& rEvent)
+void SAL_CALL PresenterButton::mousePressed (const css::awt::MouseEvent&)
{
- (void)rEvent;
ThrowIfDisposed();
meState = PresenterBitmapDescriptor::ButtonDown;
}
-void SAL_CALL PresenterButton::mouseReleased (const css::awt::MouseEvent& rEvent)
+void SAL_CALL PresenterButton::mouseReleased (const css::awt::MouseEvent&)
{
- (void)rEvent;
ThrowIfDisposed();
if (meState == PresenterBitmapDescriptor::ButtonDown)
@@ -310,17 +304,15 @@ void SAL_CALL PresenterButton::mouseReleased (const css::awt::MouseEvent& rEvent
}
}
-void SAL_CALL PresenterButton::mouseEntered (const css::awt::MouseEvent& rEvent)
+void SAL_CALL PresenterButton::mouseEntered (const css::awt::MouseEvent&)
{
- (void)rEvent;
ThrowIfDisposed();
meState = PresenterBitmapDescriptor::MouseOver;
Invalidate();
}
-void SAL_CALL PresenterButton::mouseExited (const css::awt::MouseEvent& rEvent)
+void SAL_CALL PresenterButton::mouseExited (const css::awt::MouseEvent&)
{
- (void)rEvent;
ThrowIfDisposed();
meState = PresenterBitmapDescriptor::Normal;
Invalidate();
@@ -328,15 +320,13 @@ void SAL_CALL PresenterButton::mouseExited (const css::awt::MouseEvent& rEvent)
//----- XMouseMotionListener --------------------------------------------------
-void SAL_CALL PresenterButton::mouseMoved (const css::awt::MouseEvent& rEvent)
+void SAL_CALL PresenterButton::mouseMoved (const css::awt::MouseEvent&)
{
- (void)rEvent;
ThrowIfDisposed();
}
-void SAL_CALL PresenterButton::mouseDragged (const css::awt::MouseEvent& rEvent)
+void SAL_CALL PresenterButton::mouseDragged (const css::awt::MouseEvent&)
{
- (void)rEvent;
ThrowIfDisposed();
}