diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2006-08-04 10:09:15 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2006-08-04 10:09:15 +0000 |
commit | b1e66d1cae9cf15e3738b64d6000ed7d507cced5 (patch) | |
tree | b4fff4225f7ea8ec4168fac79243a7613a924cc0 | |
parent | a76f95409502fd11e9e59aa4a96c2d5868125c80 (diff) |
INTEGRATION: CWS pb17 (1.5.254); FILE MERGED
2006/08/01 11:44:37 pb 1.5.254.1: fix: #i67363# no layer tabbar on preview mode
-rw-r--r-- | sd/source/ui/view/grviewsh.cxx | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/sd/source/ui/view/grviewsh.cxx b/sd/source/ui/view/grviewsh.cxx index 8047ccb20c37..90aa93cfcde3 100644 --- a/sd/source/ui/view/grviewsh.cxx +++ b/sd/source/ui/view/grviewsh.cxx @@ -4,9 +4,9 @@ * * $RCSfile: grviewsh.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: rt $ $Date: 2005-09-09 07:14:26 $ + * last change: $Author: ihi $ $Date: 2006-08-04 11:09:15 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -36,6 +36,7 @@ #include "GraphicViewShell.hxx" #include "LayerTabBar.hxx" #include "FrameView.hxx" +#include <sfx2/objsh.hxx> #include <sfx2/viewfrm.hxx> #include <vcl/scrbar.hxx> @@ -96,7 +97,10 @@ void GraphicViewShell::Construct (void) mpLayerTabBar.reset (new LayerTabBar(this,GetParentWindow())); mpLayerTabBar->SetSplitHdl(LINK(this,GraphicViewShell,TabBarSplitHandler)); - mpLayerTabBar->Show(); + + // pb: #i67363# no layer tabbar on preview mode + if ( !GetObjectShell()->IsPreview() ) + mpLayerTabBar->Show(); } |