summaryrefslogtreecommitdiff
path: root/slideshow
diff options
context:
space:
mode:
Diffstat (limited to 'slideshow')
-rw-r--r--slideshow/source/engine/shapes/viewmediashape.cxx8
-rw-r--r--slideshow/source/engine/slide/targetpropertiescreator.cxx6
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 );