avmedia: call resize before player window is created

Since b5529c8c45
MediaChildWindow is depend on the media URL so
it is constructed later and so one resizing is
missed before creating the player window which
causes to display nothing in the media player
(Tools -> Media Player)

Change-Id: I548e6bb73193fccd1735e8343e9c06428ee686bc
This commit is contained in:
Zolnai Tamás
2014-05-25 15:36:21 +02:00
parent 25db60d2e4
commit ddb73c6137

View File

@@ -514,6 +514,7 @@ void MediaWindowImpl::onURLChanged()
if( mxPlayer.is() )
{
Resize();
uno::Sequence< uno::Any > aArgs( 3 );
uno::Reference< media::XPlayerWindow > xPlayerWindow;
const Point aPoint;