slideshow: stop whining about PresenterCanvas' lack of XUpdatable

Change-Id: I1e447f5eccb41325d96e9c4cb1598a05e702badc
This commit is contained in:
Michael Stahl
2016-08-31 15:59:42 +02:00
parent 52bac50deb
commit cea58d4c27

View File

@@ -2101,9 +2101,12 @@ sal_Bool SlideShowImpl::update( double & nNextTimeout )
{ {
uno::Reference< presentation::XSlideShowView > xView( pView->getUnoView(), uno::Reference< presentation::XSlideShowView > xView( pView->getUnoView(),
uno::UNO_QUERY_THROW ); uno::UNO_QUERY_THROW );
uno::Reference< util::XUpdatable > xUpdatable( xView->getCanvas(), uno::Reference<util::XUpdatable> const xUpdatable(
uno::UNO_QUERY_THROW ); xView->getCanvas(), uno::UNO_QUERY);
xUpdatable->update(); if (xUpdatable.is()) // not supported in PresenterCanvas
{
xUpdatable->update();
}
} }
catch( uno::RuntimeException& ) catch( uno::RuntimeException& )
{ {