summaryrefslogtreecommitdiff
path: root/avmedia
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-09-03 21:21:12 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-09-03 21:22:14 +0200
commit728e2f41dbe5cf29fecfe4a96fbe3f6ce78517d8 (patch)
tree839f4c95ac4844bb4ee4247acbd104fb8f7d0c58 /avmedia
parent9de95a52405c948a32895aec1da06c9d33b4eee2 (diff)
-Werror,-Wunused-private-field
Change-Id: I18c800b581337ef0b6fc6cc862f60e69531e0336
Diffstat (limited to 'avmedia')
-rw-r--r--avmedia/source/vlc/vlcplayer.cxx2
-rw-r--r--avmedia/source/vlc/vlcwindow.cxx3
-rw-r--r--avmedia/source/vlc/vlcwindow.hxx4
3 files changed, 3 insertions, 6 deletions
diff --git a/avmedia/source/vlc/vlcplayer.cxx b/avmedia/source/vlc/vlcplayer.cxx
index 267157136eaa..15e1b1feca48 100644
--- a/avmedia/source/vlc/vlcplayer.cxx
+++ b/avmedia/source/vlc/vlcplayer.cxx
@@ -184,7 +184,7 @@ uno::Reference< css::media::XPlayerWindow > SAL_CALL VLCPlayer::createPlayerWind
{
::osl::MutexGuard aGuard(m_aMutex);
- VLCWindow * const window = new VLCWindow( *this );
+ VLCWindow * const window = new VLCWindow;
const int winID = GetWindowID( aArguments );
diff --git a/avmedia/source/vlc/vlcwindow.cxx b/avmedia/source/vlc/vlcwindow.cxx
index 930639251bae..b0048757b3f0 100644
--- a/avmedia/source/vlc/vlcwindow.cxx
+++ b/avmedia/source/vlc/vlcwindow.cxx
@@ -9,8 +9,7 @@ namespace vlc {
const ::rtl::OUString AVMEDIA_VLC_WINDOW_IMPLEMENTATIONNAME = "com.sun.star.comp.avmedia.Window_VLC";
const ::rtl::OUString AVMEDIA_VLC_WINDOW_SERVICENAME = "com.sun.star.media.Window_VLC";
-VLCWindow::VLCWindow(VLCPlayer& player)
- : mPlayer( player )
+VLCWindow::VLCWindow()
{
}
diff --git a/avmedia/source/vlc/vlcwindow.hxx b/avmedia/source/vlc/vlcwindow.hxx
index 17a8c88db5cc..2aa3e47de9f8 100644
--- a/avmedia/source/vlc/vlcwindow.hxx
+++ b/avmedia/source/vlc/vlcwindow.hxx
@@ -23,14 +23,12 @@
namespace avmedia {
namespace vlc {
-class VLCPlayer;
class VLCWindow : public ::cppu::WeakImplHelper2 < ::com::sun::star::media::XPlayerWindow,
::com::sun::star::lang::XServiceInfo >
{
- VLCPlayer& mPlayer;
public:
- VLCWindow(VLCPlayer& player);
+ VLCWindow();
void SAL_CALL update() throw (css::uno::RuntimeException);
::sal_Bool SAL_CALL setZoomLevel( css::media::ZoomLevel ZoomLevel ) throw (css::uno::RuntimeException);