summaryrefslogtreecommitdiff
path: root/sd/source/ui/slideshow/slideshow.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/slideshow/slideshow.cxx')
-rw-r--r--sd/source/ui/slideshow/slideshow.cxx10
1 files changed, 3 insertions, 7 deletions
diff --git a/sd/source/ui/slideshow/slideshow.cxx b/sd/source/ui/slideshow/slideshow.cxx
index b339a45c412e..7330d79b4fd7 100644
--- a/sd/source/ui/slideshow/slideshow.cxx
+++ b/sd/source/ui/slideshow/slideshow.cxx
@@ -185,7 +185,7 @@ bool SlideShow::StartPreview( ViewShellBase& rBase,
{
rtl::Reference< SlideShow > xSlideShow( GetSlideShow( rBase ) );
if( xSlideShow.is() )
- return xSlideShow->startPreview( xDrawPage, xAnimationNode, nullptr );
+ return xSlideShow->startPreview( xDrawPage, xAnimationNode );
return false;
}
@@ -882,7 +882,7 @@ void SAL_CALL SlideShow::disposing()
mpDoc = nullptr;
}
-bool SlideShow::startPreview( const Reference< XDrawPage >& xDrawPage, const Reference< XAnimationNode >& xAnimationNode, vcl::Window* pParent )
+bool SlideShow::startPreview( const Reference< XDrawPage >& xDrawPage, const Reference< XAnimationNode >& xAnimationNode )
{
Sequence< PropertyValue > aArguments(4);
@@ -895,12 +895,8 @@ bool SlideShow::startPreview( const Reference< XDrawPage >& xDrawPage, const Ref
aArguments[2].Name = "AnimationNode";
aArguments[2].Value <<= xAnimationNode;
- Reference< XWindow > xParentWindow;
- if( pParent )
- xParentWindow = VCLUnoHelper::GetInterface( pParent );
-
aArguments[3].Name = "ParentWindow";
- aArguments[3].Value <<= xParentWindow;
+ aArguments[3].Value <<= Reference< XWindow >();
startWithArguments( aArguments );