[Libreoffice-commits] core.git: avmedia/source

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Wed Nov 25 21:59:07 UTC 2020


 avmedia/source/win/player.cxx |    4 +---
 avmedia/source/win/player.hxx |    2 +-
 2 files changed, 2 insertions(+), 4 deletions(-)

New commits:
commit 8f4d36009d789f645ab700bfcd20f8e268ce8cee
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Wed Nov 25 17:45:08 2020 +0100
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Wed Nov 25 22:58:16 2020 +0100

    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 at redhat.com>

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;
 


More information about the Libreoffice-commits mailing list