summaryrefslogtreecommitdiff
path: root/svl/source/items/itemprop.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svl/source/items/itemprop.cxx')
-rw-r--r--svl/source/items/itemprop.cxx34
1 files changed, 17 insertions, 17 deletions
diff --git a/svl/source/items/itemprop.cxx b/svl/source/items/itemprop.cxx
index b79bdeac8eda..62bb703e687e 100644
--- a/svl/source/items/itemprop.cxx
+++ b/svl/source/items/itemprop.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
@@ -53,7 +53,7 @@ struct equalOUString
return r1.equals( r2 );
}
};
-
+
typedef ::std::hash_map< ::rtl::OUString,
SfxItemPropertySimpleEntry,
::rtl::OUStringHash,
@@ -61,7 +61,7 @@ typedef ::std::hash_map< ::rtl::OUString,
class SfxItemPropertyMap_Impl : public SfxItemPropertyHashMap_t
{
-public:
+public:
mutable uno::Sequence< beans::Property > m_aPropSeq;
SfxItemPropertyMap_Impl(){}
@@ -71,7 +71,7 @@ SfxItemPropertyMap_Impl::SfxItemPropertyMap_Impl( const SfxItemPropertyMap_Impl*
{
this->SfxItemPropertyHashMap_t::operator=( *pSource );
m_aPropSeq = pSource->m_aPropSeq;
-}
+}
/*-- 16.02.2009 10:03:51---------------------------------------------------
@@ -84,7 +84,7 @@ SfxItemPropertyMap::SfxItemPropertyMap( const SfxItemPropertyMapEntry* pEntries
::rtl::OUString sEntry(pEntries->pName, pEntries->nNameLen, RTL_TEXTENCODING_ASCII_US );
(*m_pImpl) [ sEntry ] = pEntries;
++pEntries;
- }
+ }
}
/*-- 16.02.2009 12:46:41---------------------------------------------------
@@ -140,14 +140,14 @@ uno::Sequence<beans::Property> SfxItemPropertyMap::getProperties() const
return m_pImpl->m_aPropSeq;
}
/*-- 16.02.2009 11:04:31---------------------------------------------------
-
+
-----------------------------------------------------------------------*/
-beans::Property SfxItemPropertyMap::getPropertyByName( const ::rtl::OUString rName ) const
+beans::Property SfxItemPropertyMap::getPropertyByName( const ::rtl::OUString rName ) const
throw( beans::UnknownPropertyException )
{
SfxItemPropertyHashMap_t::const_iterator aIter = m_pImpl->find(rName);
if( aIter == m_pImpl->end() )
- throw UnknownPropertyException();
+ throw UnknownPropertyException();
const SfxItemPropertySimpleEntry* pEntry = &aIter->second;
beans::Property aProp;
aProp.Name = rName;
@@ -160,7 +160,7 @@ beans::Property SfxItemPropertyMap::getPropertyByName( const ::rtl::OUString rNa
/*-- 16.02.2009 11:09:16---------------------------------------------------
-----------------------------------------------------------------------*/
-sal_Bool SfxItemPropertyMap::hasPropertyByName( const ::rtl::OUString& rName ) const
+sal_Bool SfxItemPropertyMap::hasPropertyByName( const ::rtl::OUString& rName ) const
{
SfxItemPropertyHashMap_t::const_iterator aIter = m_pImpl->find(rName);
return aIter != m_pImpl->end();
@@ -189,7 +189,7 @@ PropertyEntryVector_t SfxItemPropertyMap::getPropertyEntries() const
{
PropertyEntryVector_t aRet;
aRet.reserve(m_pImpl->size());
-
+
SfxItemPropertyHashMap_t::const_iterator aIt = m_pImpl->begin();
while( aIt != m_pImpl->end() )
{
@@ -198,14 +198,14 @@ PropertyEntryVector_t SfxItemPropertyMap::getPropertyEntries() const
++aIt;
}
return aRet;
-}
+}
/*-- 18.02.2009 15:11:06---------------------------------------------------
-----------------------------------------------------------------------*/
sal_uInt32 SfxItemPropertyMap::getSize() const
{
return m_pImpl->size();
-}
+}
/*-- 16.02.2009 13:44:54---------------------------------------------------
-----------------------------------------------------------------------*/
@@ -264,7 +264,7 @@ void SfxItemPropertySet::getPropertyValue( const rtl::OUString &rName,
const SfxItemSet& rSet, Any& rAny ) const
throw(RuntimeException, UnknownPropertyException)
{
- // detect which-id
+ // detect which-id
const SfxItemPropertySimpleEntry* pEntry = m_aMap.getByName( rName );
if ( !pEntry )
throw UnknownPropertyException();
@@ -317,7 +317,7 @@ void SfxItemPropertySet::setPropertyValue( const SfxItemPropertySimpleEntry& rEn
DELETEZ(pNewItem);
throw IllegalArgumentException();
}
- // apply new item
+ // apply new item
rSet.Put( *pNewItem, rEntry.nWID );
delete pNewItem;
}
@@ -359,7 +359,7 @@ PropertyState SfxItemPropertySet::getPropertyState(const SfxItemPropertySimpleEn
}
PropertyState SfxItemPropertySet::getPropertyState(
const rtl::OUString& rName, const SfxItemSet& rSet) const
- throw(UnknownPropertyException)
+ throw(UnknownPropertyException)
{
PropertyState eRet = PropertyState_DIRECT_VALUE;
@@ -428,7 +428,7 @@ Sequence< Property > SAL_CALL
/*-- 16.02.2009 13:49:27---------------------------------------------------
-----------------------------------------------------------------------*/
-const SfxItemPropertyMap* SfxItemPropertySetInfo::getMap() const
+const SfxItemPropertyMap* SfxItemPropertySetInfo::getMap() const
{
return m_pImpl->m_pOwnMap;
}
@@ -468,7 +468,7 @@ SfxExtItemPropertySetInfo::SfxExtItemPropertySetInfo(
aExtMap( pMap )
{
aExtMap.mergeProperties( rPropSeq );
-}
+}
/*-- 16.02.2009 12:06:49---------------------------------------------------
-----------------------------------------------------------------------*/