diff options
Diffstat (limited to 'sdext/source/presenter')
-rw-r--r-- | sdext/source/presenter/PresenterSlideShowView.cxx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sdext/source/presenter/PresenterSlideShowView.cxx b/sdext/source/presenter/PresenterSlideShowView.cxx index 518595082683..5acf57ff87fd 100644 --- a/sdext/source/presenter/PresenterSlideShowView.cxx +++ b/sdext/source/presenter/PresenterSlideShowView.cxx @@ -1053,6 +1053,15 @@ void PresenterSlideShowView::Resize (void) // for the new size. CreateBackgroundPolygons(); + // Notify listeners that the transformation that maps the view into the + // window has changed. + lang::EventObject aEvent (static_cast<XWeak*>(this)); + ::cppu::OInterfaceContainerHelper* pIterator + = maBroadcaster.getContainer(getCppuType((Reference<util::XModifyListener>*)NULL)); + if (pIterator != NULL) + { + pIterator->notifyEach(&util::XModifyListener::modified, aEvent); + } // Due to constant aspect ratio resizing may lead a preview that changes // its position but not its size. This invalidates the back buffer and |