diff options
-rw-r--r-- | sd/source/ui/view/drviews3.cxx | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/sd/source/ui/view/drviews3.cxx b/sd/source/ui/view/drviews3.cxx index ff6656c964b5..6a40e5d23e77 100644 --- a/sd/source/ui/view/drviews3.cxx +++ b/sd/source/ui/view/drviews3.cxx @@ -4,9 +4,9 @@ * * $RCSfile: drviews3.cxx,v $ * - * $Revision: 1.35 $ + * $Revision: 1.36 $ * - * last change: $Author: rt $ $Date: 2005-12-14 17:27:02 $ + * last change: $Author: obo $ $Date: 2006-03-21 17:43:22 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -155,15 +155,15 @@ #include "masterlayoutdlg.hxx" #include "Ruler.hxx" #include "DrawDocShell.hxx" -#ifndef SD_OBJECT_BAR_MANAGER_HXX -#include "ObjectBarManager.hxx" -#endif #include "sdabstdlg.hxx" //CHINA001 #include "PaneManager.hxx" #include <sfx2/ipclient.hxx> #ifndef SD_VIEW_SHELL_BASE_HXX #include "ViewShellBase.hxx" #endif +#ifndef SD_FORM_SHELL_MANAGER_HXX +#include "FormShellManager.hxx" +#endif #include "LayerTabBar.hxx" #include "sdabstdlg.hxx" //CHINA001 #include "sdpage.hxx" @@ -566,8 +566,7 @@ void DrawViewShell::ExecCtrl(SfxRequest& rReq) case SID_ATTR_YEAR2000: { - FmFormShell* pFormShell = static_cast<FmFormShell*>( - GetObjectBarManager().GetObjectBar(RID_FORMLAYER_TOOLBOX)); + FmFormShell* pFormShell = GetViewShellBase().GetFormShellManager().GetFormShell(); if (pFormShell != NULL) { const SfxPoolItem* pItem; |