summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2005-01-18 15:04:19 +0000
committerKurt Zenker <kz@openoffice.org>2005-01-18 15:04:19 +0000
commit7fd6e564bb0fffe798c6a19fa384764816f278c5 (patch)
treedb4778f2dea1d2448388976b5f1ebe6a8a43e624 /sfx2
parent33ef011477280d7905ce4d20e5caca9bbbbadf77 (diff)
INTEGRATION: CWS fwkbugfix04 (1.47.6); FILE MERGED
2004/12/06 17:53:03 mba 1.47.6.1: #i38334#: get rid of all code based on SfxConfigManager
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/appl/workwin.cxx31
1 files changed, 7 insertions, 24 deletions
diff --git a/sfx2/source/appl/workwin.cxx b/sfx2/source/appl/workwin.cxx
index 3d9b2c3e43c6..6d4b8dfb4406 100644
--- a/sfx2/source/appl/workwin.cxx
+++ b/sfx2/source/appl/workwin.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: workwin.cxx,v $
*
- * $Revision: 1.47 $
+ * $Revision: 1.48 $
*
- * last change: $Author: obo $ $Date: 2004-11-16 15:26:21 $
+ * last change: $Author: kz $ $Date: 2005-01-18 16:04:19 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -68,21 +68,15 @@
#include "appdata.hxx"
#include "workwin.hxx"
#include "topfrm.hxx"
-//#include "clientsh.hxx"
#include "arrdecl.hxx"
#include "viewfrm.hxx"
#include "module.hxx"
#include "dispatch.hxx"
-#include "tbxmgr.hxx"
#include "tbxchild.hxx"
-#include "tbxconf.hxx"
-#include "imgmgr.hxx"
#include "dockwin.hxx"
#include "viewsh.hxx"
-//#include "ipenv.hxx"
#include "splitwin.hxx"
#include "msgpool.hxx"
-#include "stbmgr.hxx"
#include "sfxresid.hxx"
#include "objsh.hxx"
#include <vcl/taskpanelist.hxx>
@@ -654,7 +648,7 @@ void SfxWorkWindow::DeleteControllers_Impl()
if ( xLayoutManager.is() )
{
rtl::OUString aStatusBarResStr( RTL_CONSTASCII_USTRINGPARAM( "private:resource/statusbar/statusbar" ));
- xLayoutManager->destroyElement( aStatusBarResStr );
+ xLayoutManager->destroyElement( aStatusBarResStr );
ResetStatusBar_Impl();
// ObjectBars l"oschen( zuletzt, damit pChilds nicht tote Pointer enh"alt )
@@ -1330,10 +1324,6 @@ void SfxIPWorkWin_Impl::UpdateObjectBars_Impl()
}
}
#endif
-SfxStatusBarManager* SfxWorkWindow::GetStatusBarManager_Impl()
-{
- return NULL;
-}
Reference< ::com::sun::star::task::XStatusIndicator > SfxWorkWindow::GetStatusIndicator()
{
@@ -1381,7 +1371,6 @@ void SfxWorkWindow::UpdateObjectBars_Impl()
// was man so "ofters braucht, merkt man sich (spart Code und Laufzeit)
SFX_APP();
- SfxToolBoxConfig *pTbxCfg = GetBindings().GetToolBoxConfig();
Reference< com::sun::star::beans::XPropertySet > xPropSet( GetBindings().GetActiveFrame(), UNO_QUERY );
Reference< drafts::com::sun::star::frame::XLayoutManager > xLayoutManager;
@@ -1686,6 +1675,8 @@ void SfxWorkWindow::SetStatusBar_Impl( const ResId& rResId, SfxShell *pSh, SfxBi
}
}
+#define SFX_ITEMTYPE_STATBAR 4
+
void SfxWorkWindow::SetTempStatusBar_Impl( BOOL bSet )
{
if ( aStatBar.bTemp != bSet && bShowStatusBar && IsVisible_Impl() )
@@ -1715,13 +1706,6 @@ void SfxWorkWindow::SetTempStatusBar_Impl( BOOL bSet )
}
}
-//------------------------------------------------------------------------
-SfxStatusBarManager* SfxWorkWindow::MakeStatusBarManager_Impl( BOOL )
-{
- // obsolete
- return NULL;
-}
-
void SfxWorkWindow::UpdateStatusBar_Impl()
{
Reference< com::sun::star::beans::XPropertySet > xPropSet( GetBindings().GetActiveFrame(), UNO_QUERY );
@@ -2722,11 +2706,11 @@ void SfxWorkWindow::InitializeChild_Impl(SfxChildWin_Impl *pCW)
}
}
}
-
+/*
SfxStatBar_Impl* SfxWorkWindow::GetStatusBar_Impl()
{
return &aStatBar;
-}
+} */
SfxSplitWindow* SfxWorkWindow::GetSplitWindow_Impl( SfxChildAlignment eAlign )
{
@@ -3150,4 +3134,3 @@ void SfxWorkWindow::DataChanged_Impl( const DataChangedEvent& rDCEvt )
ArrangeChilds_Impl();
}
-SfxStatBar_Impl* GetStatusBar_Impl();