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
This commit is contained in:
Ivo Hinkelmann 2006-08-04 10:09:15 +00:00
parent a76f954095
commit b1e66d1cae

View file

@ -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,6 +97,9 @@ void GraphicViewShell::Construct (void)
mpLayerTabBar.reset (new LayerTabBar(this,GetParentWindow()));
mpLayerTabBar->SetSplitHdl(LINK(this,GraphicViewShell,TabBarSplitHandler));
// pb: #i67363# no layer tabbar on preview mode
if ( !GetObjectShell()->IsPreview() )
mpLayerTabBar->Show();
}