From 2c12d570104aca935a302efd2429b01ad8dc8081 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C3=BA=C5=A1=20Kukan?= Date: Mon, 22 Aug 2011 15:53:47 +0200 Subject: [PATCH] fix warning errors --- avmedia/source/quicktime/window.cxx | 10 +++++----- avmedia/source/quicktime/window.hxx | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/avmedia/source/quicktime/window.cxx b/avmedia/source/quicktime/window.cxx index 9b9c14ae2622..ca7c6d13c255 100644 --- a/avmedia/source/quicktime/window.cxx +++ b/avmedia/source/quicktime/window.cxx @@ -106,7 +106,7 @@ Window::~Window() } } -bool Window::create( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& aArguments ) +bool Window::create( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& ) { return true; } @@ -122,7 +122,7 @@ void SAL_CALL Window::update( ) // ------------------------------------------------------------------------------ -sal_Bool SAL_CALL Window::setZoomLevel( media::ZoomLevel eZoomLevel ) +sal_Bool SAL_CALL Window::setZoomLevel( media::ZoomLevel ) throw (uno::RuntimeException) { return false; @@ -147,7 +147,7 @@ void SAL_CALL Window::setPointerType( sal_Int32 nPointerType ) // XWindow // ------------------------------------------------------------------------------ -void SAL_CALL Window::setPosSize( sal_Int32 X, sal_Int32 Y, sal_Int32 Width, sal_Int32 Height, sal_Int16 Flags ) +void SAL_CALL Window::setPosSize( sal_Int32 , sal_Int32 , sal_Int32 Width, sal_Int32 Height, sal_Int16 Flags ) throw (uno::RuntimeException) { if( mpParentView && mpMovieView ) @@ -177,7 +177,7 @@ awt::Rectangle SAL_CALL Window::getPosSize() // ------------------------------------------------------------------------------ -void SAL_CALL Window::setVisible( sal_Bool bVisible ) +void SAL_CALL Window::setVisible( sal_Bool ) throw (uno::RuntimeException) { OSL_TRACE ("Window::setVisible"); @@ -186,7 +186,7 @@ void SAL_CALL Window::setVisible( sal_Bool bVisible ) // ------------------------------------------------------------------------------ -void SAL_CALL Window::setEnable( sal_Bool bEnable ) +void SAL_CALL Window::setEnable( sal_Bool ) throw (uno::RuntimeException) { ; diff --git a/avmedia/source/quicktime/window.hxx b/avmedia/source/quicktime/window.hxx index e782e6367af9..fc547799ab40 100644 --- a/avmedia/source/quicktime/window.hxx +++ b/avmedia/source/quicktime/window.hxx @@ -53,21 +53,21 @@ public: ); ~Window(); - bool create( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& aArguments ); + bool create( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& ); void processGraphEvent(); void updatePointer(); // XPlayerWindow virtual void SAL_CALL update( ) throw (::com::sun::star::uno::RuntimeException); - virtual sal_Bool SAL_CALL setZoomLevel( ::com::sun::star::media::ZoomLevel ZoomLevel ) throw (::com::sun::star::uno::RuntimeException); + virtual sal_Bool SAL_CALL setZoomLevel( ::com::sun::star::media::ZoomLevel ) throw (::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::media::ZoomLevel SAL_CALL getZoomLevel( ) throw (::com::sun::star::uno::RuntimeException); virtual void SAL_CALL setPointerType( sal_Int32 nPointerType ) throw (::com::sun::star::uno::RuntimeException); // XWindow - virtual void SAL_CALL setPosSize( sal_Int32 X, sal_Int32 Y, sal_Int32 Width, sal_Int32 Height, sal_Int16 Flags ) throw (::com::sun::star::uno::RuntimeException); + virtual void SAL_CALL setPosSize( sal_Int32 , sal_Int32 , sal_Int32 Width, sal_Int32 Height, sal_Int16 Flags ) throw (::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::awt::Rectangle SAL_CALL getPosSize( ) throw (::com::sun::star::uno::RuntimeException); - virtual void SAL_CALL setVisible( sal_Bool Visible ) throw (::com::sun::star::uno::RuntimeException); - virtual void SAL_CALL setEnable( sal_Bool Enable ) throw (::com::sun::star::uno::RuntimeException); + virtual void SAL_CALL setVisible( sal_Bool ) throw (::com::sun::star::uno::RuntimeException); + virtual void SAL_CALL setEnable( sal_Bool ) throw (::com::sun::star::uno::RuntimeException); virtual void SAL_CALL setFocus( ) throw (::com::sun::star::uno::RuntimeException); virtual void SAL_CALL addWindowListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowListener >& xListener ) throw (::com::sun::star::uno::RuntimeException); virtual void SAL_CALL removeWindowListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowListener >& xListener ) throw (::com::sun::star::uno::RuntimeException);