diff options
author | Noel Grandin <noel@peralex.com> | 2015-08-24 13:39:29 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-08-25 08:39:03 +0200 |
commit | 219b50a284a9fab6e5eb72efee54a72e15ac1bec (patch) | |
tree | a40f8c6bb599f2746a3a250bfb74c4b315eb33c5 /avmedia | |
parent | make eChildAlignment private in SfxChildWindow (diff) | |
download | core-219b50a284a9fab6e5eb72efee54a72e15ac1bec.tar.gz core-219b50a284a9fab6e5eb72efee54a72e15ac1bec.zip |
make pWindow private in SfxChildWindow
Change-Id: I585d4e8f0a53f46b6fbcef9e4d26f88b57569684
Diffstat (limited to 'avmedia')
-rw-r--r-- | avmedia/source/framework/mediaplayer.cxx | 4 |
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 ); }; |