summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorAlexander O. Anisimov <alenyashka@gmail.com>2010-11-12 12:47:59 +0500
committerDavid Tardon <dtardon@redhat.com>2010-11-12 09:16:46 +0100
commit3236836c57070e3ca72e23dd342de56c32417618 (patch)
tree9670a00bd5611deb52368dbdd88f0bc18eecf5bf /svl
parent65a16b2142800c642446d70038532435fe7a88c5 (diff)
Remove bogus comments
Diffstat (limited to 'svl')
-rw-r--r--svl/inc/svl/itemprop.hxx11
-rw-r--r--svl/source/config/asiancfg.cxx24
-rw-r--r--svl/source/config/cjkoptions.cxx22
-rw-r--r--svl/source/config/languageoptions.cxx19
-rw-r--r--svl/source/config/srchcfg.cxx22
-rw-r--r--svl/source/items/itemprop.cxx70
6 files changed, 2 insertions, 166 deletions
diff --git a/svl/inc/svl/itemprop.hxx b/svl/inc/svl/itemprop.hxx
index e494277c3824..46dce586bb94 100644
--- a/svl/inc/svl/itemprop.hxx
+++ b/svl/inc/svl/itemprop.hxx
@@ -37,9 +37,8 @@
#include <com/sun/star/beans/PropertyState.hpp>
#include <com/sun/star/lang/IllegalArgumentException.hpp>
#include <vector>
-/* -----------------------------21.02.00 11:03--------------------------------
- UNO III - Implementation
- ---------------------------------------------------------------------------*/
+
+// UNO III - Implementation
#define MAP_CHAR_LEN(cchar) cchar, sizeof(cchar) - 1
struct SfxItemPropertyMapEntry
@@ -109,9 +108,7 @@ public:
sal_uInt32 getSize() const;
};
-/* -----------------------------21.02.00 11:19--------------------------------
- ---------------------------------------------------------------------------*/
class SVL_DLLPUBLIC SfxItemPropertySet
{
SfxItemPropertyMap m_aMap;
@@ -163,9 +160,7 @@ public:
getPropertyMap() const {return &m_aMap;}
};
-/* -----------------------------21.02.00 11:09--------------------------------
- ---------------------------------------------------------------------------*/
struct SfxItemPropertySetInfo_Impl;
class SVL_DLLPUBLIC SfxItemPropertySetInfo : public
cppu::WeakImplHelper1<com::sun::star::beans::XPropertySetInfo>
@@ -192,9 +187,7 @@ public:
const SfxItemPropertyMap* getMap() const;
};
-/* -----------------------------21.02.00 12:01--------------------------------
- ---------------------------------------------------------------------------*/
class SVL_DLLPUBLIC SfxExtItemPropertySetInfo: public cppu::WeakImplHelper1<com::sun::star::beans::XPropertySetInfo >
{
SfxItemPropertyMap aExtMap;
diff --git a/svl/source/config/asiancfg.cxx b/svl/source/config/asiancfg.cxx
index 000be6d1ff68..dcc0819790a2 100644
--- a/svl/source/config/asiancfg.cxx
+++ b/svl/source/config/asiancfg.cxx
@@ -73,9 +73,7 @@ struct SvxAsianConfig_Impl
bKerningWesternTextOnly(sal_True),
nCharDistanceCompression(0) {}
};
-/* -----------------------------16.01.01 15:36--------------------------------
- ---------------------------------------------------------------------------*/
Sequence<OUString> lcl_GetPropertyNames()
{
Sequence<OUString> aNames(2);
@@ -93,16 +91,12 @@ SvxAsianConfig::SvxAsianConfig(sal_Bool bEnableNotify) :
EnableNotification(lcl_GetPropertyNames());
Load();
}
-/* -----------------------------16.01.01 15:36--------------------------------
- ---------------------------------------------------------------------------*/
SvxAsianConfig::~SvxAsianConfig()
{
delete pImpl;
}
-/* -----------------------------17.01.01 09:57--------------------------------
- ---------------------------------------------------------------------------*/
void SvxAsianConfig::Load()
{
Sequence<Any> aValues = GetProperties(lcl_GetPropertyNames());
@@ -144,16 +138,12 @@ void SvxAsianConfig::Load()
pImpl->aForbiddenArr.Insert(pInsert, pImpl->aForbiddenArr.Count());
}
}
-/* -----------------------------17.01.01 09:57--------------------------------
- ---------------------------------------------------------------------------*/
void SvxAsianConfig::Notify( const Sequence<OUString>& )
{
Load();
}
-/* -----------------------------16.01.01 15:36--------------------------------
- ---------------------------------------------------------------------------*/
void SvxAsianConfig::Commit()
{
Sequence<Any> aValues(2);
@@ -190,40 +180,30 @@ void SvxAsianConfig::Commit()
ReplaceSetProperties(sNode, aSetValues);
}
}
-/* -----------------------------16.01.01 15:36--------------------------------
- ---------------------------------------------------------------------------*/
sal_Bool SvxAsianConfig::IsKerningWesternTextOnly() const
{
return pImpl->bKerningWesternTextOnly;
}
-/* -----------------------------16.01.01 15:36--------------------------------
- ---------------------------------------------------------------------------*/
void SvxAsianConfig::SetKerningWesternTextOnly(sal_Bool bSet)
{
pImpl->bKerningWesternTextOnly = bSet;
SetModified();
}
-/* -----------------------------16.01.01 15:36--------------------------------
- ---------------------------------------------------------------------------*/
sal_Int16 SvxAsianConfig::GetCharDistanceCompression() const
{
return pImpl->nCharDistanceCompression;
}
-/* -----------------------------16.01.01 15:36--------------------------------
- ---------------------------------------------------------------------------*/
void SvxAsianConfig::SetCharDistanceCompression(sal_Int16 nSet)
{
DBG_ASSERT(nSet >= 0 && nSet < 3, "compression value illegal");
SetModified();
pImpl->nCharDistanceCompression = nSet;
}
-/* -----------------------------16.01.01 15:36--------------------------------
- ---------------------------------------------------------------------------*/
uno::Sequence<lang::Locale> SvxAsianConfig::GetStartEndCharLocales()
{
Sequence<Locale> aRet(pImpl->aForbiddenArr.Count());
@@ -234,9 +214,7 @@ uno::Sequence<lang::Locale> SvxAsianConfig::GetStartEndCharLocales()
}
return aRet;
}
-/* -----------------------------16.01.01 15:36--------------------------------
- ---------------------------------------------------------------------------*/
sal_Bool SvxAsianConfig::GetStartEndChars( const Locale& rLocale,
OUString& rStartChars,
OUString& rEndChars )
@@ -253,9 +231,7 @@ sal_Bool SvxAsianConfig::GetStartEndChars( const Locale& rLocale,
}
return sal_False;
}
-/* -----------------------------16.01.01 15:36--------------------------------
- ---------------------------------------------------------------------------*/
void SvxAsianConfig::SetStartEndChars( const Locale& rLocale,
const OUString* pStartChars,
const OUString* pEndChars )
diff --git a/svl/source/config/cjkoptions.cxx b/svl/source/config/cjkoptions.cxx
index 83dfb705c648..97727b16e2d3 100644
--- a/svl/source/config/cjkoptions.cxx
+++ b/svl/source/config/cjkoptions.cxx
@@ -47,9 +47,7 @@ using namespace ::rtl;
#define C2U(cChar) OUString::createFromAscii(cChar)
#define CFG_READONLY_DEFAULT sal_False
-/* -----------------------------10.04.01 12:39--------------------------------
- ---------------------------------------------------------------------------*/
class SvtCJKOptions_Impl : public utl::ConfigItem
{
sal_Bool bIsLoaded;
@@ -99,9 +97,7 @@ public:
void SetAll(sal_Bool bSet);
sal_Bool IsReadOnly(SvtCJKOptions::EOption eOption) const;
};
-/*-- 10.04.01 12:41:57---------------------------------------------------
- -----------------------------------------------------------------------*/
namespace
{
struct PropertyNames
@@ -131,15 +127,11 @@ SvtCJKOptions_Impl::SvtCJKOptions_Impl() :
bROVerticalCallOut(CFG_READONLY_DEFAULT)
{
}
-/*-- 10.04.01 12:41:57---------------------------------------------------
- -----------------------------------------------------------------------*/
SvtCJKOptions_Impl::~SvtCJKOptions_Impl()
{
}
-/* -----------------------------20.04.01 14:34--------------------------------
- ---------------------------------------------------------------------------*/
void SvtCJKOptions_Impl::SetAll(sal_Bool bSet)
{
if (
@@ -169,9 +161,7 @@ void SvtCJKOptions_Impl::SetAll(sal_Bool bSet)
NotifyListeners(0);
}
}
-/*-- 10.04.01 12:41:56---------------------------------------------------
- -----------------------------------------------------------------------*/
void SvtCJKOptions_Impl::Load()
{
Sequence<OUString> &rPropertyNames = PropertyNames::get();
@@ -233,17 +223,13 @@ void SvtCJKOptions_Impl::Load()
}
bIsLoaded = sal_True;
}
-/*-- 10.04.01 12:41:57---------------------------------------------------
- -----------------------------------------------------------------------*/
void SvtCJKOptions_Impl::Notify( const Sequence< OUString >& )
{
Load();
NotifyListeners(0);
}
-/*-- 10.04.01 12:41:57---------------------------------------------------
- -----------------------------------------------------------------------*/
void SvtCJKOptions_Impl::Commit()
{
Sequence<OUString> &rPropertyNames = PropertyNames::get();
@@ -366,9 +352,7 @@ void SvtCJKOptions_Impl::Commit()
aValues.realloc(nRealCount);
PutProperties(aNames, aValues);
}
-/*-- 13.02.2003 12:12---------------------------------------------------
- -----------------------------------------------------------------------*/
sal_Bool SvtCJKOptions_Impl::IsReadOnly(SvtCJKOptions::EOption eOption) const
{
sal_Bool bReadOnly = CFG_READONLY_DEFAULT;
@@ -478,25 +462,19 @@ sal_Bool SvtCJKOptions::IsVerticalCallOutEnabled() const
DBG_ASSERT(pCJKOptions->IsLoaded(), "CJK options not loaded");
return pCJKOptions->IsVerticalCallOutEnabled();
}
-/*-- 20.04.01 14:32:04---------------------------------------------------
- -----------------------------------------------------------------------*/
void SvtCJKOptions::SetAll(sal_Bool bSet)
{
DBG_ASSERT(pCJKOptions->IsLoaded(), "CJK options not loaded");
pCJKOptions->SetAll(bSet);
}
-/*-- 20.04.01 14:32:06---------------------------------------------------
- -----------------------------------------------------------------------*/
sal_Bool SvtCJKOptions::IsAnyEnabled() const
{
DBG_ASSERT(pCJKOptions->IsLoaded(), "CJK options not loaded");
return pCJKOptions->IsAnyEnabled();
}
-/*-- 13.02.2003 12:11---------------------------------------------------
- -----------------------------------------------------------------------*/
sal_Bool SvtCJKOptions::IsReadOnly(EOption eOption) const
{
DBG_ASSERT(pCJKOptions->IsLoaded(), "CJK options not loaded");
diff --git a/svl/source/config/languageoptions.cxx b/svl/source/config/languageoptions.cxx
index 5d9cb63c6fef..9a84199e366e 100644
--- a/svl/source/config/languageoptions.cxx
+++ b/svl/source/config/languageoptions.cxx
@@ -147,30 +147,22 @@ sal_Bool SvtLanguageOptions::IsCTLSequenceChecking() const
{
return m_pCTLOptions->IsCTLSequenceChecking();
}
-/*-- 26.09.2005 15:48:23---------------------------------------------------
- -----------------------------------------------------------------------*/
void SvtLanguageOptions::SetCTLSequenceCheckingRestricted( sal_Bool _bEnable )
{
m_pCTLOptions->SetCTLSequenceCheckingRestricted( _bEnable );
}
-/*-- 26.09.2005 15:48:23---------------------------------------------------
- -----------------------------------------------------------------------*/
sal_Bool SvtLanguageOptions::IsCTLSequenceCheckingRestricted( void ) const
{
return m_pCTLOptions->IsCTLSequenceCheckingRestricted();
}
-/*-- 26.09.2005 15:48:23---------------------------------------------------
- -----------------------------------------------------------------------*/
void SvtLanguageOptions::SetCTLSequenceCheckingTypeAndReplace( sal_Bool _bEnable )
{
m_pCTLOptions->SetCTLSequenceCheckingTypeAndReplace( _bEnable );
}
-/*-- 26.09.2005 15:48:24---------------------------------------------------
- -----------------------------------------------------------------------*/
sal_Bool SvtLanguageOptions::IsCTLSequenceCheckingTypeAndReplace() const
{
return m_pCTLOptions->IsCTLSequenceCheckingTypeAndReplace();
@@ -201,7 +193,6 @@ sal_Bool SvtLanguageOptions::IsReadOnly(SvtLanguageOptions::EOption eOption) con
}
return bReadOnly;
}
-/* -----------------30.04.2003 11:03-----------------*/
// returns for a language the scripttype
sal_uInt16 SvtLanguageOptions::GetScriptTypeOfLanguage( sal_uInt16 nLang )
@@ -228,10 +219,6 @@ sal_uInt16 SvtLanguageOptions::GetScriptTypeOfLanguage( sal_uInt16 nLang )
}
// -----------------------------------------------------------------------------
-
-/*-- 27.10.2005 08:18:01---------------------------------------------------
-
- -----------------------------------------------------------------------*/
SvtSystemLanguageOptions::SvtSystemLanguageOptions() :
utl::ConfigItem( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("System/L10N") ))
{
@@ -245,15 +232,11 @@ SvtSystemLanguageOptions::SvtSystemLanguageOptions() :
aValues[0]>>= m_sWin16SystemLocale;
}
}
-/*-- 27.10.2005 08:18:01---------------------------------------------------
- -----------------------------------------------------------------------*/
SvtSystemLanguageOptions::~SvtSystemLanguageOptions()
{
}
-/*-- 27.10.2005 08:18:02---------------------------------------------------
- -----------------------------------------------------------------------*/
void SvtSystemLanguageOptions::Commit()
{
//does nothing
@@ -264,9 +247,7 @@ void SvtSystemLanguageOptions::Notify( const com::sun::star::uno::Sequence< r
// no listeners supported yet
}
-/*-- 27.10.2005 08:36:14---------------------------------------------------
- -----------------------------------------------------------------------*/
LanguageType SvtSystemLanguageOptions::GetWin16SystemLanguage()
{
if( m_sWin16SystemLocale.getLength() == 0 )
diff --git a/svl/source/config/srchcfg.cxx b/svl/source/config/srchcfg.cxx
index 533f83cae1c6..963c320cc357 100644
--- a/svl/source/config/srchcfg.cxx
+++ b/svl/source/config/srchcfg.cxx
@@ -55,9 +55,7 @@ struct SvxSearchConfig_Impl
{
SvxSearchEngineArr aEngineArr;
};
-/* -----------------------------19.03.01 14:00--------------------------------
- ---------------------------------------------------------------------------*/
sal_Bool SvxSearchEngineData::operator==(const SvxSearchEngineData& rData)
{
return sEngineName == rData.sEngineName &&
@@ -74,9 +72,7 @@ sal_Bool SvxSearchEngineData::operator==(const SvxSearchEngineData& rData)
sExactSeparator == rData.sExactSeparator &&
nExactCaseMatch == rData.nExactCaseMatch;
}
-/* -----------------------------16.01.01 15:36--------------------------------
- ---------------------------------------------------------------------------*/
const Sequence<OUString>& lcl_GetSearchPropertyNames_Impl()
{
static Sequence<OUString> aNames;
@@ -112,16 +108,12 @@ SvxSearchConfig::SvxSearchConfig(sal_Bool bEnableNotify) :
}
Load();
}
-/* -----------------------------16.01.01 15:36--------------------------------
- ---------------------------------------------------------------------------*/
SvxSearchConfig::~SvxSearchConfig()
{
delete pImpl;
}
-/* -----------------------------17.01.01 09:57--------------------------------
- ---------------------------------------------------------------------------*/
void SvxSearchConfig::Load()
{
pImpl->aEngineArr.DeleteAndDestroy(0, pImpl->aEngineArr.Count());
@@ -168,16 +160,12 @@ void SvxSearchConfig::Load()
pImpl->aEngineArr.Insert(pNew, pImpl->aEngineArr.Count());
}
}
-/* -----------------------------17.01.01 09:57--------------------------------
- ---------------------------------------------------------------------------*/
void SvxSearchConfig::Notify( const Sequence<OUString>& )
{
Load();
}
-/* -----------------------------16.01.01 15:36--------------------------------
- ---------------------------------------------------------------------------*/
void SvxSearchConfig::Commit()
{
OUString sNode;
@@ -224,24 +212,18 @@ void SvxSearchConfig::Commit()
ReplaceSetProperties(sNode, aSetValues);
}
}
-/* -----------------------------19.03.01 10:02--------------------------------
- ---------------------------------------------------------------------------*/
sal_uInt16 SvxSearchConfig::Count()
{
return pImpl->aEngineArr.Count();
}
-/* -----------------------------19.03.01 10:02--------------------------------
- ---------------------------------------------------------------------------*/
const SvxSearchEngineData& SvxSearchConfig::GetData(sal_uInt16 nPos)
{
DBG_ASSERT(nPos < pImpl->aEngineArr.Count(), "wrong array index");
return *pImpl->aEngineArr[nPos];
}
-/* -----------------------------19.03.01 10:38--------------------------------
- ---------------------------------------------------------------------------*/
const SvxSearchEngineData* SvxSearchConfig::GetData(const rtl::OUString& rEngineName)
{
for(sal_uInt16 nPos = 0; nPos < pImpl->aEngineArr.Count(); nPos++)
@@ -251,9 +233,7 @@ const SvxSearchEngineData* SvxSearchConfig::GetData(const rtl::OUString& rEngin
}
return 0;
}
-/* -----------------------------19.03.01 10:02--------------------------------
- ---------------------------------------------------------------------------*/
void SvxSearchConfig::SetData(const SvxSearchEngineData& rData)
{
for(sal_uInt16 nPos = 0; nPos < pImpl->aEngineArr.Count(); nPos++)
@@ -270,9 +250,7 @@ void SvxSearchConfig::SetData(const SvxSearchEngineData& rData)
pImpl->aEngineArr.Insert(pInsert, pImpl->aEngineArr.Count());
SetModified();
}
-/* -----------------------------19.03.01 10:38--------------------------------
- ---------------------------------------------------------------------------*/
void SvxSearchConfig::RemoveData(const rtl::OUString& rEngineName)
{
for(sal_uInt16 nPos = 0; nPos < pImpl->aEngineArr.Count(); nPos++)
diff --git a/svl/source/items/itemprop.cxx b/svl/source/items/itemprop.cxx
index b79bdeac8eda..bc0a52d73843 100644
--- a/svl/source/items/itemprop.cxx
+++ b/svl/source/items/itemprop.cxx
@@ -42,10 +42,6 @@ using namespace com::sun::star::beans;
using namespace com::sun::star::lang;
using namespace com::sun::star::uno;
-/*-- 16.02.2009 10:03:55---------------------------------------------------
-
- -----------------------------------------------------------------------*/
-
struct equalOUString
{
bool operator()(const ::rtl::OUString& r1, const ::rtl::OUString& r2) const
@@ -73,9 +69,6 @@ SfxItemPropertyMap_Impl::SfxItemPropertyMap_Impl( const SfxItemPropertyMap_Impl*
m_aPropSeq = pSource->m_aPropSeq;
}
-/*-- 16.02.2009 10:03:51---------------------------------------------------
-
- -----------------------------------------------------------------------*/
SfxItemPropertyMap::SfxItemPropertyMap( const SfxItemPropertyMapEntry* pEntries ) :
m_pImpl( new SfxItemPropertyMap_Impl )
{
@@ -86,23 +79,17 @@ SfxItemPropertyMap::SfxItemPropertyMap( const SfxItemPropertyMapEntry* pEntries
++pEntries;
}
}
-/*-- 16.02.2009 12:46:41---------------------------------------------------
- -----------------------------------------------------------------------*/
SfxItemPropertyMap::SfxItemPropertyMap( const SfxItemPropertyMap* pSource ) :
m_pImpl( new SfxItemPropertyMap_Impl( pSource->m_pImpl ) )
{
}
-/*-- 16.02.2009 10:03:51---------------------------------------------------
- -----------------------------------------------------------------------*/
SfxItemPropertyMap::~SfxItemPropertyMap()
{
delete m_pImpl;
}
-/*-- 16.02.2009 10:03:51---------------------------------------------------
- -----------------------------------------------------------------------*/
const SfxItemPropertySimpleEntry* SfxItemPropertyMap::getByName( const ::rtl::OUString &rName ) const
{
SfxItemPropertyHashMap_t::const_iterator aIter = m_pImpl->find(rName);
@@ -111,9 +98,6 @@ const SfxItemPropertySimpleEntry* SfxItemPropertyMap::getByName( const ::rtl::OU
return &aIter->second;
}
-/*-- 16.02.2009 10:44:24---------------------------------------------------
-
- -----------------------------------------------------------------------*/
uno::Sequence<beans::Property> SfxItemPropertyMap::getProperties() const
{
if( !m_pImpl->m_aPropSeq.getLength() )
@@ -139,9 +123,7 @@ 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
throw( beans::UnknownPropertyException )
{
@@ -157,17 +139,13 @@ beans::Property SfxItemPropertyMap::getPropertyByName( const ::rtl::OUString rNa
aProp.Attributes = sal::static_int_cast< sal_Int16 >(pEntry->nFlags);
return aProp;
}
-/*-- 16.02.2009 11:09:16---------------------------------------------------
- -----------------------------------------------------------------------*/
sal_Bool SfxItemPropertyMap::hasPropertyByName( const ::rtl::OUString& rName ) const
{
SfxItemPropertyHashMap_t::const_iterator aIter = m_pImpl->find(rName);
return aIter != m_pImpl->end();
}
-/*-- 16.02.2009 11:25:14---------------------------------------------------
- -----------------------------------------------------------------------*/
void SfxItemPropertyMap::mergeProperties( const uno::Sequence< beans::Property >& rPropSeq )
{
const beans::Property* pPropArray = rPropSeq.getConstArray();
@@ -182,9 +160,7 @@ void SfxItemPropertyMap::mergeProperties( const uno::Sequence< beans::Property >
(*m_pImpl)[pPropArray[nElement].Name] = aTemp;
}
}
-/*-- 18.02.2009 12:04:42---------------------------------------------------
- -----------------------------------------------------------------------*/
PropertyEntryVector_t SfxItemPropertyMap::getPropertyEntries() const
{
PropertyEntryVector_t aRet;
@@ -199,29 +175,21 @@ PropertyEntryVector_t SfxItemPropertyMap::getPropertyEntries() const
}
return aRet;
}
-/*-- 18.02.2009 15:11:06---------------------------------------------------
- -----------------------------------------------------------------------*/
sal_uInt32 SfxItemPropertyMap::getSize() const
{
return m_pImpl->size();
}
-/*-- 16.02.2009 13:44:54---------------------------------------------------
- -----------------------------------------------------------------------*/
SfxItemPropertySet::~SfxItemPropertySet()
{
}
-/* -----------------------------21.02.00 11:26--------------------------------
- ---------------------------------------------------------------------------*/
BOOL SfxItemPropertySet::FillItem(SfxItemSet&, USHORT, BOOL) const
{
return FALSE;
}
-/* -----------------------------06.06.01 12:32--------------------------------
- ---------------------------------------------------------------------------*/
void SfxItemPropertySet::getPropertyValue( const SfxItemPropertySimpleEntry& rEntry,
const SfxItemSet& rSet, Any& rAny ) const
throw(RuntimeException)
@@ -257,9 +225,7 @@ void SfxItemPropertySet::getPropertyValue( const SfxItemPropertySimpleEntry& rEn
rAny.setValue( &nTmp, *rEntry.pType );
}
}
-/* -----------------------------06.06.01 12:32--------------------------------
- ---------------------------------------------------------------------------*/
void SfxItemPropertySet::getPropertyValue( const rtl::OUString &rName,
const SfxItemSet& rSet, Any& rAny ) const
throw(RuntimeException, UnknownPropertyException)
@@ -270,9 +236,7 @@ void SfxItemPropertySet::getPropertyValue( const rtl::OUString &rName,
throw UnknownPropertyException();
getPropertyValue( *pEntry,rSet, rAny );
}
-/* -----------------------------21.02.00 11:26--------------------------------
- ---------------------------------------------------------------------------*/
Any SfxItemPropertySet::getPropertyValue( const rtl::OUString &rName,
const SfxItemSet& rSet ) const
throw(RuntimeException, UnknownPropertyException)
@@ -281,9 +245,7 @@ Any SfxItemPropertySet::getPropertyValue( const rtl::OUString &rName,
getPropertyValue( rName,rSet, aVal );
return aVal;
}
-/* -----------------------------15.11.00 14:46--------------------------------
- ---------------------------------------------------------------------------*/
void SfxItemPropertySet::setPropertyValue( const SfxItemPropertySimpleEntry& rEntry,
const Any& aVal,
SfxItemSet& rSet ) const
@@ -322,9 +284,7 @@ void SfxItemPropertySet::setPropertyValue( const SfxItemPropertySimpleEntry& rEn
delete pNewItem;
}
}
-/* -----------------------------21.02.00 11:26--------------------------------
- ---------------------------------------------------------------------------*/
void SfxItemPropertySet::setPropertyValue( const rtl::OUString &rName,
const Any& aVal,
SfxItemSet& rSet ) const
@@ -339,9 +299,7 @@ void SfxItemPropertySet::setPropertyValue( const rtl::OUString &rName,
}
setPropertyValue(*pEntry, aVal, rSet);
}
-/* -----------------------------21.02.00 11:26--------------------------------
- ---------------------------------------------------------------------------*/
PropertyState SfxItemPropertySet::getPropertyState(const SfxItemPropertySimpleEntry& rEntry, const SfxItemSet& rSet) const
throw()
{
@@ -383,9 +341,7 @@ PropertyState SfxItemPropertySet::getPropertyState(
eRet = PropertyState_AMBIGUOUS_VALUE;
return eRet;
}
-/* -----------------------------21.02.00 11:26--------------------------------
- ---------------------------------------------------------------------------*/
Reference<XPropertySetInfo>
SfxItemPropertySet::getPropertySetInfo() const
{
@@ -393,75 +349,57 @@ Reference<XPropertySetInfo>
m_xInfo = new SfxItemPropertySetInfo( &m_aMap );
return m_xInfo;
}
-/*-- 16.02.2009 13:49:25---------------------------------------------------
- -----------------------------------------------------------------------*/
struct SfxItemPropertySetInfo_Impl
{
SfxItemPropertyMap* m_pOwnMap;
};
-/*-- 16.02.2009 13:49:24---------------------------------------------------
- -----------------------------------------------------------------------*/
SfxItemPropertySetInfo::SfxItemPropertySetInfo(const SfxItemPropertyMap *pMap ) :
m_pImpl( new SfxItemPropertySetInfo_Impl )
{
m_pImpl->m_pOwnMap = new SfxItemPropertyMap( pMap );
}
-/*-- 16.02.2009 13:49:25---------------------------------------------------
- -----------------------------------------------------------------------*/
SfxItemPropertySetInfo::SfxItemPropertySetInfo(const SfxItemPropertyMapEntry *pEntries ) :
m_pImpl( new SfxItemPropertySetInfo_Impl )
{
m_pImpl->m_pOwnMap = new SfxItemPropertyMap( pEntries );
}
-/* -----------------------------21.02.00 11:09--------------------------------
- ---------------------------------------------------------------------------*/
Sequence< Property > SAL_CALL
SfxItemPropertySetInfo::getProperties( )
throw(RuntimeException)
{
return m_pImpl->m_pOwnMap->getProperties();
}
-/*-- 16.02.2009 13:49:27---------------------------------------------------
- -----------------------------------------------------------------------*/
const SfxItemPropertyMap* SfxItemPropertySetInfo::getMap() const
{
return m_pImpl->m_pOwnMap;
}
-/*-- 16.02.2009 12:43:36---------------------------------------------------
- -----------------------------------------------------------------------*/
SfxItemPropertySetInfo::~SfxItemPropertySetInfo()
{
delete m_pImpl->m_pOwnMap;
delete m_pImpl;
}
-/* -----------------------------21.02.00 11:27--------------------------------
- ---------------------------------------------------------------------------*/
Property SAL_CALL
SfxItemPropertySetInfo::getPropertyByName( const ::rtl::OUString& rName )
throw(UnknownPropertyException, RuntimeException)
{
return m_pImpl->m_pOwnMap->getPropertyByName( rName );
}
-/* -----------------------------21.02.00 11:28--------------------------------
- ---------------------------------------------------------------------------*/
sal_Bool SAL_CALL
SfxItemPropertySetInfo::hasPropertyByName( const ::rtl::OUString& rName )
throw(RuntimeException)
{
return m_pImpl->m_pOwnMap->hasPropertyByName( rName );
}
-/* -----------------------------21.02.00 12:03--------------------------------
- ---------------------------------------------------------------------------*/
SfxExtItemPropertySetInfo::SfxExtItemPropertySetInfo(
const SfxItemPropertyMapEntry *pMap,
const Sequence<Property>& rPropSeq ) :
@@ -469,32 +407,24 @@ SfxExtItemPropertySetInfo::SfxExtItemPropertySetInfo(
{
aExtMap.mergeProperties( rPropSeq );
}
-/*-- 16.02.2009 12:06:49---------------------------------------------------
- -----------------------------------------------------------------------*/
SfxExtItemPropertySetInfo::~SfxExtItemPropertySetInfo()
{
}
-/* -----------------------------21.02.00 12:03--------------------------------
- ---------------------------------------------------------------------------*/
Sequence< Property > SAL_CALL
SfxExtItemPropertySetInfo::getProperties( ) throw(RuntimeException)
{
return aExtMap.getProperties();
}
-/* -----------------------------21.02.00 12:03--------------------------------
- ---------------------------------------------------------------------------*/
Property SAL_CALL
SfxExtItemPropertySetInfo::getPropertyByName( const rtl::OUString& rPropertyName )
throw(UnknownPropertyException, RuntimeException)
{
return aExtMap.getPropertyByName( rPropertyName );
}
-/* -----------------------------21.02.00 12:03--------------------------------
- ---------------------------------------------------------------------------*/
sal_Bool SAL_CALL
SfxExtItemPropertySetInfo::hasPropertyByName( const rtl::OUString& rPropertyName )
throw(RuntimeException)