summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-11-18 13:41:36 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-11-18 17:02:16 +0100
commitc37d7f0d50efbcf1c4ea25c54e7280b2989c35f7 (patch)
treeac7e506ed92fb9e37f5510114417f765665d7e6e /svx
parent1416056789c9352b9a96452cb947d1d46d096fc2 (diff)
avmedia::getMediaFloater clean-up
Change-Id: I76dcf42267cbb1f028d0501471b569fa6b7b91d5
Diffstat (limited to 'svx')
-rw-r--r--svx/source/gallery2/galctrl.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/gallery2/galctrl.cxx b/svx/source/gallery2/galctrl.cxx
index 4a85e5a3f36a..f600d3dd9b32 100644
--- a/svx/source/gallery2/galctrl.cxx
+++ b/svx/source/gallery2/galctrl.cxx
@@ -245,12 +245,12 @@ void GalleryPreview::PreviewMedia( const INetURLObject& rURL )
{
if( rURL.GetProtocol() != INET_PROT_NOT_VALID )
{
- ::avmedia::MediaFloater* pFloater = AVMEDIA_MEDIAWINDOW();
+ ::avmedia::MediaFloater* pFloater = avmedia::getMediaFloater();
if( !pFloater )
{
SfxViewFrame::Current()->GetBindings().GetDispatcher()->Execute( SID_AVMEDIA_PLAYER, SFX_CALLMODE_SYNCHRON );
- pFloater = AVMEDIA_MEDIAWINDOW();
+ pFloater = avmedia::getMediaFloater();
}
if( pFloater )