diff options
Diffstat (limited to 'avmedia')
-rw-r--r-- | avmedia/source/opengl/oglmanager.cxx | 4 | ||||
-rw-r--r-- | avmedia/source/opengl/oglmanager.hxx | 3 | ||||
-rw-r--r-- | avmedia/source/opengl/ogluno.cxx | 4 |
3 files changed, 4 insertions, 7 deletions
diff --git a/avmedia/source/opengl/oglmanager.cxx b/avmedia/source/opengl/oglmanager.cxx index d17f7ac498b5..b34c51a75f78 100644 --- a/avmedia/source/opengl/oglmanager.cxx +++ b/avmedia/source/opengl/oglmanager.cxx @@ -17,10 +17,8 @@ using namespace com::sun::star; namespace avmedia { namespace ogl { -OGLManager::OGLManager( const uno::Reference< lang::XMultiServiceFactory >& rMgr ) - : m_xMgr( rMgr ) +OGLManager::OGLManager() { - (void) m_xMgr; } OGLManager::~OGLManager() diff --git a/avmedia/source/opengl/oglmanager.hxx b/avmedia/source/opengl/oglmanager.hxx index d413508c5038..2f7fb05b68d2 100644 --- a/avmedia/source/opengl/oglmanager.hxx +++ b/avmedia/source/opengl/oglmanager.hxx @@ -21,7 +21,7 @@ class OGLManager : public ::cppu::WeakImplHelper< css::media::XManager, css::lan { public: - explicit OGLManager( const css::uno::Reference< css::lang::XMultiServiceFactory >& rMgr ); + explicit OGLManager(); virtual ~OGLManager(); // XManager @@ -33,7 +33,6 @@ public: virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw (css::uno::RuntimeException, std::exception) override; private: - css::uno::Reference< css::lang::XMultiServiceFactory > m_xMgr; }; } // namespace ogl diff --git a/avmedia/source/opengl/ogluno.cxx b/avmedia/source/opengl/ogluno.cxx index 17b8ea966010..c8add21c1bec 100644 --- a/avmedia/source/opengl/ogluno.cxx +++ b/avmedia/source/opengl/ogluno.cxx @@ -15,9 +15,9 @@ using namespace ::com::sun::star; -static uno::Reference< uno::XInterface > SAL_CALL create_MediaPlayer( const uno::Reference< lang::XMultiServiceFactory >& rxFact ) +static uno::Reference< uno::XInterface > SAL_CALL create_MediaPlayer( const uno::Reference< lang::XMultiServiceFactory >& /*rxFact*/ ) { - return uno::Reference< uno::XInterface >( *new ::avmedia::ogl::OGLManager( rxFact ) ); + return uno::Reference< uno::XInterface >( *new ::avmedia::ogl::OGLManager ); } extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL avmediaogl_component_getFactory( const sal_Char* pImplName, void* pServiceManager, void* ) |