diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2014-05-25 17:03:42 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2014-05-25 21:55:34 +0200 |
commit | 3c84ee9cce41c0d28a9ddbf1243ef571b4578448 (patch) | |
tree | 89dc207758c1519033945a315d13aa0409cf3d43 /avmedia | |
parent | c31f50f63872ccb1527dd661670cc7ab01fd6021 (diff) |
cppcheck: unusedFunction
Change-Id: I81f2a4be65bbc9359e51accccb746f1e8ea48c4f
Diffstat (limited to 'avmedia')
-rw-r--r-- | avmedia/source/win/player.cxx | 9 | ||||
-rw-r--r-- | avmedia/source/win/player.hxx | 1 |
2 files changed, 0 insertions, 10 deletions
diff --git a/avmedia/source/win/player.cxx b/avmedia/source/win/player.cxx index 2a0fdf068521..aca353c4d130 100644 --- a/avmedia/source/win/player.cxx +++ b/avmedia/source/win/player.cxx @@ -206,15 +206,6 @@ void Player::setNotifyWnd( int nNotifyWnd ) mpME->SetNotifyWindow( (OAHWND) nNotifyWnd, WM_GRAPHNOTIFY, reinterpret_cast< LONG_PTR>( this ) ); } -void Player::setDDrawParams( IDirectDraw* pDDraw, IDirectDrawSurface* pDDrawSurface ) -{ - if( mpEV && pDDraw && pDDrawSurface ) - { - mpEV->SetDDrawObject( pDDraw ); - mpEV->SetDDrawSurface( pDDrawSurface ); - } -} - long Player::processEvent() { long nCode; diff --git a/avmedia/source/win/player.hxx b/avmedia/source/win/player.hxx index 701a8facabf3..de0d3938dc26 100644 --- a/avmedia/source/win/player.hxx +++ b/avmedia/source/win/player.hxx @@ -60,7 +60,6 @@ public: bool create( const OUString& rURL ); void setNotifyWnd( int nNotifyWnd ); - void setDDrawParams( IDirectDraw* pDDraw, IDirectDrawSurface* pDDrawSurface ); long processEvent(); const IVideoWindow* getVideoWindow() const; |