From 3c84ee9cce41c0d28a9ddbf1243ef571b4578448 Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Sun, 25 May 2014 17:03:42 +0200 Subject: cppcheck: unusedFunction Change-Id: I81f2a4be65bbc9359e51accccb746f1e8ea48c4f --- avmedia/source/win/player.cxx | 9 --------- avmedia/source/win/player.hxx | 1 - 2 files changed, 10 deletions(-) (limited to 'avmedia') 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; -- cgit