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 32e055144fc3..1b3f24187b23 100644 --- a/sd/source/ui/framework/module/CenterViewFocusModule.cxx +++ b/sd/source/ui/framework/module/CenterViewFocusModule.cxx @@ -1,7 +1,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 @@ 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()) @@ -84,7 +84,7 @@ CenterViewFocusModule::CenterViewFocusModule (Reference<frame::XController>& rxC mbValid = true; } } - + if (mbValid) { mxConfigurationController->addConfigurationChangeListener( @@ -104,7 +104,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 e104b8971fb3..c099d9ea795b 100644 --- a/sd/source/ui/framework/module/CenterViewFocusModule.hxx +++ b/sd/source/ui/framework/module/CenterViewFocusModule.hxx @@ -1,7 +1,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 @@ -63,16 +63,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 1f1604a3099c..9f3e695e89fc 100644 --- a/sd/source/ui/framework/module/DrawModule.cxx +++ b/sd/source/ui/framework/module/DrawModule.cxx @@ -1,7 +1,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 a5856bc3ebc9..a635e3fa2069 100755 --- a/sd/source/ui/framework/module/ImpressModule.cxx +++ b/sd/source/ui/framework/module/ImpressModule.cxx @@ -1,7 +1,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 e910a8df7496..ef4b8b529299 100755 --- a/sd/source/ui/framework/module/ModuleController.cxx +++ b/sd/source/ui/framework/module/ModuleController.cxx @@ -1,7 +1,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 @@ -243,7 +243,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. @@ -319,7 +319,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 6a5ba5dc5e7f..2fc1a783355e 100755 --- a/sd/source/ui/framework/module/PresentationModule.cxx +++ b/sd/source/ui/framework/module/PresentationModule.cxx @@ -1,7 +1,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 090247e7f68c..1bc567ac8a93 100755 --- a/sd/source/ui/framework/module/ReadOnlyModeObserver.cxx +++ b/sd/source/ui/framework/module/ReadOnlyModeObserver.cxx @@ -1,7 +1,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 @@ -160,13 +160,13 @@ bool ReadOnlyModeObserver::ConnectToDispatch (void) } } } - + return mxDispatch.is(); } - + void ReadOnlyModeObserver::statusChanged (const frame::FeatureStateEvent& rEvent) throw (RuntimeException) { @@ -191,7 +191,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 d783d6d83abf..d4b0314aa265 100755 --- a/sd/source/ui/framework/module/ReadOnlyModeObserver.hxx +++ b/sd/source/ui/framework/module/ReadOnlyModeObserver.hxx @@ -1,7 +1,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 @@ -77,7 +77,7 @@ public: ReadOnlyModeObserver ( const ::com::sun::star::uno::Reference<com::sun::star::frame::XController>& rxController); virtual ~ReadOnlyModeObserver (void); - + virtual void SAL_CALL disposing (void); @@ -97,7 +97,7 @@ public: const com::sun::star::lang::EventObject& rEvent) throw (com::sun::star::uno::RuntimeException); - + // frame::XStatusListener /** Called by slot state change broadcasters. @@ -107,9 +107,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 fcd90ca6454b..8050fc058055 100755 --- a/sd/source/ui/framework/module/ResourceManager.cxx +++ b/sd/source/ui/framework/module/ResourceManager.cxx @@ -1,7 +1,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 d00ee78c2de3..dd7cd9e0c73c 100755 --- a/sd/source/ui/framework/module/ResourceManager.hxx +++ b/sd/source/ui/framework/module/ResourceManager.hxx @@ -1,7 +1,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 @@ -56,7 +56,7 @@ namespace sd { namespace framework { */ class ResourceManager : private sd::MutexOwner, - public ResourceManagerInterfaceBase + public ResourceManagerInterfaceBase { public: ResourceManager ( @@ -70,14 +70,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 @@ -86,7 +86,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 79396a57f36a..47acc5b88f5d 100644 --- a/sd/source/ui/framework/module/ShellStackGuard.cxx +++ b/sd/source/ui/framework/module/ShellStackGuard.cxx @@ -1,7 +1,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 @@ 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()) @@ -94,7 +94,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 694e7fe5719f..a60c1caa2df4 100644 --- a/sd/source/ui/framework/module/ShellStackGuard.hxx +++ b/sd/source/ui/framework/module/ShellStackGuard.hxx @@ -1,7 +1,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 @@ -75,15 +75,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 2a1aaa4ca771..3a836e5fb3d0 100644 --- a/sd/source/ui/framework/module/SlideSorterModule.cxx +++ b/sd/source/ui/framework/module/SlideSorterModule.cxx @@ -1,7 +1,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 @@ SlideSorterModule::SlideSorterModule ( AddActiveMainView(FrameworkHelper::msImpressViewURL); AddActiveMainView(FrameworkHelper::msOutlineViewURL); AddActiveMainView(FrameworkHelper::msNotesViewURL); - + AddActiveMainView(FrameworkHelper::msDrawViewURL); mxConfigurationController->addConfigurationChangeListener( @@ -82,7 +82,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 c685c16d830b..d36510e60db2 100644 --- a/sd/source/ui/framework/module/SlideSorterModule.hxx +++ b/sd/source/ui/framework/module/SlideSorterModule.hxx @@ -1,7 +1,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 @@ -48,8 +48,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 b987009537b8..6b154d7ae893 100644 --- a/sd/source/ui/framework/module/ToolBarModule.cxx +++ b/sd/source/ui/framework/module/ToolBarModule.cxx @@ -1,7 +1,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 @@ -102,7 +102,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 1e26cef6d435..47228ee97548 100644 --- a/sd/source/ui/framework/module/ToolBarModule.hxx +++ b/sd/source/ui/framework/module/ToolBarModule.hxx @@ -1,7 +1,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 @@ -60,7 +60,7 @@ namespace { */ class ToolBarModule : private ::cppu::BaseMutex, - public ToolBarModuleInterfaceBase + public ToolBarModuleInterfaceBase { public: /** Create a new module. @@ -70,10 +70,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 888fa68ad708..ed9447efab48 100644 --- a/sd/source/ui/framework/module/ToolPanelModule.cxx +++ b/sd/source/ui/framework/module/ToolPanelModule.cxx @@ -1,7 +1,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 @@ -51,7 +51,7 @@ using ::sd::framework::FrameworkHelper; namespace sd { namespace framework { namespace { - + typedef ::cppu::WeakComponentImplHelper1 < ::com::sun::star::frame::XStatusListener > LocalReadOnlyModeObserverInterfaceBase; @@ -102,7 +102,7 @@ public: xComponent->removeEventListener(this); } - + virtual void SAL_CALL disposing (const com::sun::star::lang::EventObject& rEvent) throw(RuntimeException) { @@ -117,14 +117,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 7d728e60e93d..34b0ecf42d46 100644 --- a/sd/source/ui/framework/module/ToolPanelModule.hxx +++ b/sd/source/ui/framework/module/ToolPanelModule.hxx @@ -1,6 +1,6 @@ /************************************************************************* * 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 6a4db6246c1a..7bc49d6baff5 100644 --- a/sd/source/ui/framework/module/ViewTabBarModule.cxx +++ b/sd/source/ui/framework/module/ViewTabBarModule.cxx @@ -1,7 +1,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 @@ -65,7 +65,7 @@ ViewTabBarModule::ViewTabBarModule ( mxViewTabBarId(rxViewTabBarId) { Reference<XControllerManager> xControllerManager (rxController, UNO_QUERY); - + if (xControllerManager.is()) { mxConfigurationController = xControllerManager->getConfigurationController(); @@ -95,7 +95,7 @@ ViewTabBarModule::ViewTabBarModule ( ViewTabBarModule::~ViewTabBarModule (void) { } - + @@ -172,7 +172,7 @@ void ViewTabBarModule::UpdateViewTabBar (const Reference<XTabBar>& rxTabBar) if ( ! xBar.is()) xBar = Reference<XTabBar>( mxConfigurationController->getResource(mxViewTabBarId), UNO_QUERY); - + if (xBar.is()) { TabBarButton aEmptyButton; @@ -202,7 +202,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 f775bfb87c38..559724232d48 100644 --- a/sd/source/ui/framework/module/ViewTabBarModule.hxx +++ b/sd/source/ui/framework/module/ViewTabBarModule.hxx @@ -1,7 +1,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 ViewTabBarModule : private sd::MutexOwner, - public ViewTabBarModuleInterfaceBase + public ViewTabBarModuleInterfaceBase { public: /** Create a new module that controlls the view tab bar above the view @@ -73,10 +73,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 ( |