summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/drviews1.cxx
diff options
context:
space:
mode:
authorAndre Fischer <af@apache.org>2013-05-21 09:22:27 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-05-21 18:46:58 +0100
commitb8520e02d2b1b18ece5dbc6dbac12b9481643fdd (patch)
treee5829bb1a938ce45a352a09ae578863149ba5f8b /sd/source/ui/view/drviews1.cxx
parentd456545fb1215eda69f6970d4207b2b062384877 (diff)
Resolves: #i122291# Showing the right set of layouts for handout mode
Fixed painting selection in layout panel (cherry picked from commit b89784c822670593cb253bcc0d260b93c9936e1c) Change-Id: I73d53bdcdec25753c8adb0f011f05868f82d35a5
Diffstat (limited to 'sd/source/ui/view/drviews1.cxx')
-rw-r--r--sd/source/ui/view/drviews1.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sd/source/ui/view/drviews1.cxx b/sd/source/ui/view/drviews1.cxx
index 552f61b16dc0..876eab309070 100644
--- a/sd/source/ui/view/drviews1.cxx
+++ b/sd/source/ui/view/drviews1.cxx
@@ -461,6 +461,9 @@ void DrawViewShell::ChangeEditMode(EditMode eEMode, bool bIsLayerModeActive)
if (meEditMode == EM_PAGE)
SetContextName(sfx2::sidebar::EnumContext::GetContextName(sfx2::sidebar::EnumContext::Context_DrawPage));
+ else if (mePageKind == PK_HANDOUT)
+
+ SetContextName(sfx2::sidebar::EnumContext::GetContextName(sfx2::sidebar::EnumContext::Context_HandoutPage));
else
SetContextName(sfx2::sidebar::EnumContext::GetContextName(sfx2::sidebar::EnumContext::Context_MasterPage));
}