summaryrefslogtreecommitdiff
path: root/sd/source/ui/framework/configuration/Configuration.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/framework/configuration/Configuration.cxx')
-rw-r--r--sd/source/ui/framework/configuration/Configuration.cxx22
1 files changed, 11 insertions, 11 deletions
diff --git a/sd/source/ui/framework/configuration/Configuration.cxx b/sd/source/ui/framework/configuration/Configuration.cxx
index 2637a9ac1413..2b4a6697f064 100644
--- a/sd/source/ui/framework/configuration/Configuration.cxx
+++ b/sd/source/ui/framework/configuration/Configuration.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
@@ -47,7 +47,7 @@ namespace {
for STL containers.
*/
class XResourceIdLess
- : public ::std::binary_function <Reference<XResourceId>, Reference<XResourceId>, bool>
+ : public ::std::binary_function <Reference<XResourceId>, Reference<XResourceId>, bool>
{
public:
bool operator () (const Reference<XResourceId>& rId1, const Reference<XResourceId>& rId2) const
@@ -119,7 +119,7 @@ Configuration::Configuration (
}
-
+
Configuration::Configuration (
const Reference<XConfigurationControllerBroadcaster>& rxBroadcaster,
bool bBroadcastRequestEvents,
@@ -137,7 +137,7 @@ Configuration::Configuration (
Configuration::~Configuration (void)
{
}
-
+
@@ -152,7 +152,7 @@ void SAL_CALL Configuration::disposing (void)
//----- XConfiguration --------------------------------------------------------
-
+
void SAL_CALL Configuration::addResource (const Reference<XResourceId>& rxResourceId)
throw (RuntimeException)
{
@@ -210,7 +210,7 @@ Sequence<Reference<XResourceId> > SAL_CALL Configuration::getResources (
ThrowIfDisposed();
bool bFilterResources (rsResourceURLPrefix.getLength() > 0);
-
+
// Collect the matching resources in a vector.
::std::vector<Reference<XResourceId> > aResources;
ResourceContainer::const_iterator iResource;
@@ -221,7 +221,7 @@ Sequence<Reference<XResourceId> > SAL_CALL Configuration::getResources (
if ( ! (*iResource)->isBoundTo(rxAnchorId,eMode))
continue;
-
+
if (bFilterResources)
{
// Apply the given resource prefix as filter.
@@ -247,7 +247,7 @@ Sequence<Reference<XResourceId> > SAL_CALL Configuration::getResources (
Sequence<Reference<XResourceId> > aResult (aResources.size());
for (sal_uInt32 nIndex=0; nIndex<aResources.size(); ++nIndex)
aResult[nIndex] = aResources[nIndex];
-
+
return aResult;
}
@@ -308,7 +308,7 @@ OUString SAL_CALL Configuration::getName (void)
aString += FrameworkHelper::ResourceIdToString(*iResource);
}
aString += OUString::createFromAscii("]");
-
+
return aString;
}
@@ -332,7 +332,7 @@ void Configuration::PostEvent (
const bool bActivation)
{
OSL_ASSERT(rxResourceId.is());
-
+
if (mxBroadcaster.is())
{
ConfigurationChangeEvent aEvent;
@@ -348,7 +348,7 @@ void Configuration::PostEvent (
else
aEvent.Type = FrameworkHelper::msResourceDeactivationEvent;
aEvent.Configuration = this;
-
+
mxBroadcaster->notifyEvent(aEvent);
}
}