summaryrefslogtreecommitdiff
path: root/avmedia
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-24 13:39:29 +0200
committerNoel Grandin <noel@peralex.com>2015-08-25 08:39:03 +0200
commit219b50a284a9fab6e5eb72efee54a72e15ac1bec (patch)
treea40f8c6bb599f2746a3a250bfb74c4b315eb33c5 /avmedia
parenta9ea1295a668feca4bfb9b2a53a92890177b5371 (diff)
make pWindow private in SfxChildWindow
Change-Id: I585d4e8f0a53f46b6fbcef9e4d26f88b57569684
Diffstat (limited to 'avmedia')
-rw-r--r--avmedia/source/framework/mediaplayer.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/avmedia/source/framework/mediaplayer.cxx b/avmedia/source/framework/mediaplayer.cxx
index 1298e8cfc0d8..b9c4ad4126c7 100644
--- a/avmedia/source/framework/mediaplayer.cxx
+++ b/avmedia/source/framework/mediaplayer.cxx
@@ -40,8 +40,8 @@ namespace avmedia
MediaPlayer::MediaPlayer( vcl::Window* _pParent, sal_uInt16 nId, SfxBindings* _pBindings, SfxChildWinInfo* pInfo ) :
SfxChildWindow( _pParent, nId )
{
- pWindow.reset( VclPtr<MediaFloater>::Create( _pBindings, this, _pParent ) );
- static_cast< MediaFloater* >( pWindow.get() )->Initialize( pInfo );
+ SetWindow( VclPtr<MediaFloater>::Create( _pBindings, this, _pParent ) );
+ static_cast< MediaFloater* >( GetWindow() )->Initialize( pInfo );
};