summaryrefslogtreecommitdiff
path: root/sdext
diff options
context:
space:
mode:
authorSiqi LIU <me@siqi.fr>2013-07-20 01:06:54 +0200
committerSiqi LIU <me@siqi.fr>2013-07-20 01:07:18 +0200
commitd9e8255e6453568247dbda3333a45e7a40cfb58f (patch)
tree36d35cc7482312f123a48b4b4b88cf174e40472d /sdext
parentf63d44df0ae3820803a5016dad0fed6f3cef8a59 (diff)
remove server if no longer visible
Change-Id: I75902afe3040304155d164fd0502a00869e4f9d7
Diffstat (limited to 'sdext')
-rw-r--r--sdext/source/presenter/PresenterController.cxx7
1 files changed, 4 insertions, 3 deletions
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<XPane>& rxPane)
if (mxSlideShowController.is())
mxSlideShowController->activate();
- // UpdateCurrentSlide(0);
+ UpdateCurrentSlide(0);
}
void PresenterController::LoadTheme (const Reference<XPane>& rxPane)