summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/drviews1.cxx
diff options
context:
space:
mode:
authorMaxim Monastirsky <momonasmon@gmail.com>2015-07-08 00:05:26 +0300
committerMaxim Monastirsky <momonasmon@gmail.com>2015-07-08 00:26:45 +0300
commit5d19f90eb247275420a6774403cb77940ac6131b (patch)
tree538a77f96139fa6743502a87bd2f3376714d943e /sd/source/ui/view/drviews1.cxx
parent9a9b192ba57063311a7af8e48590272520f8aff9 (diff)
tdf#92017 Don't attempt to show commontaskbar in Draw
Regression from 1191ed8584f9fd63c39514dd2e3e71682913d4bc Change-Id: Ib631c7ac7d0c8688907555d0fb2e4343ce37d660
Diffstat (limited to 'sd/source/ui/view/drviews1.cxx')
-rw-r--r--sd/source/ui/view/drviews1.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sd/source/ui/view/drviews1.cxx b/sd/source/ui/view/drviews1.cxx
index 8b605b02f51c..28fd92c80565 100644
--- a/sd/source/ui/view/drviews1.cxx
+++ b/sd/source/ui/view/drviews1.cxx
@@ -365,7 +365,8 @@ void DrawViewShell::ChangeEditMode(EditMode eEMode, bool bIsLayerModeActive)
bool bShowMasterViewToolbar (meEditMode == EM_MASTERPAGE
&& GetShellType() != ViewShell::ST_HANDOUT);
bool bShowPresentationToolbar (meEditMode != EM_MASTERPAGE
- && GetShellType() != ViewShell::ST_HANDOUT);
+ && GetShellType() != ViewShell::ST_HANDOUT
+ && GetShellType() != ViewShell::ST_DRAW);
// If the master view toolbar is not shown we hide it before
// switching the edit mode.