slideshow: stop whining about PresenterCanvas' lack of XUpdatable
Change-Id: I1e447f5eccb41325d96e9c4cb1598a05e702badc
This commit is contained in:
@@ -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& )
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user