summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-11-17 17:00:54 +0100
committerStephan Bergmann <sbergman@redhat.com>2020-11-17 19:35:15 +0100
commit289eb4131d7edc3de231cd68b0ec34b8757200f6 (patch)
treedf94337bd3a77530259a501f9bfdb6661b7ad10f
parent32625c819b60318934f27df628fe35f10d5eb25a (diff)
Remove unused ViewMediaShape::implInitializePlayerWindow rMimeType parameter
unused since 08a43cc97ccf88faa9d3a04afc3aacd2c885a2d1 "related: tdf#103884 remove gltf/collada feature" Change-Id: Ieed4a2dcd2f465de2356e640383bac2cd45b83d7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106017 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
-rw-r--r--slideshow/source/engine/shapes/viewmediashape.cxx5
-rw-r--r--slideshow/source/engine/shapes/viewmediashape.hxx3
2 files changed, 3 insertions, 5 deletions
diff --git a/slideshow/source/engine/shapes/viewmediashape.cxx b/slideshow/source/engine/shapes/viewmediashape.cxx
index 957466dfbb34..950dacc22184 100644
--- a/slideshow/source/engine/shapes/viewmediashape.cxx
+++ b/slideshow/source/engine/shapes/viewmediashape.cxx
@@ -291,7 +291,7 @@ namespace slideshow::internal
if( ::canvas::tools::getDeviceInfo( xCanvas, aDeviceParams ).getLength() > 1 )
{
- implInitializePlayerWindow( rBounds, aDeviceParams, sMimeType );
+ implInitializePlayerWindow( rBounds, aDeviceParams );
}
// set player properties
@@ -380,8 +380,7 @@ namespace slideshow::internal
void ViewMediaShape::implInitializePlayerWindow( const ::basegfx::B2DRectangle& rBounds,
- const uno::Sequence< uno::Any >& rVCLDeviceParams,
- std::u16string_view )
+ const uno::Sequence< uno::Any >& rVCLDeviceParams )
{
SAL_INFO("slideshow", "ViewMediaShape::implInitializePlayerWindow" );
if( mpMediaWindow || rBounds.isEmpty() )
diff --git a/slideshow/source/engine/shapes/viewmediashape.hxx b/slideshow/source/engine/shapes/viewmediashape.hxx
index e5cbe1be737b..ce9c9fbf5139 100644
--- a/slideshow/source/engine/shapes/viewmediashape.hxx
+++ b/slideshow/source/engine/shapes/viewmediashape.hxx
@@ -145,8 +145,7 @@ namespace slideshow::internal
void implSetMediaProperties( const css::uno::Reference< css::beans::XPropertySet >& rxProps );
void implInitializeMediaPlayer( const OUString& rMediaURL, const OUString& rMimeType );
void implInitializePlayerWindow( const ::basegfx::B2DRectangle& rBounds,
- const css::uno::Sequence< css::uno::Any >& rVCLDeviceParams,
- std::u16string_view rMimeType );
+ const css::uno::Sequence< css::uno::Any >& rVCLDeviceParams );
ViewLayerSharedPtr mpViewLayer;
VclPtr< SystemChildWindow > mpMediaWindow;
mutable css::awt::Point maWindowOffset;