summaryrefslogtreecommitdiff
path: root/avmedia
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2014-05-25 17:03:42 +0200
committerThomas Arnhold <thomas@arnhold.org>2014-05-25 21:55:34 +0200
commit3c84ee9cce41c0d28a9ddbf1243ef571b4578448 (patch)
tree89dc207758c1519033945a315d13aa0409cf3d43 /avmedia
parentc31f50f63872ccb1527dd661670cc7ab01fd6021 (diff)
cppcheck: unusedFunction
Change-Id: I81f2a4be65bbc9359e51accccb746f1e8ea48c4f
Diffstat (limited to 'avmedia')
-rw-r--r--avmedia/source/win/player.cxx9
-rw-r--r--avmedia/source/win/player.hxx1
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;