diff options
Diffstat (limited to 'sd/source/ui/framework/module')
20 files changed, 63 insertions, 63 deletions
diff --git a/sd/source/ui/framework/module/CenterViewFocusModule.cxx b/sd/source/ui/framework/module/CenterViewFocusModule.cxx index 3c740c929dd9..0c0ff3f7cb50 100644 --- a/sd/source/ui/framework/module/CenterViewFocusModule.cxx +++ b/sd/source/ui/framework/module/CenterViewFocusModule.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -68,7 +68,7 @@ CenterViewFocusModule::CenterViewFocusModule (Reference<frame::XController>& rxC if (xControllerManager.is()) { mxConfigurationController = xControllerManager->getConfigurationController(); - + // Tunnel through the controller to obtain a ViewShellBase. Reference<lang::XUnoTunnel> xTunnel (rxController, UNO_QUERY); if (xTunnel.is()) @@ -85,7 +85,7 @@ CenterViewFocusModule::CenterViewFocusModule (Reference<frame::XController>& rxC mbValid = true; } } - + if (mbValid) { mxConfigurationController->addConfigurationChangeListener( @@ -105,7 +105,7 @@ CenterViewFocusModule::CenterViewFocusModule (Reference<frame::XController>& rxC CenterViewFocusModule::~CenterViewFocusModule (void) { } - + diff --git a/sd/source/ui/framework/module/CenterViewFocusModule.hxx b/sd/source/ui/framework/module/CenterViewFocusModule.hxx index 3631b161fa31..b43196f07792 100644 --- a/sd/source/ui/framework/module/CenterViewFocusModule.hxx +++ b/sd/source/ui/framework/module/CenterViewFocusModule.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -64,16 +64,16 @@ namespace sd { namespace framework { */ class CenterViewFocusModule : private sd::MutexOwner, - public CenterViewFocusModuleInterfaceBase + public CenterViewFocusModuleInterfaceBase { public: CenterViewFocusModule ( ::com::sun::star::uno::Reference<com::sun::star::frame::XController>& rxController); virtual ~CenterViewFocusModule (void); - + virtual void SAL_CALL disposing (void); - + // XConfigurationChangeListener virtual void SAL_CALL notifyConfigurationChange ( diff --git a/sd/source/ui/framework/module/DrawModule.cxx b/sd/source/ui/framework/module/DrawModule.cxx index 0d1537161e0a..ad39ac9d8687 100644 --- a/sd/source/ui/framework/module/DrawModule.cxx +++ b/sd/source/ui/framework/module/DrawModule.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sd/source/ui/framework/module/ImpressModule.cxx b/sd/source/ui/framework/module/ImpressModule.cxx index 59f948a025e3..c0543c57a5f3 100644 --- a/sd/source/ui/framework/module/ImpressModule.cxx +++ b/sd/source/ui/framework/module/ImpressModule.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sd/source/ui/framework/module/ModuleController.cxx b/sd/source/ui/framework/module/ModuleController.cxx index 5387ca7a06d6..2d0e8c724a78 100644 --- a/sd/source/ui/framework/module/ModuleController.cxx +++ b/sd/source/ui/framework/module/ModuleController.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -244,7 +244,7 @@ void ModuleController::InstantiateStartupServices (void) void ModuleController::ProcessStartupService (const ::std::vector<Any>& rValues) { OSL_ASSERT(rValues.size() == snStartupPropertyCount); - + try { // Get the service name of the startup service. @@ -320,7 +320,7 @@ void SAL_CALL ModuleController::requestResource (const OUString& rsResourceURL) //----- XInitialization ------------------------------------------------------- - + void SAL_CALL ModuleController::initialize (const Sequence<Any>& aArguments) throw (Exception, RuntimeException) { diff --git a/sd/source/ui/framework/module/PresentationModule.cxx b/sd/source/ui/framework/module/PresentationModule.cxx index 28f8521121b8..2076e7b5d093 100644 --- a/sd/source/ui/framework/module/PresentationModule.cxx +++ b/sd/source/ui/framework/module/PresentationModule.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sd/source/ui/framework/module/ReadOnlyModeObserver.cxx b/sd/source/ui/framework/module/ReadOnlyModeObserver.cxx index 73d455457676..6f8857bd6150 100644 --- a/sd/source/ui/framework/module/ReadOnlyModeObserver.cxx +++ b/sd/source/ui/framework/module/ReadOnlyModeObserver.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -161,13 +161,13 @@ bool ReadOnlyModeObserver::ConnectToDispatch (void) } } } - + return mxDispatch.is(); } - + void ReadOnlyModeObserver::statusChanged (const frame::FeatureStateEvent& rEvent) throw (RuntimeException) { @@ -192,7 +192,7 @@ void SAL_CALL ReadOnlyModeObserver::disposing ( mxConfigurationController = NULL; else if (rEvent.Source == mxDispatch) mxDispatch = NULL; - + dispose(); } diff --git a/sd/source/ui/framework/module/ReadOnlyModeObserver.hxx b/sd/source/ui/framework/module/ReadOnlyModeObserver.hxx index e1172b2d1f20..60519054b799 100644 --- a/sd/source/ui/framework/module/ReadOnlyModeObserver.hxx +++ b/sd/source/ui/framework/module/ReadOnlyModeObserver.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -78,7 +78,7 @@ public: ReadOnlyModeObserver ( const ::com::sun::star::uno::Reference<com::sun::star::frame::XController>& rxController); virtual ~ReadOnlyModeObserver (void); - + virtual void SAL_CALL disposing (void); @@ -98,7 +98,7 @@ public: const com::sun::star::lang::EventObject& rEvent) throw (com::sun::star::uno::RuntimeException); - + // frame::XStatusListener /** Called by slot state change broadcasters. @@ -108,9 +108,9 @@ public: statusChanged ( const ::com::sun::star::frame::FeatureStateEvent& rState) throw (::com::sun::star::uno::RuntimeException); - + // XConfigurationChangeListener - + virtual void SAL_CALL notifyConfigurationChange ( const ::com::sun::star::drawing::framework::ConfigurationChangeEvent& rEvent) throw (::com::sun::star::uno::RuntimeException); diff --git a/sd/source/ui/framework/module/ResourceManager.cxx b/sd/source/ui/framework/module/ResourceManager.cxx index 08ee84c33e10..bc19cdb5ce88 100644 --- a/sd/source/ui/framework/module/ResourceManager.cxx +++ b/sd/source/ui/framework/module/ResourceManager.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sd/source/ui/framework/module/ResourceManager.hxx b/sd/source/ui/framework/module/ResourceManager.hxx index dc3215ae9e68..2f280a29b5f3 100644 --- a/sd/source/ui/framework/module/ResourceManager.hxx +++ b/sd/source/ui/framework/module/ResourceManager.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -57,7 +57,7 @@ namespace sd { namespace framework { */ class ResourceManager : private sd::MutexOwner, - public ResourceManagerInterfaceBase + public ResourceManagerInterfaceBase { public: ResourceManager ( @@ -71,14 +71,14 @@ public: activate the resource managed by the called object. */ void AddActiveMainView (const ::rtl::OUString& rsMainViewURL); - + virtual void SAL_CALL disposing (void); /** Allow the ResourceManager to make resource activation or deactivation requests. */ void Enable (void); - + /** Disable the resource management. When called, the ResourceManager requests the resource to be deactivated. Until enabled again it does not make any further requests for resource activation or @@ -87,7 +87,7 @@ public: Call this for example to hide resources in read-only mode. */ void Disable (void); - + // XConfigurationChangeListener virtual void SAL_CALL notifyConfigurationChange ( diff --git a/sd/source/ui/framework/module/ShellStackGuard.cxx b/sd/source/ui/framework/module/ShellStackGuard.cxx index f13374ec673d..441c609f6d4e 100644 --- a/sd/source/ui/framework/module/ShellStackGuard.cxx +++ b/sd/source/ui/framework/module/ShellStackGuard.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -62,7 +62,7 @@ ShellStackGuard::ShellStackGuard (Reference<frame::XController>& rxController) if (xControllerManager.is()) { mxConfigurationController = xControllerManager->getConfigurationController(); - + // Tunnel through the controller to obtain a ViewShellBase. Reference<lang::XUnoTunnel> xTunnel (rxController, UNO_QUERY); if (xTunnel.is()) @@ -95,7 +95,7 @@ ShellStackGuard::ShellStackGuard (Reference<frame::XController>& rxController) ShellStackGuard::~ShellStackGuard (void) { } - + diff --git a/sd/source/ui/framework/module/ShellStackGuard.hxx b/sd/source/ui/framework/module/ShellStackGuard.hxx index 7df5c499f216..dab10c20144a 100644 --- a/sd/source/ui/framework/module/ShellStackGuard.hxx +++ b/sd/source/ui/framework/module/ShellStackGuard.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -76,15 +76,15 @@ namespace sd { namespace framework { */ class ShellStackGuard : private ::cppu::BaseMutex, - public ShellStackGuardInterfaceBase + public ShellStackGuardInterfaceBase { public: ShellStackGuard (css::uno::Reference<css::frame::XController>& rxController); virtual ~ShellStackGuard (void); - + virtual void SAL_CALL disposing (void); - + // XConfigurationChangeListener virtual void SAL_CALL notifyConfigurationChange ( diff --git a/sd/source/ui/framework/module/SlideSorterModule.cxx b/sd/source/ui/framework/module/SlideSorterModule.cxx index 56594aa15774..fa753b10a1b2 100644 --- a/sd/source/ui/framework/module/SlideSorterModule.cxx +++ b/sd/source/ui/framework/module/SlideSorterModule.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -67,7 +67,7 @@ SlideSorterModule::SlideSorterModule ( AddActiveMainView(FrameworkHelper::msImpressViewURL); AddActiveMainView(FrameworkHelper::msOutlineViewURL); AddActiveMainView(FrameworkHelper::msNotesViewURL); - + AddActiveMainView(FrameworkHelper::msDrawViewURL); mxConfigurationController->addConfigurationChangeListener( @@ -83,7 +83,7 @@ SlideSorterModule::SlideSorterModule ( SlideSorterModule::~SlideSorterModule (void) { } - + diff --git a/sd/source/ui/framework/module/SlideSorterModule.hxx b/sd/source/ui/framework/module/SlideSorterModule.hxx index a89b359dbc7b..9e2945f15aa4 100644 --- a/sd/source/ui/framework/module/SlideSorterModule.hxx +++ b/sd/source/ui/framework/module/SlideSorterModule.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -49,8 +49,8 @@ public: const css::uno::Reference<css::frame::XController>& rxController, const ::rtl::OUString& rsLeftPaneURL); virtual ~SlideSorterModule (void); - - + + // XConfigurationChangeListener virtual void SAL_CALL notifyConfigurationChange ( diff --git a/sd/source/ui/framework/module/ToolBarModule.cxx b/sd/source/ui/framework/module/ToolBarModule.cxx index 58300805aae6..77a01e41a15e 100644 --- a/sd/source/ui/framework/module/ToolBarModule.cxx +++ b/sd/source/ui/framework/module/ToolBarModule.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -103,7 +103,7 @@ ToolBarModule::ToolBarModule ( ToolBarModule::~ToolBarModule (void) { } - + diff --git a/sd/source/ui/framework/module/ToolBarModule.hxx b/sd/source/ui/framework/module/ToolBarModule.hxx index 0eab208908fb..57a3e7fdb375 100644 --- a/sd/source/ui/framework/module/ToolBarModule.hxx +++ b/sd/source/ui/framework/module/ToolBarModule.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -61,7 +61,7 @@ namespace { */ class ToolBarModule : private ::cppu::BaseMutex, - public ToolBarModuleInterfaceBase + public ToolBarModuleInterfaceBase { public: /** Create a new module. @@ -71,10 +71,10 @@ public: ToolBarModule ( const css::uno::Reference<css::frame::XController>& rxController); virtual ~ToolBarModule (void); - + virtual void SAL_CALL disposing (void); - + // XConfigurationChangeListener virtual void SAL_CALL notifyConfigurationChange ( diff --git a/sd/source/ui/framework/module/ToolPanelModule.cxx b/sd/source/ui/framework/module/ToolPanelModule.cxx index e96adff0bc3d..7664734522d9 100644 --- a/sd/source/ui/framework/module/ToolPanelModule.cxx +++ b/sd/source/ui/framework/module/ToolPanelModule.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2008 by Sun Microsystems, Inc. * * OpenOffice.org - a multi-platform office productivity suite @@ -52,7 +52,7 @@ using ::sd::framework::FrameworkHelper; namespace sd { namespace framework { namespace { - + typedef ::cppu::WeakComponentImplHelper1 < ::com::sun::star::frame::XStatusListener > LocalReadOnlyModeObserverInterfaceBase; @@ -103,7 +103,7 @@ public: xComponent->removeEventListener(this); } - + virtual void SAL_CALL disposing (const com::sun::star::lang::EventObject& rEvent) throw(RuntimeException) { @@ -118,14 +118,14 @@ public: } dispose(); } - + virtual void SAL_CALL statusChanged (const com::sun::star::frame::FeatureStateEvent& rEvent) throw(RuntimeException) { bool bReadWrite (true); if (rEvent.IsEnabled) rEvent.State >>= bReadWrite; - + if (bReadWrite) mpResourceManager->Enable(); else diff --git a/sd/source/ui/framework/module/ToolPanelModule.hxx b/sd/source/ui/framework/module/ToolPanelModule.hxx index fbf902f6a49e..861bcf93aede 100644 --- a/sd/source/ui/framework/module/ToolPanelModule.hxx +++ b/sd/source/ui/framework/module/ToolPanelModule.hxx @@ -1,7 +1,7 @@ /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sd/source/ui/framework/module/ViewTabBarModule.cxx b/sd/source/ui/framework/module/ViewTabBarModule.cxx index 6c80afdeb1cc..c701a3fcff1d 100644 --- a/sd/source/ui/framework/module/ViewTabBarModule.cxx +++ b/sd/source/ui/framework/module/ViewTabBarModule.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -66,7 +66,7 @@ ViewTabBarModule::ViewTabBarModule ( mxViewTabBarId(rxViewTabBarId) { Reference<XControllerManager> xControllerManager (rxController, UNO_QUERY); - + if (xControllerManager.is()) { mxConfigurationController = xControllerManager->getConfigurationController(); @@ -96,7 +96,7 @@ ViewTabBarModule::ViewTabBarModule ( ViewTabBarModule::~ViewTabBarModule (void) { } - + @@ -173,7 +173,7 @@ void ViewTabBarModule::UpdateViewTabBar (const Reference<XTabBar>& rxTabBar) if ( ! xBar.is()) xBar = Reference<XTabBar>( mxConfigurationController->getResource(mxViewTabBarId), UNO_QUERY); - + if (xBar.is()) { TabBarButton aEmptyButton; @@ -203,7 +203,7 @@ void ViewTabBarModule::UpdateViewTabBar (const Reference<XTabBar>& rxTabBar) aNotesViewButton.ButtonLabel = String(SdResId(STR_NOTES_MODE)); if ( ! xBar->hasTabBarButton(aNotesViewButton)) xBar->addTabBarButtonAfter(aNotesViewButton, aOutlineViewButton); - + TabBarButton aHandoutViewButton; aHandoutViewButton.ResourceId = FrameworkHelper::CreateResourceId( FrameworkHelper::msHandoutViewURL, diff --git a/sd/source/ui/framework/module/ViewTabBarModule.hxx b/sd/source/ui/framework/module/ViewTabBarModule.hxx index 067375f07b9d..aa7686109206 100644 --- a/sd/source/ui/framework/module/ViewTabBarModule.hxx +++ b/sd/source/ui/framework/module/ViewTabBarModule.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -58,7 +58,7 @@ namespace sd { namespace framework { */ class ViewTabBarModule : private sd::MutexOwner, - public ViewTabBarModuleInterfaceBase + public ViewTabBarModuleInterfaceBase { public: /** Create a new module that controlls the view tab bar above the view @@ -74,10 +74,10 @@ public: const css::uno::Reference< css::drawing::framework::XResourceId>& rxViewTabBarId); virtual ~ViewTabBarModule (void); - + virtual void SAL_CALL disposing (void); - + // XConfigurationChangeListener virtual void SAL_CALL notifyConfigurationChange ( |