diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-24 11:22:18 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-28 10:17:47 +0000 |
commit | 198c41c4fe8be4ce8a6ddab43ae0c5f17a4889ac (patch) | |
tree | 041d55126e9770b81f68fadfaaa69e82313786b3 /slideshow | |
parent | d3981b3e8c021ee03a2ca7103a73e56cca18df81 (diff) |
new loplugin unoany
Change-Id: I5d6c4a67cb2a09e7cd5bd620c6b262d188701b89
Reviewed-on: https://gerrit.libreoffice.org/34714
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'slideshow')
-rw-r--r-- | slideshow/source/engine/shapes/viewmediashape.cxx | 8 | ||||
-rw-r--r-- | slideshow/source/engine/slide/targetpropertiescreator.cxx | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/slideshow/source/engine/shapes/viewmediashape.cxx b/slideshow/source/engine/shapes/viewmediashape.cxx index 98c224401c43..dcc14b913560 100644 --- a/slideshow/source/engine/shapes/viewmediashape.cxx +++ b/slideshow/source/engine/shapes/viewmediashape.cxx @@ -486,12 +486,12 @@ namespace slideshow if( mxPlayer.is() ) { - aArgs[ 0 ] = uno::makeAny( - sal::static_int_cast< sal_IntPtr >( mpMediaWindow->GetParentWindowHandle() ) ); + aArgs[ 0 ] <<= + sal::static_int_cast< sal_IntPtr >( mpMediaWindow->GetParentWindowHandle() ); aAWTRect.X = aAWTRect.Y = 0; - aArgs[ 1 ] = uno::makeAny( aAWTRect ); - aArgs[ 2 ] = uno::makeAny( reinterpret_cast< sal_IntPtr >( mpMediaWindow.get() ) ); + aArgs[ 1 ] <<= aAWTRect; + aArgs[ 2 ] <<= reinterpret_cast< sal_IntPtr >( mpMediaWindow.get() ); mxPlayerWindow.set( mxPlayer->createPlayerWindow( aArgs ) ); diff --git a/slideshow/source/engine/slide/targetpropertiescreator.cxx b/slideshow/source/engine/slide/targetpropertiescreator.cxx index 50052d807b42..bb3c4a512a9b 100644 --- a/slideshow/source/engine/slide/targetpropertiescreator.cxx +++ b/slideshow/source/engine/slide/targetpropertiescreator.cxx @@ -360,14 +360,14 @@ namespace internal if( rIter.first.mnParagraphIndex == -1 ) { - rCurrProps.Target = uno::makeAny( rIter.first.mxRef ); + rCurrProps.Target <<= rIter.first.mxRef; } else { - rCurrProps.Target = uno::makeAny( + rCurrProps.Target <<= presentation::ParagraphTarget( rIter.first.mxRef, - rIter.first.mnParagraphIndex ) ); + rIter.first.mnParagraphIndex ); } rCurrProps.Properties = ::comphelper::containerToSequence( rIter.second ); |