summaryrefslogtreecommitdiff
path: root/sd/source/ui/tools/EventMultiplexer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/tools/EventMultiplexer.cxx')
-rw-r--r--sd/source/ui/tools/EventMultiplexer.cxx38
1 files changed, 19 insertions, 19 deletions
diff --git a/sd/source/ui/tools/EventMultiplexer.cxx b/sd/source/ui/tools/EventMultiplexer.cxx
index 91c277a50b1d..fa74361640bf 100644
--- a/sd/source/ui/tools/EventMultiplexer.cxx
+++ b/sd/source/ui/tools/EventMultiplexer.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
@@ -64,7 +64,7 @@ static const sal_Int32 ConfigurationUpdateEvent = 2;
namespace sd { namespace tools {
-typedef cppu::WeakComponentImplHelper4<
+typedef cppu::WeakComponentImplHelper4<
::com::sun::star::beans::XPropertyChangeListener,
::com::sun::star::frame::XFrameActionListener,
::com::sun::star::view::XSelectionChangeListener,
@@ -81,11 +81,11 @@ public:
~Implementation (void);
void AddEventListener (
- Link& rCallback,
+ Link& rCallback,
EventMultiplexerEvent::EventId aEventTypes);
void RemoveEventListener (
- Link& rCallback,
+ Link& rCallback,
EventMultiplexerEvent::EventId aEventTypes);
void CallListeners (EventMultiplexerEvent& rEvent);
@@ -93,19 +93,19 @@ public:
ViewShellBase& GetViewShellBase() const { return mrBase; }
//===== lang::XEventListener ==============================================
- virtual void SAL_CALL
+ virtual void SAL_CALL
disposing (const ::com::sun::star::lang::EventObject& rEventObject)
throw (::com::sun::star::uno::RuntimeException);
//===== beans::XPropertySetListener =======================================
- virtual void SAL_CALL
+ virtual void SAL_CALL
propertyChange (
const com::sun::star::beans::PropertyChangeEvent& rEvent)
throw (::com::sun::star::uno::RuntimeException);
//===== view::XSelectionChangeListener ====================================
- virtual void SAL_CALL
+ virtual void SAL_CALL
selectionChanged (
const com::sun::star::lang::EventObject& rEvent)
throw (::com::sun::star::uno::RuntimeException);
@@ -115,12 +115,12 @@ public:
frame it is listening to. This usually happens when the view shell
in the center pane is replaced by another view shell.
*/
- virtual void SAL_CALL
+ virtual void SAL_CALL
frameAction (const ::com::sun::star::frame::FrameActionEvent& rEvent)
throw (::com::sun::star::uno::RuntimeException);
//===== drawing::framework::XConfigurationChangeListener ==================
- virtual void SAL_CALL
+ virtual void SAL_CALL
notifyConfigurationChange (
const ::com::sun::star::drawing::framework::ConfigurationChangeEvent& rEvent)
throw (::com::sun::star::uno::RuntimeException);
@@ -218,7 +218,7 @@ EventMultiplexer::~EventMultiplexer (void)
void EventMultiplexer::AddEventListener (
- Link& rCallback,
+ Link& rCallback,
EventMultiplexerEvent::EventId aEventTypes)
{
mpImpl->AddEventListener (rCallback, aEventTypes);
@@ -242,7 +242,7 @@ void EventMultiplexer::MultiplexEvent(
void* pUserData )
{
EventMultiplexerEvent aEvent (mpImpl->GetViewShellBase(), eEventId, pUserData);
- mpImpl->CallListeners(aEvent);
+ mpImpl->CallListeners(aEvent);
}
@@ -367,7 +367,7 @@ void EventMultiplexer::Implementation::ReleaseListeners (void)
void EventMultiplexer::Implementation::AddEventListener (
- Link& rCallback,
+ Link& rCallback,
EventMultiplexerEvent::EventId aEventTypes)
{
ListenerList::iterator iListener (maListeners.begin());
@@ -437,7 +437,7 @@ void EventMultiplexer::Implementation::ConnectToController (void)
mbListeningToController = true;
}
- // Listen to changes of certain properties.
+ // Listen to changes of certain properties.
Reference<beans::XPropertySet> xSet (xController, UNO_QUERY);
if (xSet.is())
{
@@ -449,7 +449,7 @@ void EventMultiplexer::Implementation::ConnectToController (void)
{
OSL_TRACE("EventMultiplexer::ConnectToController: CurrentPage unknown");
}
-
+
try
{
xSet->addPropertyChangeListener(msEditModePropertyName, this);
@@ -459,7 +459,7 @@ void EventMultiplexer::Implementation::ConnectToController (void)
OSL_TRACE("EventMultiplexer::ConnectToController: IsMasterPageMode unknown");
}
}
-
+
// Listen for selection change events.
Reference<view::XSelectionSupplier> xSelection (xController, UNO_QUERY);
if (xSelection.is())
@@ -506,7 +506,7 @@ void EventMultiplexer::Implementation::DisconnectFromController (void)
OSL_TRACE ("DisconnectFromController: IsMasterPageMode unknown");
}
}
-
+
// Remove selection change listener.
Reference<view::XSelectionSupplier> xSelection (xController, UNO_QUERY);
if (xSelection.is())
@@ -601,7 +601,7 @@ void SAL_CALL EventMultiplexer::Implementation::frameAction (
ConnectToController();
CallListeners (EventMultiplexerEvent::EID_CONTROLLER_ATTACHED);
break;
-
+
case frame::FrameAction_COMPONENT_ATTACHED:
ConnectToController();
CallListeners (EventMultiplexerEvent::EID_CONTROLLER_ATTACHED);
@@ -663,7 +663,7 @@ void SAL_CALL EventMultiplexer::Implementation::notifyConfigurationChange (
}
}
break;
-
+
case ResourceDeactivationEvent:
if (rEvent.ResourceId->getResourceURL().match(FrameworkHelper::msViewURLPrefix))
{
@@ -696,7 +696,7 @@ void SAL_CALL EventMultiplexer::Implementation::notifyConfigurationChange (
CallListeners (EventMultiplexerEvent::EID_CONFIGURATION_UPDATED);
break;
}
-
+
}