summaryrefslogtreecommitdiff
path: root/avmedia
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-11-25 17:45:08 +0100
committerStephan Bergmann <sbergman@redhat.com>2020-11-25 22:58:16 +0100
commit8f4d36009d789f645ab700bfcd20f8e268ce8cee (patch)
tree0eaa81df765453fa2f6d44939018229ca5e54ff4 /avmedia
parent8de92fa9bc7b284cb151ec57205bbccda379e379 (diff)
Player::processEvent return value is unused
Change-Id: Ia3f35f761cdfbfe6a57fce6bc632969759367c56 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106603 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'avmedia')
-rw-r--r--avmedia/source/win/player.cxx4
-rw-r--r--avmedia/source/win/player.hxx2
2 files changed, 2 insertions, 4 deletions
diff --git a/avmedia/source/win/player.cxx b/avmedia/source/win/player.cxx
index b3e621cbc56d..7990e7aecdfe 100644
--- a/avmedia/source/win/player.cxx
+++ b/avmedia/source/win/player.cxx
@@ -191,7 +191,7 @@ void Player::setNotifyWnd( HWND nNotifyWnd )
}
-long Player::processEvent()
+void Player::processEvent()
{
long nCode;
LONG_PTR nParam1, nParam2;
@@ -214,8 +214,6 @@ long Player::processEvent()
mpME->FreeEventParams( nCode, nParam1, nParam2 );
}
-
- return 0;
}
diff --git a/avmedia/source/win/player.hxx b/avmedia/source/win/player.hxx
index ed34981e96ae..84e2689c0397 100644
--- a/avmedia/source/win/player.hxx
+++ b/avmedia/source/win/player.hxx
@@ -60,7 +60,7 @@ public:
bool create( const OUString& rURL );
void setNotifyWnd( HWND nNotifyWnd );
- long processEvent();
+ void processEvent();
const IVideoWindow* getVideoWindow() const;