From d9e8255e6453568247dbda3333a45e7a40cfb58f Mon Sep 17 00:00:00 2001 From: Siqi LIU Date: Sat, 20 Jul 2013 01:06:54 +0200 Subject: remove server if no longer visible Change-Id: I75902afe3040304155d164fd0502a00869e4f9d7 --- sdext/source/presenter/PresenterController.cxx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'sdext') diff --git a/sdext/source/presenter/PresenterController.cxx b/sdext/source/presenter/PresenterController.cxx index d105f90c456e..f0bbc534128b 100644 --- a/sdext/source/presenter/PresenterController.cxx +++ b/sdext/source/presenter/PresenterController.cxx @@ -176,7 +176,7 @@ PresenterController::PresenterController ( } } - // UpdateCurrentSlide(0); + UpdateCurrentSlide(0); maInstances[mxController->getFrame()] = this; @@ -255,6 +255,7 @@ void PresenterController::disposing (void) void PresenterController::UpdateCurrentSlide (const sal_Int32 nOffset) { + std::cerr << "Updating current Slide to " << nOffset << std::endl; GetSlides(nOffset); UpdatePaneTitles(); UpdateViews(); @@ -774,7 +775,7 @@ void SAL_CALL PresenterController::notifyConfigurationChange ( if (IsAccessibilityActive()) { mpAccessibleObject->UpdateAccessibilityHierarchy(); - // UpdateCurrentSlide(0); + UpdateCurrentSlide(0); } break; } @@ -1121,7 +1122,7 @@ void PresenterController::InitializeMainPane (const Reference& rxPane) if (mxSlideShowController.is()) mxSlideShowController->activate(); - // UpdateCurrentSlide(0); + UpdateCurrentSlide(0); } void PresenterController::LoadTheme (const Reference& rxPane) -- cgit