diff options
author | Michael Stahl <mstahl@redhat.com> | 2016-03-30 13:22:03 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-03-30 13:26:58 +0200 |
commit | 5f4f6b3146eb56c757b36eda43dcaf63c690ffb9 (patch) | |
tree | a0451a368152d1a240de965e5a1a7d9a52ad95a8 /avmedia | |
parent | 06895bd2c785d79dd00261ded31def10b5a7157e (diff) |
avmedia: fix varargs call for WNT 64-bit
SfxDispatcher::Execute(sal_uInt16 nSlot, SfxCallMode eCall,
const SfxPoolItem* pArg1, ...)
assigns the varargs to a "const SfxPoolItem *", so passing in
"0L" is only correct if long is 64-bit, but on WNT 64-bit long is
32-bit, so use "nullptr" already.
Change-Id: Iaf41efa795fd4439daab7ed7ec334d8ad8c476f3
Diffstat (limited to 'avmedia')
-rw-r--r-- | avmedia/source/framework/mediaplayer.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/avmedia/source/framework/mediaplayer.cxx b/avmedia/source/framework/mediaplayer.cxx index 489ff5e05f0a..5edfd67460d7 100644 --- a/avmedia/source/framework/mediaplayer.cxx +++ b/avmedia/source/framework/mediaplayer.cxx @@ -136,7 +136,7 @@ void MediaFloater::dispatchCurrentURL() url = mpMediaWindow->getURL(); } const SfxStringItem aMediaURLItem( SID_INSERT_AVMEDIA, url ); - pDispatcher->Execute( SID_INSERT_AVMEDIA, SfxCallMode::RECORD, &aMediaURLItem, 0L ); + pDispatcher->Execute(SID_INSERT_AVMEDIA, SfxCallMode::RECORD, &aMediaURLItem, nullptr); } } |