From 40adafd63debf6ee0b106985959b64c9705538f4 Mon Sep 17 00:00:00 2001 From: Kurt Zenker Date: Wed, 5 Mar 2008 16:23:04 +0000 Subject: INTEGRATION: CWS aquavcl05_DEV300 (1.21.236); FILE MERGED 2008/02/18 13:41:43 pl 1.21.236.2: #i85963# no standardbar and statusbar in backing component 2008/02/14 21:37:17 pl 1.21.236.1: #i85963# implement StartCenter --- framework/source/services/backingcomp.cxx | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'framework/source/services/backingcomp.cxx') diff --git a/framework/source/services/backingcomp.cxx b/framework/source/services/backingcomp.cxx index 8a06ff38ca..2146017944 100644 --- a/framework/source/services/backingcomp.cxx +++ b/framework/source/services/backingcomp.cxx @@ -4,9 +4,9 @@ * * $RCSfile: backingcomp.cxx,v $ * - * $Revision: 1.21 $ + * $Revision: 1.22 $ * - * last change: $Author: obo $ $Date: 2006-09-16 14:07:58 $ + * last change: $Author: kz $ $Date: 2008-03-05 17:23:04 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -38,6 +38,8 @@ #include "services/backingcomp.hxx" +#include "backingwindow.hxx" + //_______________________________________________ // own includes @@ -644,10 +646,12 @@ void SAL_CALL BackingComp::attachFrame( /*IN*/ const css::uno::Reference< css::f { xLayoutManager->lock(); xLayoutManager->createElement( DECLARE_ASCII( "private:resource/menubar/menubar" )); + /* #i85963# new backing window comes withoud standard bar and statusbar xLayoutManager->createElement( DECLARE_ASCII( "private:resource/toolbar/standardbar" )); xLayoutManager->createElement( DECLARE_ASCII( "private:resource/statusbar/statusbar" )); xLayoutManager->showElement ( DECLARE_ASCII( "private:resource/toolbar/standardbar" )); xLayoutManager->showElement ( DECLARE_ASCII( "private:resource/statusbar/statusbar" )); + */ xLayoutManager->unlock(); } @@ -946,7 +950,7 @@ void SAL_CALL BackingComp::initialize( /*IN*/ const css::uno::Sequence< css::uno // create the component window Window* pParent = VCLUnoHelper::GetWindow(xParentWindow); - Window* pWindow = new Window(pParent, WB_BORDER); + Window* pWindow = new BackingWindow(pParent); m_xWindow = VCLUnoHelper::GetInterface(pWindow); if (!m_xWindow.is()) -- cgit v1.2.3