diff options
author | Noel <noelgrandin@gmail.com> | 2020-11-13 14:29:59 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-11-17 09:57:35 +0100 |
commit | 8ef6067596cf4b2c52fbce94b44bf7af9fefa643 (patch) | |
tree | f4cca1a99ba97683b14fa6fe0f1f45f75bf855c2 /slideshow | |
parent | 75bada928cf08d2afc6efe52ba99b45088bc9eec (diff) |
loplugin:stringviewparam check methods too
not just functions
Change-Id: Icca295dd159002b428b73f2c95d40725434f04d9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105789
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'slideshow')
-rw-r--r-- | slideshow/source/engine/shapes/viewmediashape.cxx | 2 | ||||
-rw-r--r-- | slideshow/source/engine/shapes/viewmediashape.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/slideshow/source/engine/shapes/viewmediashape.cxx b/slideshow/source/engine/shapes/viewmediashape.cxx index 2d508f8b9c30..957466dfbb34 100644 --- a/slideshow/source/engine/shapes/viewmediashape.cxx +++ b/slideshow/source/engine/shapes/viewmediashape.cxx @@ -381,7 +381,7 @@ namespace slideshow::internal void ViewMediaShape::implInitializePlayerWindow( const ::basegfx::B2DRectangle& rBounds, const uno::Sequence< uno::Any >& rVCLDeviceParams, - const OUString& ) + std::u16string_view ) { 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 de46f194746a..e5cbe1be737b 100644 --- a/slideshow/source/engine/shapes/viewmediashape.hxx +++ b/slideshow/source/engine/shapes/viewmediashape.hxx @@ -146,7 +146,7 @@ namespace slideshow::internal void implInitializeMediaPlayer( const OUString& rMediaURL, const OUString& rMimeType ); void implInitializePlayerWindow( const ::basegfx::B2DRectangle& rBounds, const css::uno::Sequence< css::uno::Any >& rVCLDeviceParams, - const OUString& rMimeType ); + std::u16string_view rMimeType ); ViewLayerSharedPtr mpViewLayer; VclPtr< SystemChildWindow > mpMediaWindow; mutable css::awt::Point maWindowOffset; |