summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaol?n McNamara <cmc@openoffice.org>2010-07-06 10:43:11 +0100
committerCaol?n McNamara <cmc@openoffice.org>2010-07-06 10:43:11 +0100
commita62207581dcf7e8f834217e1e049d5d7797d6bd3 (patch)
treee0b5b04fc0f11ebb608e7bf4a267930abe533584
parentd769a2673d2746b8456c5177edf1fda2697ff6df (diff)
cmcfixes76: #i112868# WaEooo/DEV300_m85
-rw-r--r--sdext/source/presenter/PresenterController.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sdext/source/presenter/PresenterController.cxx b/sdext/source/presenter/PresenterController.cxx
index cf3ec87..80f1905 100644
--- a/sdext/source/presenter/PresenterController.cxx
+++ b/sdext/source/presenter/PresenterController.cxx
@@ -1085,10 +1085,12 @@ void SAL_CALL PresenterController::keyReleased (const awt::KeyEvent& rEvent)
case awt::Key::F1:
// Toggle the help view.
if (mpWindowManager.get() != NULL)
+ {
if (mpWindowManager->GetViewMode() != PresenterWindowManager::VM_Help)
mpWindowManager->SetViewMode(PresenterWindowManager::VM_Help);
else
mpWindowManager->SetHelpViewState(false);
+ }
break;