diff options
author | Xisco Fauli <anistenis@gmail.com> | 2011-03-08 16:47:03 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-03-14 14:15:00 +0000 |
commit | 5c7f1340820ebd5aba6fc994b7435e97bfaff9de (patch) | |
tree | b7e1d6e20da71b75750b72e8df69dc536e1bbb33 /avmedia/source/gstreamer/gstwindow.cxx | |
parent | 30015e6e0a1b47160f79a6b5b9089d4acc588fcf (diff) |
Remove dead code in libs-core
Diffstat (limited to 'avmedia/source/gstreamer/gstwindow.cxx')
-rw-r--r-- | avmedia/source/gstreamer/gstwindow.cxx | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/avmedia/source/gstreamer/gstwindow.cxx b/avmedia/source/gstreamer/gstwindow.cxx index 4e0f6f3c3dfb..9228f9e6c9a0 100644 --- a/avmedia/source/gstreamer/gstwindow.cxx +++ b/avmedia/source/gstreamer/gstwindow.cxx @@ -89,7 +89,6 @@ Window::~Window() void SAL_CALL Window::update( ) throw (uno::RuntimeException) { - //::RedrawWindow( (HWND) mnFrameWnd, NULL, NULL, RDW_ALLCHILDREN | RDW_INVALIDATE | RDW_UPDATENOW | RDW_ERASE ); } // ------------------------------------------------------------------------------ @@ -105,7 +104,6 @@ sal_Bool SAL_CALL Window::setZoomLevel( media::ZoomLevel eZoomLevel ) if( eZoomLevel != meZoomLevel ) { meZoomLevel = eZoomLevel; - //ImplLayoutVideoWindow(); } bRet = true; @@ -136,11 +134,6 @@ void SAL_CALL Window::setPointerType( sal_Int32 nPointerType ) void SAL_CALL Window::setPosSize( sal_Int32 /*X*/, sal_Int32 /*Y*/, sal_Int32 /*Width*/, sal_Int32 /*Height*/, sal_Int16 /*Flags*/ ) throw (uno::RuntimeException) { -// if( mnFrameWnd ) -// { -// ::SetWindowPos( (HWND) mnFrameWnd, HWND_TOP, X, Y, Width, Height, 0 ); -// ImplLayoutVideoWindow(); -// } } // ------------------------------------------------------------------------------ @@ -154,20 +147,6 @@ awt::Rectangle SAL_CALL Window::getPosSize() aRet.Width = 320; aRet.Height = 240; -// if( mnFrameWnd ) -// { -// ::RECT aWndRect; -// long nX = 0, nY = 0, nWidth = 0, nHeight = 0; - -// if( ::GetClientRect( (HWND) mnFrameWnd, &aWndRect ) ) -// { -// aRet.X = aWndRect.left; -// aRet.Y = aWndRect.top; -// aRet.Width = aWndRect.right - aWndRect.left + 1; -// aRet.Height = aWndRect.bottom - aWndRect.top + 1; -// } -// } - return aRet; } @@ -176,15 +155,7 @@ awt::Rectangle SAL_CALL Window::getPosSize() void SAL_CALL Window::setVisible( sal_Bool /*bVisible*/ ) throw (uno::RuntimeException) { -// if( mnFrameWnd ) -// { -// IVideoWindow* pVideoWindow = const_cast< IVideoWindow* >( mrPlayer.getVideoWindow() ); -// if( pVideoWindow ) -// pVideoWindow->put_Visible( bVisible ? OATRUE : OAFALSE ); - -// ::ShowWindow( (HWND) mnFrameWnd, bVisible ? SW_SHOW : SW_HIDE ); -// } } // ------------------------------------------------------------------------------ @@ -192,8 +163,6 @@ void SAL_CALL Window::setVisible( sal_Bool /*bVisible*/ ) void SAL_CALL Window::setEnable( sal_Bool /*bEnable*/ ) throw (uno::RuntimeException) { -// if( mnFrameWnd ) -// ::EnableWindow( (HWND) mnFrameWnd, bEnable ); } // ------------------------------------------------------------------------------ @@ -201,8 +170,6 @@ void SAL_CALL Window::setEnable( sal_Bool /*bEnable*/ ) void SAL_CALL Window::setFocus( ) throw (uno::RuntimeException) { -// if( mnFrameWnd ) -// ::SetFocus( (HWND) mnFrameWnd ); } // ------------------------------------------------------------------------------ @@ -301,7 +268,6 @@ void SAL_CALL Window::removePaintListener( const uno::Reference< awt::XPaintList maListeners.removeInterface( getCppuType( &xListener ), xListener ); } - // XComponent // ------------------------------------------------------------------------------ |