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::UNO_QUERY_THROW );
|
||||
uno::Reference< util::XUpdatable > xUpdatable( xView->getCanvas(),
|
||||
uno::UNO_QUERY_THROW );
|
||||
xUpdatable->update();
|
||||
uno::Reference<util::XUpdatable> const xUpdatable(
|
||||
xView->getCanvas(), uno::UNO_QUERY);
|
||||
if (xUpdatable.is()) // not supported in PresenterCanvas
|
||||
{
|
||||
xUpdatable->update();
|
||||
}
|
||||
}
|
||||
catch( uno::RuntimeException& )
|
||||
{
|
||||
|
Reference in New Issue
Block a user