diff options
Diffstat (limited to 'sdext/source/presenter/PresenterViewFactory.cxx')
-rw-r--r-- | sdext/source/presenter/PresenterViewFactory.cxx | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/sdext/source/presenter/PresenterViewFactory.cxx b/sdext/source/presenter/PresenterViewFactory.cxx index 17ca50f32a30..bcda35866d62 100644 --- a/sdext/source/presenter/PresenterViewFactory.cxx +++ b/sdext/source/presenter/PresenterViewFactory.cxx @@ -8,7 +8,7 @@ * * $RCSfile: PresenterViewFactory.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * * This file is part of OpenOffice.org. * @@ -320,6 +320,8 @@ void SAL_CALL PresenterViewFactory::releaseResource (const Reference<XResource>& { try { + if (pView != NULL) + pView->ReleaseView(); Reference<lang::XComponent> xComponent (rxView, UNO_QUERY); if (xComponent.is()) xComponent->dispose(); @@ -642,4 +644,11 @@ void CachablePresenterView::DeactivatePresenterView (void) + +void CachablePresenterView::ReleaseView (void) +{ +} + + + } } |