summaryrefslogtreecommitdiff
path: root/avmedia
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-08-02 14:55:18 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-08-04 05:48:30 +0000
commitf5e3b7b0e46dad98dc147bc85fa78248f374e2a9 (patch)
tree8efa1aa28aa007e82b10cae989f92e4fa3beac42 /avmedia
parent7f01cf67f8181836430fd3c8433e8bf2f55c95f2 (diff)
loplugin:countusersofdefaultparams in accessibility,avmedia
Change-Id: Ic173f43c882384fe594e8ba3e44aedc3796a45f6 Reviewed-on: https://gerrit.libreoffice.org/27792 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'avmedia')
-rw-r--r--avmedia/source/viewer/mediawindow.cxx2
-rw-r--r--avmedia/source/viewer/mediawindow_impl.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/avmedia/source/viewer/mediawindow.cxx b/avmedia/source/viewer/mediawindow.cxx
index 110730ce5cf0..a3d6bc724667 100644
--- a/avmedia/source/viewer/mediawindow.cxx
+++ b/avmedia/source/viewer/mediawindow.cxx
@@ -318,7 +318,7 @@ bool MediaWindow::isMediaURL( const OUString& rURL, const OUString& rReferer, bo
{
uno::Reference< media::XPlayer > xPlayer( priv::MediaWindowImpl::createPlayer(
aURL.GetMainURL( INetURLObject::DECODE_UNAMBIGUOUS ),
- rReferer ) );
+ rReferer, nullptr ) );
if( xPlayer.is() )
{
diff --git a/avmedia/source/viewer/mediawindow_impl.hxx b/avmedia/source/viewer/mediawindow_impl.hxx
index ff649aeaecae..43fba4e17e4c 100644
--- a/avmedia/source/viewer/mediawindow_impl.hxx
+++ b/avmedia/source/viewer/mediawindow_impl.hxx
@@ -83,7 +83,7 @@ public:
virtual void dispose() override;
- static css::uno::Reference<css::media::XPlayer> createPlayer(const OUString& rURL, const OUString& rReferer, const OUString* pMimeType = nullptr);
+ static css::uno::Reference<css::media::XPlayer> createPlayer(const OUString& rURL, const OUString& rReferer, const OUString* pMimeType);
void setURL(const OUString& rURL, OUString const& rTempURL, OUString const& rReferer);