summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Fischer <af@openoffice.org>2009-10-16 12:59:19 +0000
committerAndre Fischer <af@openoffice.org>2009-10-16 12:59:19 +0000
commit683118f4dfec0a5490052254445b52bb61911189 (patch)
treeb6d2252c0d7dd093de424f938a63048d12fa0ea4
parent5d21864366393050c8ece54e2f6a3dce8a3afff4 (diff)
#i105185# Added notification for transformation change on resize.
-rw-r--r--sdext/source/presenter/PresenterSlideShowView.cxx9
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