Hi all,
patch is in attachment
.''`. With best regards,
: :' : Alexander Anisimov
`. `' JID alenyashka@gmail.com
`- Debian - when you have better things to do than fixing systems
From aac4f0f957fcdbc00f536dec97eb187b4fd5b8a4 Mon Sep 17 00:00:00 2001
From: Alexander O. Anisimov <alenyashka@gmail.com>
Date: Fri, 12 Nov 2010 12:47:59 +0500
Subject: [PATCH] Remove bogus comments
---
.../defaultnumberingprovider.cxx | 18 ----
svl/inc/svl/itemprop.hxx | 11 +--
svl/source/config/asiancfg.cxx | 24 ------
svl/source/config/cjkoptions.cxx | 22 -----
svl/source/config/languageoptions.cxx | 19 -----
svl/source/config/srchcfg.cxx | 22 -----
svl/source/items/itemprop.cxx | 72 +-----------------
svtools/inc/extcolorcfg.hxx | 6 --
svtools/inc/svtools/colorcfg.hxx | 6 --
svtools/source/config/apearcfg.cxx | 6 --
svtools/source/config/colorcfg.cxx | 69 +---------------
svtools/source/config/extcolorcfg.cxx | 79 ++-----------------
svtools/source/config/fontsubstconfig.cxx | 14 ----
svtools/source/config/htmlcfg.cxx | 33 +--------
svtools/source/config/miscopt.cxx | 3 -
svtools/source/contnr/svimpbox.cxx | 5 +-
svtools/source/contnr/templwin.cxx | 10 +--
svtools/source/control/ruler.cxx | 4 +-
svtools/source/edit/svmedit.cxx | 2 -
svtools/source/edit/textview.cxx | 3 -
svtools/source/edit/txtattr.cxx | 13 ---
tools/inc/tools/stream.hxx | 4 +-
unotools/inc/unotools/sourceviewconfig.hxx | 3 -
unotools/source/config/configitem.cxx | 82 +-------------------
unotools/source/config/configmgr.cxx | 38 ---------
unotools/source/config/extendedsecurityoptions.cxx | 4 -
unotools/source/config/fltrcfg.cxx | 27 -------
unotools/source/config/javaoptions.cxx | 34 --------
unotools/source/config/misccfg.cxx | 10 ---
unotools/source/config/sourceviewconfig.cxx | 29 -------
unotools/source/config/syslocaleoptions.cxx | 7 --
unotools/source/config/useroptions.cxx | 9 --
32 files changed, 24 insertions(+), 664 deletions(-)
diff --git a/i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx
b/i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx
index 91e098f..fe49cd2 100644
--- a/i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx
+++ b/i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx
@@ -646,9 +646,6 @@ DefaultNumberingProvider::makeNumberingString( const Sequence<beans::PropertyVal
return result;
}
-/* -----------------------------21.02.01 15:57--------------------------------
-
- ---------------------------------------------------------------------------*/
#define LANG_ALL (1 << 0)
#define LANG_CJK (1 << 1)
@@ -715,9 +712,6 @@ static const Supported_NumberingType aSupportedTypes[] =
{style::NumberingType::CHARS_PERSIAN, NULL, LANG_CTL},
};
static const sal_Int32 nSupported_NumberingTypes = sizeof(aSupportedTypes) /
sizeof(Supported_NumberingType);
-/* -----------------------------21.02.01 15:57--------------------------------
-
- ---------------------------------------------------------------------------*/
OUString DefaultNumberingProvider::makeNumberingIdentifier(sal_Int16 index)
throw(RuntimeException)
@@ -796,9 +790,7 @@ Sequence< sal_Int16 > DefaultNumberingProvider::getSupportedNumberingTypes( )
}
return aRet;
}
-/* -----------------------------21.02.01 15:57--------------------------------
- ---------------------------------------------------------------------------*/
sal_Int16 DefaultNumberingProvider::getNumberingType( const OUString& rNumberingIdentifier )
throw(RuntimeException)
{
@@ -807,9 +799,7 @@ sal_Int16 DefaultNumberingProvider::getNumberingType( const OUString& rNumbering
return aSupportedTypes[i].nType;
throw RuntimeException();
}
-/* -----------------------------21.02.01 15:57--------------------------------
- ---------------------------------------------------------------------------*/
sal_Bool DefaultNumberingProvider::hasNumberingType( const OUString& rNumberingIdentifier )
throw(RuntimeException)
{
@@ -818,9 +808,7 @@ sal_Bool DefaultNumberingProvider::hasNumberingType( const OUString& rNumberingI
return sal_True;
return sal_False;
}
-/* -----------------------------21.02.01 15:57--------------------------------
- ---------------------------------------------------------------------------*/
OUString DefaultNumberingProvider::getNumberingIdentifier( sal_Int16 nNumberingType )
throw(RuntimeException)
{
@@ -829,26 +817,20 @@ OUString DefaultNumberingProvider::getNumberingIdentifier( sal_Int16
nNumberingT
return makeNumberingIdentifier(i);
return OUString();
}
-/* -----------------------------05.07.01 13:34--------------------------------
- ---------------------------------------------------------------------------*/
const sal_Char cDefaultNumberingProvider[] = "com.sun.star.text.DefaultNumberingProvider";
OUString DefaultNumberingProvider::getImplementationName(void)
throw( RuntimeException )
{
return OUString::createFromAscii(cDefaultNumberingProvider);
}
-/* -----------------------------05.07.01 13:34--------------------------------
- ---------------------------------------------------------------------------*/
sal_Bool DefaultNumberingProvider::supportsService(const rtl::OUString& rServiceName)
throw( RuntimeException )
{
return rServiceName.equalsAscii(cDefaultNumberingProvider);
}
-/* -----------------------------05.07.01 13:34--------------------------------
- ---------------------------------------------------------------------------*/
Sequence< OUString > DefaultNumberingProvider::getSupportedServiceNames(void)
throw( RuntimeException )
{
diff --git a/svl/inc/svl/itemprop.hxx b/svl/inc/svl/itemprop.hxx
index 636fe4e..835f7bd 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 77eb62d..5e169bb 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 f20cb65..661bb23 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 e289ae8..5fc6265 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 3869721..69beb51 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 62bb703..47bcd9d 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)
diff --git a/svtools/inc/extcolorcfg.hxx b/svtools/inc/extcolorcfg.hxx
index 66a6945..c56879f 100644
--- a/svtools/inc/extcolorcfg.hxx
+++ b/svtools/inc/extcolorcfg.hxx
@@ -37,9 +37,7 @@
//-----------------------------------------------------------------------------
namespace svtools{
-/* -----------------------------22.03.2002 15:36------------------------------
- ---------------------------------------------------------------------------*/
class ExtendedColorConfig_Impl;
class ExtendedColorConfigValue
{
@@ -69,9 +67,7 @@ public:
sal_Bool operator !=(const ExtendedColorConfigValue& rCmp) const
{ return m_nColor != rCmp.m_nColor;}
};
-/* -----------------------------22.03.2002 15:36------------------------------
- ---------------------------------------------------------------------------*/
class SVT_DLLPUBLIC ExtendedColorConfig : public SfxBroadcaster, public SfxListener
{
friend class ExtendedColorConfig_Impl;
@@ -91,9 +87,7 @@ public:
sal_Int32 GetComponentColorCount(const
::rtl::OUString& _sName) const;
ExtendedColorConfigValue GetComponentColorConfigValue(const ::rtl::OUString&
_sComponentName,sal_uInt32 _nPos) const;
};
-/* -----------------------------22.03.2002 15:31------------------------------
- ---------------------------------------------------------------------------*/
class SVT_DLLPUBLIC EditableExtendedColorConfig
{
ExtendedColorConfig_Impl* m_pImpl;
diff --git a/svtools/inc/svtools/colorcfg.hxx b/svtools/inc/svtools/colorcfg.hxx
index 76b639b..6231685 100644
--- a/svtools/inc/svtools/colorcfg.hxx
+++ b/svtools/inc/svtools/colorcfg.hxx
@@ -89,9 +89,7 @@ enum ColorConfigEntry
SQLCOMMENT,
ColorConfigEntryCount
};
-/* -----------------------------22.03.2002 15:36------------------------------
- ---------------------------------------------------------------------------*/
class ColorConfig_Impl;
struct ColorConfigValue
{
@@ -102,9 +100,7 @@ struct ColorConfigValue
sal_Bool operator !=(const ColorConfigValue& rCmp) const
{ return nColor != rCmp.nColor || bIsVisible != rCmp.bIsVisible;}
};
-/* -----------------------------22.03.2002 15:36------------------------------
- ---------------------------------------------------------------------------*/
class SVT_DLLPUBLIC ColorConfig:
public utl::detail::Options
{
@@ -120,9 +116,7 @@ public:
ColorConfigValue GetColorValue(ColorConfigEntry eEntry, sal_Bool bSmart =
sal_True)const;
static Color GetDefaultColor(ColorConfigEntry eEntry);
};
-/* -----------------------------22.03.2002 15:31------------------------------
- ---------------------------------------------------------------------------*/
class SVT_DLLPUBLIC EditableColorConfig
{
ColorConfig_Impl* m_pImpl;
diff --git a/svtools/source/config/apearcfg.cxx b/svtools/source/config/apearcfg.cxx
index b30c676..303a681 100644
--- a/svtools/source/config/apearcfg.cxx
+++ b/svtools/source/config/apearcfg.cxx
@@ -101,15 +101,11 @@ SvtTabAppearanceCfg::SvtTabAppearanceCfg()
}
}
}
-/* -----------------------------22.05.01 11:53--------------------------------
- ---------------------------------------------------------------------------*/
SvtTabAppearanceCfg::~SvtTabAppearanceCfg( )
{
}
-/* -----------------------------22.05.01 11:54--------------------------------
- ---------------------------------------------------------------------------*/
const Sequence<OUString>& SvtTabAppearanceCfg::GetPropertyNames()
{
static Sequence<OUString> aNames;
@@ -140,9 +136,7 @@ const Sequence<OUString>& SvtTabAppearanceCfg::GetPropertyNames()
}
return aNames;
}
-/* -----------------------------22.05.01 11:54--------------------------------
- ---------------------------------------------------------------------------*/
void SvtTabAppearanceCfg::Commit()
{
const Sequence<OUString>& rNames = GetPropertyNames();
diff --git a/svtools/source/config/colorcfg.cxx b/svtools/source/config/colorcfg.cxx
index 4f833e8..defba52 100644
--- a/svtools/source/config/colorcfg.cxx
+++ b/svtools/source/config/colorcfg.cxx
@@ -72,8 +72,6 @@ namespace
ColorConfig_Impl* ColorConfig::m_pImpl = NULL;
-/* -----------------------------16.01.01 15:36--------------------------------
- ---------------------------------------------------------------------------*/
class ColorConfig_Impl : public utl::ConfigItem
{
ColorConfigValue m_aConfigValues[ColorConfigEntryCount];
@@ -114,9 +112,6 @@ public:
void ImplUpdateApplicationSettings();
};
-/* -----------------------------16.01.01 15:36--------------------------------
-
- ---------------------------------------------------------------------------*/
uno::Sequence< OUString> ColorConfig_Impl::GetPropertyNames(const rtl::OUString& rScheme)
{
uno::Sequence<OUString> aNames(2 * ColorConfigEntryCount);
@@ -199,9 +194,7 @@ uno::Sequence< OUString> ColorConfig_Impl::GetPropertyNames(const rtl::OUString&
aNames.realloc(nIndex);
return aNames;
}
-/* -----------------------------22.03.2002 14:37------------------------------
- ---------------------------------------------------------------------------*/
ColorConfig_Impl::ColorConfig_Impl(sal_Bool bEditMode) :
ConfigItem(C2U("Office.UI/ColorScheme")),
m_bEditMode(bEditMode),
@@ -221,17 +214,13 @@ ColorConfig_Impl::ColorConfig_Impl(sal_Bool bEditMode) :
::Application::AddEventListener( LINK(this, ColorConfig_Impl, DataChangedEventListener) );
}
-/* -----------------------------25.03.2002 12:28------------------------------
- ---------------------------------------------------------------------------*/
ColorConfig_Impl::~ColorConfig_Impl()
{
// #100822#
::Application::RemoveEventListener( LINK(this, ColorConfig_Impl, DataChangedEventListener) );
}
-/* -----------------------------22.03.2002 14:38------------------------------
- ---------------------------------------------------------------------------*/
void ColorConfig_Impl::Load(const rtl::OUString& rScheme)
{
rtl::OUString sScheme(rScheme);
@@ -264,18 +253,14 @@ void ColorConfig_Impl::Load(const rtl::OUString& rScheme)
m_aConfigValues[i / 2].bIsVisible = Any2Bool(pColors[nIndex++]);
}
}
-/* -----------------------------22.03.2002 14:38------------------------------
- ---------------------------------------------------------------------------*/
void ColorConfig_Impl::Notify( const uno::Sequence<OUString>& )
{
//loading via notification always uses the default setting
Load(::rtl::OUString());
NotifyListeners(0);
}
-/* -----------------------------22.03.2002 14:38------------------------------
- ---------------------------------------------------------------------------*/
void ColorConfig_Impl::Commit()
{
uno::Sequence < ::rtl::OUString > aColorNames = GetPropertyNames(m_sLoadedScheme);
@@ -307,9 +292,7 @@ void ColorConfig_Impl::Commit()
CommitCurrentSchemeName();
}
-/* -----------------11.12.2002 10:42-----------------
- *
- * --------------------------------------------------*/
+
void ColorConfig_Impl::CommitCurrentSchemeName()
{
//save current scheme name
@@ -319,9 +302,7 @@ void ColorConfig_Impl::CommitCurrentSchemeName()
aCurrentVal.getArray()[0] <<= m_sLoadedScheme;
PutProperties(aCurrent, aCurrentVal);
}
-/* -----------------------------25.03.2002 12:19------------------------------
- ---------------------------------------------------------------------------*/
void ColorConfig_Impl::SetColorConfigValue(ColorConfigEntry eValue, const ColorConfigValue& rValue
)
{
if(rValue != m_aConfigValues[eValue])
@@ -330,16 +311,12 @@ void ColorConfig_Impl::SetColorConfigValue(ColorConfigEntry eValue, const
ColorC
SetModified();
}
}
-/* -----------------------------25.03.2002 15:22------------------------------
- ---------------------------------------------------------------------------*/
uno::Sequence< ::rtl::OUString> ColorConfig_Impl::GetSchemeNames()
{
return GetNodeNames(C2U("ColorSchemes"));
}
-/* -----------------------------09.04.2002 17:19------------------------------
- ---------------------------------------------------------------------------*/
sal_Bool ColorConfig_Impl::AddScheme(const rtl::OUString& rScheme)
{
if(ConfigItem::AddNode(C2U("ColorSchemes"), rScheme))
@@ -350,18 +327,14 @@ sal_Bool ColorConfig_Impl::AddScheme(const rtl::OUString& rScheme)
}
return sal_False;
}
-/* -----------------------------09.04.2002 17:19------------------------------
- ---------------------------------------------------------------------------*/
sal_Bool ColorConfig_Impl::RemoveScheme(const rtl::OUString& rScheme)
{
uno::Sequence< rtl::OUString > aElements(1);
aElements.getArray()[0] = rScheme;
return ClearNodeElements(C2U("ColorSchemes"), aElements);
}
-/* -----------------------------2002/06/20 13:03------------------------------
- ---------------------------------------------------------------------------*/
void ColorConfig_Impl::SettingsChanged()
{
SolarMutexGuard aVclGuard;
@@ -370,9 +343,7 @@ void ColorConfig_Impl::SettingsChanged()
NotifyListeners(0);
}
-/* -----------------------------2002/08/16 12:07 -----------------------------
- #100822#
- --------------------------------------------------------------------------- */
+
IMPL_LINK( ColorConfig_Impl, DataChangedEventListener, VclWindowEvent*, pEvent )
{
if ( pEvent->GetId() == VCLEVENT_APPLICATION_DATACHANGED )
@@ -429,9 +400,7 @@ ColorConfig::ColorConfig()
++nColorRefCount_Impl;
m_pImpl->AddListener(this);
}
-/* -----------------------------16.01.01 15:36--------------------------------
- ---------------------------------------------------------------------------*/
ColorConfig::~ColorConfig()
{
::osl::MutexGuard aGuard( ColorMutex_Impl::get() );
@@ -442,9 +411,7 @@ ColorConfig::~ColorConfig()
m_pImpl = 0;
}
}
-/* -----------------------------11.04.2002 11:49------------------------------
- ---------------------------------------------------------------------------*/
Color ColorConfig::GetDefaultColor(ColorConfigEntry eEntry)
{
static const sal_Int32 aAutoColors[] =
@@ -540,9 +507,7 @@ Color ColorConfig::GetDefaultColor(ColorConfigEntry eEntry)
}
return aRet;
}
-/* -----------------------------11.04.2002 11:49------------------------------
- ---------------------------------------------------------------------------*/
ColorConfigValue ColorConfig::GetColorValue(ColorConfigEntry eEntry, sal_Bool bSmart)const
{
ColorConfigValue aRet = m_pImpl->GetColorConfigValue(eEntry);
@@ -563,18 +528,14 @@ ColorConfigValue ColorConfig::GetColorValue(ColorConfigEntry eEntry, sal_Bool
bS
return aRet;
}
-/* -----------------------------25.03.2002 12:01------------------------------
- ---------------------------------------------------------------------------*/
EditableColorConfig::EditableColorConfig() :
m_pImpl(new ColorConfig_Impl),
m_bModified(sal_False)
{
m_pImpl->BlockBroadcasts(TRUE);
}
-/*-- 25.03.2002 12:03:08---------------------------------------------------
- -----------------------------------------------------------------------*/
EditableColorConfig::~EditableColorConfig()
{
m_pImpl->BlockBroadcasts(FALSE);
@@ -585,30 +546,21 @@ EditableColorConfig::~EditableColorConfig()
delete m_pImpl;
}
-/*-- 25.03.2002 12:03:15---------------------------------------------------
-
- -----------------------------------------------------------------------*/
uno::Sequence< ::rtl::OUString > EditableColorConfig::GetSchemeNames() const
{
return m_pImpl->GetSchemeNames();
}
-/*-- 25.03.2002 12:03:16---------------------------------------------------
- -----------------------------------------------------------------------*/
void EditableColorConfig::DeleteScheme(const ::rtl::OUString& rScheme )
{
m_pImpl->RemoveScheme(rScheme);
}
-/*-- 25.03.2002 12:03:16---------------------------------------------------
- -----------------------------------------------------------------------*/
void EditableColorConfig::AddScheme(const ::rtl::OUString& rScheme )
{
m_pImpl->AddScheme(rScheme);
}
-/*-- 25.03.2002 12:03:16---------------------------------------------------
- -----------------------------------------------------------------------*/
sal_Bool EditableColorConfig::LoadScheme(const ::rtl::OUString& rScheme )
{
if(m_bModified)
@@ -621,32 +573,25 @@ sal_Bool EditableColorConfig::LoadScheme(const ::rtl::OUString& rScheme )
m_pImpl->CommitCurrentSchemeName();
return sal_True;
}
-/*-- 25.03.2002 12:03:16---------------------------------------------------
- -----------------------------------------------------------------------*/
const ::rtl::OUString& EditableColorConfig::GetCurrentSchemeName()const
{
return m_pImpl->GetLoadedScheme();
}
-/* -----------------11.12.2002 10:56-----------------
- * changes the name of the current scheme but doesn't load it!
- * --------------------------------------------------*/
+
+// Changes the name of the current scheme but doesn't load it!
void EditableColorConfig::SetCurrentSchemeName(const ::rtl::OUString& rScheme)
{
m_pImpl->SetCurrentSchemeName(rScheme);
m_pImpl->CommitCurrentSchemeName();
}
-/*-- 25.03.2002 12:03:17---------------------------------------------------
- -----------------------------------------------------------------------*/
const ColorConfigValue& EditableColorConfig::GetColorValue(
ColorConfigEntry eEntry)const
{
return m_pImpl->GetColorConfigValue(eEntry);
}
-/*-- 25.03.2002 12:03:17---------------------------------------------------
- -----------------------------------------------------------------------*/
void EditableColorConfig::SetColorValue(
ColorConfigEntry eEntry, const ColorConfigValue& rValue)
{
@@ -654,16 +599,12 @@ void EditableColorConfig::SetColorValue(
m_pImpl->ClearModified();
m_bModified = sal_True;
}
-/* -----------------------------10.04.2002 13:22------------------------------
- ---------------------------------------------------------------------------*/
void EditableColorConfig::SetModified()
{
m_bModified = sal_True;
}
-/* -----------------15.10.2002 14:51-----------------
- *
- * --------------------------------------------------*/
+
void EditableColorConfig::Commit()
{
if(m_bModified)
diff --git a/svtools/source/config/extcolorcfg.cxx b/svtools/source/config/extcolorcfg.cxx
index fa6c2ae..369085a 100644
--- a/svtools/source/config/extcolorcfg.cxx
+++ b/svtools/source/config/extcolorcfg.cxx
@@ -70,8 +70,6 @@ namespace
ExtendedColorConfig_Impl* ExtendedColorConfig::m_pImpl = NULL;
-/* -----------------------------16.01.01 15:36--------------------------------
- ---------------------------------------------------------------------------*/
class ExtendedColorConfig_Impl : public utl::ConfigItem, public SfxBroadcaster
{
DECLARE_STL_USTRINGACCESS_MAP( ::rtl::OUString, TDisplayNames);
@@ -152,9 +150,6 @@ public:
DECL_LINK( DataChangedEventListener, VclWindowEvent* );
};
-/* -----------------------------16.01.01 15:36--------------------------------
-
- ---------------------------------------------------------------------------*/
uno::Sequence< OUString> ExtendedColorConfig_Impl::GetPropertyNames(const rtl::OUString& rScheme)
{
uno::Sequence< OUString> aNames(GetNodeNames(rScheme));
@@ -213,10 +208,7 @@ ExtendedColorConfigValue
ExtendedColorConfig_Impl::GetComponentColorConfigValue(
sRet = m_aConfigValuesPos[_nPos]->first;
return sRet;
}
-// -----------------------------------------------------------------------------
-/* -----------------------------22.03.2002 14:37------------------------------
- ---------------------------------------------------------------------------*/
sal_Bool ExtendedColorConfig_Impl::m_bLockBroadcast = sal_False;
sal_Bool ExtendedColorConfig_Impl::m_bBroadcastWhenUnlocked = sal_False;
ExtendedColorConfig_Impl::ExtendedColorConfig_Impl(sal_Bool bEditMode) :
@@ -236,9 +228,7 @@ ExtendedColorConfig_Impl::ExtendedColorConfig_Impl(sal_Bool bEditMode) :
::Application::AddEventListener( LINK(this, ExtendedColorConfig_Impl,
DataChangedEventListener) );
}
-/* -----------------------------25.03.2002 12:28------------------------------
- ---------------------------------------------------------------------------*/
ExtendedColorConfig_Impl::~ExtendedColorConfig_Impl()
{
// #100822#
@@ -261,9 +251,7 @@ sal_Bool ExtendedColorConfig_Impl::IsEnableBroadcast()
{
return ExtendedColorConfig::m_pImpl ? ExtendedColorConfig::m_pImpl->m_bIsBroadcastEnabled :
sal_False;
}
-/* -----------------------------22.03.2002 14:38------------------------------
- ---------------------------------------------------------------------------*/
void lcl_addString(uno::Sequence < ::rtl::OUString >& _rSeq,const ::rtl::OUString& _sAdd)
{
::rtl::OUString* pIter = _rSeq.getArray();
@@ -425,9 +413,7 @@ void ExtendedColorConfig_Impl::FillComponentColors(uno::Sequence < ::rtl::OUStri
}
}
}
-/* -----------------------------22.03.2002 14:38------------------------------
- ---------------------------------------------------------------------------*/
void ExtendedColorConfig_Impl::Notify( const uno::Sequence<OUString>& /*rPropertyNames*/)
{
//loading via notification always uses the default setting
@@ -442,9 +428,7 @@ void ExtendedColorConfig_Impl::Notify( const uno::Sequence<OUString>& /*rProp
else
Broadcast(SfxSimpleHint(SFX_HINT_COLORS_CHANGED));
}
-/* -----------------------------22.03.2002 14:38------------------------------
- ---------------------------------------------------------------------------*/
void ExtendedColorConfig_Impl::Commit()
{
if ( !m_sLoadedScheme.getLength() )
@@ -491,9 +475,7 @@ void ExtendedColorConfig_Impl::Commit()
CommitCurrentSchemeName();
}
-/* -----------------11.12.2002 10:42-----------------
- *
- * --------------------------------------------------*/
+
void ExtendedColorConfig_Impl::CommitCurrentSchemeName()
{
//save current scheme name
@@ -516,10 +498,7 @@ sal_Bool ExtendedColorConfig_Impl::ExistsScheme(const ::rtl::OUString&
_sSchemeN
;
return pCompIter != pCompEnd;
}
-// -----------------------------------------------------------------------------
-/* -----------------------------25.03.2002 12:19------------------------------
- ---------------------------------------------------------------------------*/
void ExtendedColorConfig_Impl::SetColorConfigValue(const ::rtl::OUString& _sName, const
ExtendedColorConfigValue& rValue )
{
TComponents::iterator aFind = m_aConfigValues.find(_sName);
@@ -531,16 +510,12 @@ void ExtendedColorConfig_Impl::SetColorConfigValue(const ::rtl::OUString&
_sName
SetModified();
}
}
-/* -----------------------------25.03.2002 15:22------------------------------
- ---------------------------------------------------------------------------*/
uno::Sequence< ::rtl::OUString> ExtendedColorConfig_Impl::GetSchemeNames()
{
return GetNodeNames(C2U("ExtendedColorScheme/ColorSchemes"));
}
-/* -----------------------------09.04.2002 17:19------------------------------
- ---------------------------------------------------------------------------*/
sal_Bool ExtendedColorConfig_Impl::AddScheme(const rtl::OUString& rScheme)
{
if(ConfigItem::AddNode(C2U("ExtendedColorScheme/ColorSchemes"), rScheme))
@@ -551,34 +526,26 @@ sal_Bool ExtendedColorConfig_Impl::AddScheme(const rtl::OUString& rScheme)
}
return sal_False;
}
-/* -----------------------------09.04.2002 17:19------------------------------
- ---------------------------------------------------------------------------*/
sal_Bool ExtendedColorConfig_Impl::RemoveScheme(const rtl::OUString& rScheme)
{
uno::Sequence< rtl::OUString > aElements(1);
aElements.getArray()[0] = rScheme;
return ClearNodeElements(C2U("ExtendedColorScheme/ColorSchemes"), aElements);
}
-/* -----------------------------2002/06/20 13:03------------------------------
- ---------------------------------------------------------------------------*/
void ExtendedColorConfig_Impl::SettingsChanged()
{
SolarMutexGuard aVclGuard;
Broadcast( SfxSimpleHint( SFX_HINT_COLORS_CHANGED ) );
}
-/* -----------------11.12.2002 09:21-----------------
- *
- * --------------------------------------------------*/
+
void ExtendedColorConfig_Impl::LockBroadcast()
{
m_bLockBroadcast = sal_True;
}
-/* -----------------11.12.2002 09:21-----------------
- *
- * --------------------------------------------------*/
+
void ExtendedColorConfig_Impl::UnlockBroadcast()
{
if ( m_bBroadcastWhenUnlocked )
@@ -595,9 +562,7 @@ void ExtendedColorConfig_Impl::UnlockBroadcast()
}
m_bLockBroadcast = sal_False;
}
-/* -----------------------------2002/08/16 12:07 -----------------------------
- #100822#
- --------------------------------------------------------------------------- */
+
IMPL_LINK( ExtendedColorConfig_Impl, DataChangedEventListener, VclWindowEvent*, pEvent )
{
if ( pEvent->GetId() == VCLEVENT_APPLICATION_DATACHANGED )
@@ -626,9 +591,7 @@ ExtendedColorConfig::ExtendedColorConfig()
++nExtendedColorRefCount_Impl;
StartListening( *m_pImpl);
}
-/* -----------------------------16.01.01 15:36--------------------------------
- ---------------------------------------------------------------------------*/
ExtendedColorConfig::~ExtendedColorConfig()
{
::osl::MutexGuard aGuard( ColorMutex_Impl::get() );
@@ -639,9 +602,7 @@ ExtendedColorConfig::~ExtendedColorConfig()
m_pImpl = 0;
}
}
-/* -----------------------------11.04.2002 11:49------------------------------
- ---------------------------------------------------------------------------*/
ExtendedColorConfigValue ExtendedColorConfig::GetColorValue(const ::rtl::OUString&
_sComponentName,const ::rtl::OUString& _sName)const
{
return m_pImpl->GetColorConfigValue(_sComponentName,_sName);
@@ -671,28 +632,21 @@ ExtendedColorConfigValue
ExtendedColorConfig::GetComponentColorConfigValue(const
{
return m_pImpl->GetComponentDisplayName(_sComponentName);
}
-// -----------------------------------------------------------------------------
-/* -----------------------------12.04.2002 09:25------------------------------
- ---------------------------------------------------------------------------*/
void ExtendedColorConfig::Notify( SfxBroadcaster& /*rBC*/, const SfxHint& rHint )
{
SolarMutexGuard aVclGuard;
Broadcast( rHint );
}
-/* -----------------------------25.03.2002 12:01------------------------------
- ---------------------------------------------------------------------------*/
EditableExtendedColorConfig::EditableExtendedColorConfig() :
m_pImpl(new ExtendedColorConfig_Impl),
m_bModified(sal_False)
{
m_pImpl->LockBroadcast();
}
-/*-- 25.03.2002 12:03:08---------------------------------------------------
- -----------------------------------------------------------------------*/
EditableExtendedColorConfig::~EditableExtendedColorConfig()
{
m_pImpl->UnlockBroadcast();
@@ -703,30 +657,22 @@ EditableExtendedColorConfig::~EditableExtendedColorConfig()
delete m_pImpl;
}
-/*-- 25.03.2002 12:03:15---------------------------------------------------
- -----------------------------------------------------------------------*/
uno::Sequence< ::rtl::OUString > EditableExtendedColorConfig::GetSchemeNames() const
{
return m_pImpl->GetSchemeNames();
}
-/*-- 25.03.2002 12:03:16---------------------------------------------------
- -----------------------------------------------------------------------*/
void EditableExtendedColorConfig::DeleteScheme(const ::rtl::OUString& rScheme )
{
m_pImpl->RemoveScheme(rScheme);
}
-/*-- 25.03.2002 12:03:16---------------------------------------------------
- -----------------------------------------------------------------------*/
void EditableExtendedColorConfig::AddScheme(const ::rtl::OUString& rScheme )
{
m_pImpl->AddScheme(rScheme);
}
-/*-- 25.03.2002 12:03:16---------------------------------------------------
- -----------------------------------------------------------------------*/
sal_Bool EditableExtendedColorConfig::LoadScheme(const ::rtl::OUString& rScheme )
{
if(m_bModified)
@@ -739,32 +685,25 @@ sal_Bool EditableExtendedColorConfig::LoadScheme(const ::rtl::OUString&
rScheme
m_pImpl->CommitCurrentSchemeName();
return sal_True;
}
-/*-- 25.03.2002 12:03:16---------------------------------------------------
- -----------------------------------------------------------------------*/
const ::rtl::OUString& EditableExtendedColorConfig::GetCurrentSchemeName()const
{
return m_pImpl->GetLoadedScheme();
}
-/* -----------------11.12.2002 10:56-----------------
- * changes the name of the current scheme but doesn't load it!
- * --------------------------------------------------*/
+
+// Changes the name of the current scheme but doesn't load it!
void EditableExtendedColorConfig::SetCurrentSchemeName(const ::rtl::OUString& rScheme)
{
m_pImpl->SetCurrentSchemeName(rScheme);
m_pImpl->CommitCurrentSchemeName();
}
-/*-- 25.03.2002 12:03:17---------------------------------------------------
- -----------------------------------------------------------------------*/
ExtendedColorConfigValue EditableExtendedColorConfig::GetColorValue(const ::rtl::OUString&
_sComponentName,
const ::rtl::OUString& _sName)const
{
return m_pImpl->GetColorConfigValue(_sComponentName,_sName);
}
-/*-- 25.03.2002 12:03:17---------------------------------------------------
- -----------------------------------------------------------------------*/
void EditableExtendedColorConfig::SetColorValue(
const ::rtl::OUString& _sName, const ExtendedColorConfigValue& rValue)
{
@@ -772,16 +711,12 @@ void EditableExtendedColorConfig::SetColorValue(
m_pImpl->ClearModified();
m_bModified = sal_True;
}
-/* -----------------------------10.04.2002 13:22------------------------------
- ---------------------------------------------------------------------------*/
void EditableExtendedColorConfig::SetModified()
{
m_bModified = sal_True;
}
-/* -----------------15.10.2002 14:51-----------------
- *
- * --------------------------------------------------*/
+
void EditableExtendedColorConfig::Commit()
{
if(m_bModified)
diff --git a/svtools/source/config/fontsubstconfig.cxx b/svtools/source/config/fontsubstconfig.cxx
index 53a8ae2..e32c5f6 100644
--- a/svtools/source/config/fontsubstconfig.cxx
+++ b/svtools/source/config/fontsubstconfig.cxx
@@ -64,9 +64,7 @@ struct SvtFontSubstConfig_Impl
{
SubstitutionStructArr aSubstArr;
};
-/* -----------------------------18.01.01 12:04--------------------------------
- ---------------------------------------------------------------------------*/
SvtFontSubstConfig::SvtFontSubstConfig() :
ConfigItem(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Office.Common/Font/Substitution"))),
bIsEnabled(sal_False),
@@ -112,16 +110,12 @@ SvtFontSubstConfig::SvtFontSubstConfig() :
pImpl->aSubstArr.Insert(pInsert, pImpl->aSubstArr.Count());
}
}
-/* -----------------------------18.01.01 12:06--------------------------------
- ---------------------------------------------------------------------------*/
SvtFontSubstConfig::~SvtFontSubstConfig()
{
delete pImpl;
}
-/*-- 18.01.01 12:08:00---------------------------------------------------
- -----------------------------------------------------------------------*/
void SvtFontSubstConfig::Notify( const com::sun::star::uno::Sequence< rtl::OUString >& )
{
}
@@ -169,23 +163,17 @@ void SvtFontSubstConfig::Commit()
ReplaceSetProperties(sNode, aSetValues);
}
}
-/*-- 18.01.01 12:08:00---------------------------------------------------
- -----------------------------------------------------------------------*/
sal_Int32 SvtFontSubstConfig::SubstitutionCount() const
{
return pImpl->aSubstArr.Count();
}
-/*-- 18.01.01 12:08:00---------------------------------------------------
- -----------------------------------------------------------------------*/
void SvtFontSubstConfig::ClearSubstitutions()
{
pImpl->aSubstArr.DeleteAndDestroy(0, pImpl->aSubstArr.Count());
}
-/*-- 18.01.01 12:08:00---------------------------------------------------
- -----------------------------------------------------------------------*/
const SubstitutionStruct* SvtFontSubstConfig::GetSubstitution(sal_Int32 nPos)
{
DBG_ASSERT(nPos >= 0 && nPos < pImpl->aSubstArr.Count(), "illegal array index");
@@ -193,9 +181,7 @@ const SubstitutionStruct* SvtFontSubstConfig::GetSubstitution(sal_Int32 nPos)
return pImpl->aSubstArr[(sal_uInt16)nPos];
return 0;
}
-/*-- 18.01.01 12:08:01---------------------------------------------------
- -----------------------------------------------------------------------*/
void SvtFontSubstConfig::AddSubstitution(const SubstitutionStruct& rToAdd)
{
SubstitutionStructPtr pInsert = new SubstitutionStruct(rToAdd);
diff --git a/svtools/source/config/htmlcfg.cxx b/svtools/source/config/htmlcfg.cxx
index 9952d3e..04f7786 100644
--- a/svtools/source/config/htmlcfg.cxx
+++ b/svtools/source/config/htmlcfg.cxx
@@ -57,9 +57,7 @@ static SvxHtmlOptions* pOptions = 0;
DECLARE_LIST( LinkList, Link * )
#define C2U(cChar) OUString::createFromAscii(cChar)
-/* -----------------------------23.11.00 11:39--------------------------------
- ---------------------------------------------------------------------------*/
struct HtmlOptions_Impl
{
LinkList aList;
@@ -85,9 +83,6 @@ struct HtmlOptions_Impl
}
};
-/* -----------------------------23.11.00 11:39--------------------------------
-
- ---------------------------------------------------------------------------*/
const Sequence<OUString>& SvxHtmlOptions::GetPropertyNames()
{
static Sequence<OUString> aNames;
@@ -381,17 +376,11 @@ void SvxHtmlOptions::SetStarBasic(BOOL bSet)
SetModified();
}
-/*-----------------14.02.97 08.34-------------------
-
---------------------------------------------------*/
-
BOOL SvxHtmlOptions::IsSaveGraphicsLocal() const
{
return 0 != (pImp->nFlags & HTMLCFG_LOCAL_GRF) ;
}
-/*-----------------14.02.97 08.34-------------------
---------------------------------------------------*/
void SvxHtmlOptions::SetSaveGraphicsLocal(BOOL bSet)
{
if(bSet)
@@ -431,17 +420,11 @@ void SvxHtmlOptions::SetPrintLayoutExtension(BOOL bSet)
SetModified();
}
-/*-----------------10.07.98 10.02-------------------
-
---------------------------------------------------*/
-
BOOL SvxHtmlOptions::IsIgnoreFontFamily() const
{
return 0 != (pImp->nFlags & HTMLCFG_IGNORE_FONT_FAMILY) ;
}
-/*-----------------10.07.98 10.02-------------------
---------------------------------------------------*/
void SvxHtmlOptions::SetIgnoreFontFamily(BOOL bSet)
{
if(bSet)
@@ -450,16 +433,12 @@ void SvxHtmlOptions::SetIgnoreFontFamily(BOOL bSet)
pImp->nFlags &= ~HTMLCFG_IGNORE_FONT_FAMILY;
SetModified();
}
-/* -----------------05.02.99 09:03-------------------
- *
- * --------------------------------------------------*/
+
BOOL SvxHtmlOptions::IsStarBasicWarning() const
{
return 0 != (pImp->nFlags & HTMLCFG_IS_BASIC_WARNING) ;
}
-/* -----------------05.02.99 09:03-------------------
- *
- * --------------------------------------------------*/
+
void SvxHtmlOptions::SetStarBasicWarning(BOOL bSet)
{
if(bSet)
@@ -469,9 +448,6 @@ void SvxHtmlOptions::SetStarBasicWarning(BOOL bSet)
SetModified();
}
-/*-----------------19.02.2001 18:40-----------------
- *
- * --------------------------------------------------*/
rtl_TextEncoding SvxHtmlOptions::GetTextEncoding() const
{
rtl_TextEncoding eRet;
@@ -482,18 +458,13 @@ rtl_TextEncoding SvxHtmlOptions::GetTextEncoding() const
return eRet;
}
-/*-----------------19.02.2001 18:40-----------------
- *
- * --------------------------------------------------*/
void SvxHtmlOptions::SetTextEncoding( rtl_TextEncoding eEnc )
{
pImp->eEncoding = eEnc;
pImp->bIsEncodingDefault = sal_False;
SetModified();
}
-/* -----------------------------15.08.2001 12:01------------------------------
- ---------------------------------------------------------------------------*/
sal_Bool SvxHtmlOptions::IsDefaultTextEncoding() const
{
return pImp->bIsEncodingDefault;
diff --git a/svtools/source/config/miscopt.cxx b/svtools/source/config/miscopt.cxx
index 7ec66b1..f5aa5db 100644
--- a/svtools/source/config/miscopt.cxx
+++ b/svtools/source/config/miscopt.cxx
@@ -474,9 +474,6 @@ SvtMiscOptions_Impl::~SvtMiscOptions_Impl()
delete aList.Remove(n);
}
-/*-- 25.02.2005 13:22:04---------------------------------------------------
-
- -----------------------------------------------------------------------*/
static int lcl_MapPropertyName( const ::rtl::OUString rCompare,
const uno::Sequence< ::rtl::OUString>& aInternalPropertyNames)
{
diff --git a/svtools/source/contnr/svimpbox.cxx b/svtools/source/contnr/svimpbox.cxx
index a7a7bb6..0f249b0 100644
--- a/svtools/source/contnr/svimpbox.cxx
+++ b/svtools/source/contnr/svimpbox.cxx
@@ -3077,9 +3077,8 @@ void SvImpLBox::PaintDDCursor( SvLBoxEntry* pInsertionPos )
pView->SetLineColor( aOldLineColor );
pView->SetRasterOp( eOldOp );
}
-/* -----------------26.08.2003 12:52-----------------
- Delete all sub menues of a PopupMenu, recursively
- --------------------------------------------------*/
+
+// Delete all sub menues of a PopupMenu, recursively
void lcl_DeleteSubPopups(PopupMenu* pPopup)
{
for(USHORT i = 0; i < pPopup->GetItemCount(); i++)
diff --git a/svtools/source/contnr/templwin.cxx b/svtools/source/contnr/templwin.cxx
index 51c81cb..3d765b5 100644
--- a/svtools/source/contnr/templwin.cxx
+++ b/svtools/source/contnr/templwin.cxx
@@ -580,9 +580,7 @@ void SvtIconWindow_Impl::UpdateIcons( sal_Bool _bHiContrast )
aIconCtrl.GetEntry( ICON_POS_SAMPLES )->SetImage(
Image( SvtResId( _bHiContrast ? IMG_SVT_SAMPLES_HC : IMG_SVT_SAMPLES ) ) );
}
-/* -----------------27.11.2002 16:58-----------------
- *
- * --------------------------------------------------*/
+
void SvtIconWindow_Impl::SelectFolder(sal_Int32 nFolderPosition)
{
SvxIconChoiceCtrlEntry* pEntry = aIconCtrl.GetEntry( nFolderPosition );
@@ -1627,9 +1625,6 @@ void SvtTemplateWindow::WriteViewSettings()
SvtViewOptions aViewSettings( E_DIALOG, VIEWSETTING_NEWFROMTEMPLATE );
aViewSettings.SetUserData( aSettings );
}
-/* -----------------27.11.2002 17:20-----------------
- *
- * --------------------------------------------------*/
void SvtTemplateWindow::SelectFolder(sal_Int32 nFolderPosition)
{
@@ -2012,9 +2007,6 @@ IMPL_LINK ( SvtDocumentTemplateDialog, OpenLinkHdl_Impl,
svt::FixedHyperlink*, E
return 0;
}
-/* -----------------27.11.2002 16:54-----------------
- *
- * --------------------------------------------------*/
void SvtDocumentTemplateDialog::SelectTemplateFolder()
{
pImpl->pWin->SelectFolder(ICON_POS_TEMPLATES);
diff --git a/svtools/source/control/ruler.cxx b/svtools/source/control/ruler.cxx
index 2395050..e76231b 100644
--- a/svtools/source/control/ruler.cxx
+++ b/svtools/source/control/ruler.cxx
@@ -3199,9 +3199,7 @@ void Ruler::DrawTab( OutputDevice* pDevice, const Point& rPos, USHORT nStyle )
ImplDrawRulerTab( pDevice, aPos, nTabStyle, nStyle );
pDevice->Pop();
}
-/* -----------------16.10.2002 15:17-----------------
- *
- * --------------------------------------------------*/
+
void Ruler::SetTextRTL(BOOL bRTL)
{
if(mpData->bTextRTL != bRTL)
diff --git a/svtools/source/edit/svmedit.cxx b/svtools/source/edit/svmedit.cxx
index f430173..f79b0e9 100644
--- a/svtools/source/edit/svmedit.cxx
+++ b/svtools/source/edit/svmedit.cxx
@@ -1648,9 +1648,7 @@ MultiLineEdit::GetComponentInterface(BOOL bCreate)
}
return xPeer;
}
-/*-- 11.08.2004 11:29:23---------------------------------------------------
- -----------------------------------------------------------------------*/
void MultiLineEdit::DisableSelectionOnFocus()
{
pImpSvMEdit->GetTextWindow()->DisableSelectionOnFocus();
diff --git a/svtools/source/edit/textview.cxx b/svtools/source/edit/textview.cxx
index e67fefd..d11de87 100644
--- a/svtools/source/edit/textview.cxx
+++ b/svtools/source/edit/textview.cxx
@@ -156,9 +156,6 @@ sal_Bool TETextDataObject::isDataFlavorSupported( const datatransfer::DataFlavor
return ( nT == SOT_FORMAT_STRING );
}
-/*-- 24.06.2004 13:54:36---------------------------------------------------
-
- -----------------------------------------------------------------------*/
struct ImpTextView
{
TextEngine* mpTextEngine;
diff --git a/svtools/source/edit/txtattr.cxx b/svtools/source/edit/txtattr.cxx
index 8aafedc..7c69e6d 100644
--- a/svtools/source/edit/txtattr.cxx
+++ b/svtools/source/edit/txtattr.cxx
@@ -156,42 +156,29 @@ int TextAttribHyperLink::operator==( const TextAttrib& rAttr ) const
( maColor == ((const TextAttribHyperLink&)rAttr).maColor ) );
}
-/*-- 24.06.2004 14:49:44---------------------------------------------------
-
- -----------------------------------------------------------------------*/
TextAttribProtect::TextAttribProtect() :
TextAttrib( TEXTATTR_PROTECTED )
{
}
-/*-- 24.06.2004 14:49:44---------------------------------------------------
- -----------------------------------------------------------------------*/
TextAttribProtect::TextAttribProtect( const TextAttribProtect&) :
TextAttrib( TEXTATTR_PROTECTED )
{
}
-/*-- 24.06.2004 14:49:44---------------------------------------------------
- -----------------------------------------------------------------------*/
TextAttribProtect::~TextAttribProtect()
{
}
-/*-- 24.06.2004 14:49:44---------------------------------------------------
- -----------------------------------------------------------------------*/
void TextAttribProtect::SetFont( Font& ) const
{
}
-/*-- 24.06.2004 14:49:44---------------------------------------------------
- -----------------------------------------------------------------------*/
TextAttrib* TextAttribProtect::Clone() const
{
return new TextAttribProtect();
}
-/*-- 24.06.2004 14:49:45---------------------------------------------------
- -----------------------------------------------------------------------*/
int TextAttribProtect::operator==( const TextAttrib& rAttr ) const
{
return ( TextAttrib::operator==(rAttr ) );
diff --git a/tools/inc/tools/stream.hxx b/tools/inc/tools/stream.hxx
index a501389..abb1804 100644
--- a/tools/inc/tools/stream.hxx
+++ b/tools/inc/tools/stream.hxx
@@ -842,9 +842,7 @@ public:
class TOOLS_DLLPUBLIC SvDataCopyStream
{
public:
- /*-----------------MM 30.04.96 11:01-----------------
- mehrfaches Aufrufen von Load und Assign erlaubt
- --------------------------------------------------*/
+ // mehrfaches Aufrufen von Load und Assign erlaubt
TYPEINFO();
virtual ~SvDataCopyStream(){}
virtual void Load( SvStream & ) = 0;
diff --git a/unotools/inc/unotools/sourceviewconfig.hxx b/unotools/inc/unotools/sourceviewconfig.hxx
index e362a6c..176dfe7 100644
--- a/unotools/inc/unotools/sourceviewconfig.hxx
+++ b/unotools/inc/unotools/sourceviewconfig.hxx
@@ -35,9 +35,6 @@
#include <rtl/ustring.hxx>
#include <unotools/options.hxx>
-/* -----------------------------12.10.00 11:40--------------------------------
-
- ---------------------------------------------------------------------------*/
namespace utl
{
class SourceViewConfig_Impl;
diff --git a/unotools/source/config/configitem.cxx b/unotools/source/config/configitem.cxx
index 7b7bf49..31a3352 100644
--- a/unotools/source/config/configitem.cxx
+++ b/unotools/source/config/configitem.cxx
@@ -106,9 +106,7 @@ namespace utl{
//XEventListener
virtual void SAL_CALL disposing( const EventObject& Source ) throw(RuntimeException);
};
-/* -----------------------------12.02.01 11:38--------------------------------
- ---------------------------------------------------------------------------*/
struct ConfigItem_Impl
{
utl::ConfigManager* pManager;
@@ -126,9 +124,7 @@ struct ConfigItem_Impl
{}
};
}
-/* -----------------------------04.12.00 10:25--------------------------------
- ---------------------------------------------------------------------------*/
class ValueCounter_Impl
{
sal_Int16& rCnt;
@@ -142,9 +138,7 @@ public:
rCnt--;
}
};
-/* -----------------------------03.12.02 -------------------------------------
- ---------------------------------------------------------------------------*/
namespace
{
// helper to achieve exception - safe handling of an Item under construction
@@ -166,24 +160,18 @@ namespace
void keep() { m_pItem = 0; }
};
}
-/* -----------------------------29.08.00 16:34--------------------------------
- ---------------------------------------------------------------------------*/
ConfigChangeListener_Impl::ConfigChangeListener_Impl(
ConfigItem& rItem, const Sequence< OUString >& rNames) :
pParent(&rItem),
aPropertyNames(rNames)
{
}
-/* -----------------------------29.08.00 16:34--------------------------------
- ---------------------------------------------------------------------------*/
ConfigChangeListener_Impl::~ConfigChangeListener_Impl()
{
}
-/* -----------------------------29.08.00 16:34--------------------------------
- ---------------------------------------------------------------------------*/
sal_Bool lcl_Find(
const rtl::OUString& rTemp,
const OUString* pCheckPropertyNames,
@@ -225,16 +213,12 @@ void ConfigChangeListener_Impl::changesOccurred( const ChangesEvent& rEvent )
th
}
}
-/* -----------------------------29.08.00 16:34--------------------------------
- ---------------------------------------------------------------------------*/
void ConfigChangeListener_Impl::disposing( const EventObject& /*rSource*/ ) throw(RuntimeException)
{
pParent->RemoveChangesListener();
}
-/* -----------------------------29.08.00 12:50--------------------------------
- ---------------------------------------------------------------------------*/
ConfigItem::ConfigItem(const OUString rSubTree, sal_Int16 nSetMode ) :
sSubTree(rSubTree),
pImpl(new ConfigItem_Impl)
@@ -252,9 +236,7 @@ ConfigItem::ConfigItem(const OUString rSubTree, sal_Int16 nSetMode ) :
aNewImpl.keep();
pImpl->nMode &= ~CONFIG_MODE_PROPAGATE_ERRORS;
}
-/* -----------------------------17.11.00 13:53--------------------------------
- ---------------------------------------------------------------------------*/
ConfigItem::ConfigItem(utl::ConfigManager& rManager, const rtl::OUString rSubTree) :
sSubTree(rSubTree),
pImpl(new ConfigItem_Impl)
@@ -270,9 +252,6 @@ sal_Bool ConfigItem::IsValidConfigMgr() const
return ( pImpl->pManager && pImpl->pManager->GetConfigurationProvider().is() );
}
-/* -----------------------------29.08.00 12:52--------------------------------
-
- ---------------------------------------------------------------------------*/
ConfigItem::~ConfigItem()
{
if(pImpl->pManager)
@@ -282,9 +261,7 @@ ConfigItem::~ConfigItem()
}
delete pImpl;
}
-/* -----------------------------29.08.00 12:52--------------------------------
- ---------------------------------------------------------------------------*/
void ConfigItem::ReleaseConfigMgr()
{
Reference<XHierarchicalNameAccess> xHierarchyAccess = GetTree();
@@ -301,9 +278,7 @@ void ConfigItem::ReleaseConfigMgr()
OSL_ENSURE(pImpl->pManager, "ConfigManager already released");
pImpl->pManager = 0;
}
-/* -----------------------------29.08.00 12:52--------------------------------
- ---------------------------------------------------------------------------*/
void ConfigItem::CallNotify( const com::sun::star::uno::Sequence<OUString>& rPropertyNames )
{
// the call is forwarded to the virtual Notify() method
@@ -313,9 +288,6 @@ void ConfigItem::CallNotify( const com::sun::star::uno::Sequence<OUString>& rPro
Notify(rPropertyNames);
}
-/* -----------------------------12.12.00 17:09--------------------------------
-
- ---------------------------------------------------------------------------*/
sal_Bool lcl_IsLocalProperty(const OUString& rSubTree, const OUString& rProperty)
{
static const sal_Char* aLocalProperties[] =
@@ -338,9 +310,7 @@ sal_Bool lcl_IsLocalProperty(const OUString& rSubTree, const OUString& rProperty
return sal_False;
}
-/* -----------------------------10.04.01 15:00--------------------------------
- ---------------------------------------------------------------------------*/
void ConfigItem::impl_packLocalizedProperties( const Sequence< OUString >& lInNames ,
const Sequence< Any >& lInValues
,
Sequence< Any >& lOutValues
)
@@ -412,9 +382,7 @@ void ConfigItem::impl_packLocalizedProperties( const Sequence< OUString
& lInNa
++nDestinationCounter;
}
}
-/* -----------------------------10.04.01 15:00--------------------------------
- ---------------------------------------------------------------------------*/
void ConfigItem::impl_unpackLocalizedProperties( const Sequence< OUString >& lInNames
,
const Sequence< Any >&
lInValues ,
Sequence< OUString >& lOutNames
,
@@ -489,9 +457,7 @@ void ConfigItem::impl_unpackLocalizedProperties( const Sequence< OUString
& lIn
}
}
}
-/* -----------------------------03.02.2003 14:44------------------------------
- ---------------------------------------------------------------------------*/
Sequence< sal_Bool > ConfigItem::GetReadOnlyStates(const com::sun::star::uno::Sequence<
rtl::OUString >& rNames)
{
sal_Int32 i;
@@ -576,9 +542,6 @@ Sequence< sal_Bool > ConfigItem::GetReadOnlyStates(const com::sun::star::uno::Se
return lStates;
}
-/* -----------------------------29.08.00 15:10--------------------------------
-
- ---------------------------------------------------------------------------*/
Sequence< Any > ConfigItem::GetProperties(const Sequence< OUString >& rNames)
{
Sequence< Any > aRet(rNames.getLength());
@@ -636,9 +599,7 @@ Sequence< Any > ConfigItem::GetProperties(const Sequence< OUString >& rNames)
}
return aRet;
}
-/* -----------------------------29.08.00 17:28--------------------------------
- ---------------------------------------------------------------------------*/
sal_Bool ConfigItem::PutProperties( const Sequence< OUString >& rNames,
const Sequence< Any>& rValues)
{
@@ -722,17 +683,13 @@ sal_Bool ConfigItem::PutProperties( const Sequence< OUString >& rNames,
return bRet;
}
-/* -----------------------------08.12.05 15:27--------------------------------
- ---------------------------------------------------------------------------*/
void ConfigItem::DisableNotification()
{
OSL_ENSURE( xChangeLstnr.is(), "ConfigItem::DisableNotification: notifications not enabled
currently!" );
RemoveChangesListener();
}
-/* -----------------------------29.08.00 16:19--------------------------------
- ---------------------------------------------------------------------------*/
sal_Bool ConfigItem::EnableNotification(const Sequence< OUString >& rNames,
sal_Bool bEnableInternalNotification )
@@ -760,9 +717,7 @@ sal_Bool ConfigItem::EnableNotification(const Sequence< OUString >& rNames,
}
return bRet;
}
-/* -----------------------------29.08.00 16:47--------------------------------
- ---------------------------------------------------------------------------*/
void ConfigItem::RemoveChangesListener()
{
Reference<XChangesNotifier> xChgNot(m_xHierarchyAccess, UNO_QUERY);
@@ -778,9 +733,7 @@ void ConfigItem::RemoveChangesListener()
}
}
}
-/* -----------------------------10.07.00 --------------------------------
- ---------------------------------------------------------------------------*/
void lcl_normalizeLocalNames(Sequence< OUString >& _rNames, ConfigNameFormat _eFormat,
Reference<XInterface> const& _xParentNode)
{
switch (_eFormat)
@@ -855,18 +808,14 @@ void lcl_normalizeLocalNames(Sequence< OUString >& _rNames, ConfigNameFormat
_eF
}
}
-/* -----------------------------10.07.00 --------------------------------
- ---------------------------------------------------------------------------*/
Sequence< OUString > ConfigItem::GetNodeNames(const OUString& rNode)
{
ConfigNameFormat const eDefaultFormat = CONFIG_NAME_LOCAL_NAME; // CONFIG_NAME_DEFAULT;
return GetNodeNames(rNode, eDefaultFormat);
}
-/* -----------------------------15.09.00 12:06--------------------------------
- ---------------------------------------------------------------------------*/
Sequence< OUString > ConfigItem::GetNodeNames(const OUString& rNode, ConfigNameFormat eFormat)
{
Sequence< OUString > aRet;
@@ -894,9 +843,7 @@ Sequence< OUString > ConfigItem::GetNodeNames(const OUString& rNode, ConfigNameF
}
return aRet;
}
-/* -----------------------------15.09.00 15:52--------------------------------
- ---------------------------------------------------------------------------*/
sal_Bool ConfigItem::ClearNodeSet(const OUString& rNode)
{
ValueCounter_Impl aCounter(pImpl->nInValueChange);
@@ -934,9 +881,7 @@ sal_Bool ConfigItem::ClearNodeSet(const OUString& rNode)
}
return bRet;
}
-/* -----------------------------24.11.00 10:58--------------------------------
- ---------------------------------------------------------------------------*/
sal_Bool ConfigItem::ClearNodeElements(const OUString& rNode, Sequence< OUString >& rElements)
{
ValueCounter_Impl aCounter(pImpl->nInValueChange);
@@ -1008,9 +953,8 @@ Sequence< OUString > lcl_extractSetPropertyNames( const Sequence< PropertyValue
return aSubNodeNames;
}
-/* -----------------------------15.09.00 15:52--------------------------------
- add or change properties
- ---------------------------------------------------------------------------*/
+
+// Add or change properties
sal_Bool ConfigItem::SetSetProperties(
const OUString& rNode, Sequence< PropertyValue > rValues)
{
@@ -1109,9 +1053,7 @@ sal_Bool ConfigItem::SetSetProperties(
}
return bRet;
}
-/* -----------------------------15.09.00 15:52--------------------------------
- ---------------------------------------------------------------------------*/
sal_Bool ConfigItem::ReplaceSetProperties(
const OUString& rNode, Sequence< PropertyValue > rValues)
{
@@ -1248,9 +1190,7 @@ sal_Bool ConfigItem::ReplaceSetProperties(
}
return bRet;
}
-/* -----------------------------07.05.01 12:15--------------------------------
- ---------------------------------------------------------------------------*/
sal_Bool ConfigItem::getUniqueSetElementName( const ::rtl::OUString& _rSetNode, ::rtl::OUString&
_rName)
{
::rtl::OUString sNewElementName;
@@ -1289,9 +1229,7 @@ sal_Bool ConfigItem::getUniqueSetElementName( const ::rtl::OUString&
_rSetNode,
}
return bRet;
}
-/* -----------------------------23.01.01 12:49--------------------------------
- ---------------------------------------------------------------------------*/
sal_Bool ConfigItem::AddNode(const rtl::OUString& rNode, const rtl::OUString& rNewNode)
{
ValueCounter_Impl aCounter(pImpl->nInValueChange);
@@ -1354,44 +1292,32 @@ sal_Bool ConfigItem::AddNode(const rtl::OUString& rNode, const
rtl::OUString& rN
}
return bRet;
}
-/* -----------------------------12.02.01 11:38--------------------------------
- ---------------------------------------------------------------------------*/
sal_Int16 ConfigItem::GetMode() const
{
return pImpl->nMode;
}
-/* -----------------------------12.02.01 13:31--------------------------------
- ---------------------------------------------------------------------------*/
void ConfigItem::SetModified()
{
pImpl->bIsModified = sal_True;
}
-/* -----------------------------05.05.01 14:07--------------------------------
- ---------------------------------------------------------------------------*/
void ConfigItem::ClearModified()
{
pImpl->bIsModified = sal_False;
}
-/* -----------------------------12.02.01 13:31--------------------------------
- ---------------------------------------------------------------------------*/
sal_Bool ConfigItem::IsModified() const
{
return pImpl->bIsModified;
}
-/* -----------------------------12.02.01 13:33--------------------------------
- ---------------------------------------------------------------------------*/
sal_Bool ConfigItem::IsInValueChange() const
{
return pImpl->nInValueChange > 0;
}
-/* -----------------------------21.06.01 12:26--------------------------------
- ---------------------------------------------------------------------------*/
Reference< XHierarchicalNameAccess> ConfigItem::GetTree()
{
Reference< XHierarchicalNameAccess> xRet;
@@ -1402,17 +1328,13 @@ Reference< XHierarchicalNameAccess> ConfigItem::GetTree()
OSL_ENSURE(xRet.is(), "AcquireTree failed");
return xRet;
}
-/* -----------------------------22.06.01 08:42--------------------------------
- ---------------------------------------------------------------------------*/
void ConfigItem::LockTree()
{
OSL_ENSURE(0 != (pImpl->nMode&CONFIG_MODE_RELEASE_TREE), "call LockTree in
CONFIG_MODE_RELEASE_TREE mode, only");
m_xHierarchyAccess = GetTree();
}
-/* -----------------------------22.06.01 08:42--------------------------------
- ---------------------------------------------------------------------------*/
void ConfigItem::UnlockTree()
{
OSL_ENSURE(0 != (pImpl->nMode&CONFIG_MODE_RELEASE_TREE), "call UnlockTree in
CONFIG_MODE_RELEASE_TREE mode, only");
diff --git a/unotools/source/config/configmgr.cxx b/unotools/source/config/configmgr.cxx
index 4fc4846..398bf35 100644
--- a/unotools/source/config/configmgr.cxx
+++ b/unotools/source/config/configmgr.cxx
@@ -100,25 +100,18 @@ struct utl::ConfigMgr_Impl
ConfigItemList aItemList;
};
-/* -----------------------------28.08.00 15:35--------------------------------
-
- ---------------------------------------------------------------------------*/
ConfigManager::ConfigManager() :
pMgrImpl(new utl::ConfigMgr_Impl)
{
GetConfigurationProvider(); // attempt to create the provider early
}
-/* -----------------------------17.11.00 13:51--------------------------------
- ---------------------------------------------------------------------------*/
ConfigManager::ConfigManager(Reference< XMultiServiceFactory > xConfigProv) :
xConfigurationProvider(xConfigProv),
pMgrImpl(new utl::ConfigMgr_Impl)
{
}
-/* -----------------------------28.08.00 15:35--------------------------------
- ---------------------------------------------------------------------------*/
ConfigManager::~ConfigManager()
{
//check list content -> should be empty!
@@ -136,9 +129,7 @@ ConfigManager::~ConfigManager()
delete pMgrImpl;
}
-/* -----------------------------28.08.00 16:17--------------------------------
- ---------------------------------------------------------------------------*/
Reference< XMultiServiceFactory > ConfigManager::GetConfigurationProvider()
{
if(!xConfigurationProvider.is())
@@ -174,9 +165,7 @@ Reference< XMultiServiceFactory > ConfigManager::GetConfigurationProvider()
}
return xConfigurationProvider;
}
-/* -----------------------------03.12.02 -------------------------------------
- ---------------------------------------------------------------------------*/
namespace
{
// helper to achieve exception - safe registration of a ConfigItem under construction
@@ -200,16 +189,12 @@ namespace
void keep() { pCfgItem = 0; }
};
}
-/* -----------------------------12.12.00 17:19--------------------------------
- ---------------------------------------------------------------------------*/
Reference< XMultiServiceFactory > ConfigManager::GetLocalConfigurationProvider()
{
return GetConfigurationProvider();
}
-/* -----------------------------29.08.00 12:35--------------------------------
- ---------------------------------------------------------------------------*/
Reference< XHierarchicalNameAccess > ConfigManager::AddConfigItem(utl::ConfigItem& rCfgItem)
{
RegisterConfigItemHelper registeredItem(*this,rCfgItem);
@@ -217,9 +202,7 @@ Reference< XHierarchicalNameAccess > ConfigManager::AddConfigItem(utl::ConfigIte
registeredItem.keep();
return xTree;
}
-/* -----------------------------21.06.01 12:20--------------------------------
- ---------------------------------------------------------------------------*/
void ConfigManager::RegisterConfigItem(utl::ConfigItem& rCfgItem)
{
ConfigItemList::iterator aListIter = pMgrImpl->aItemList.begin();
@@ -233,9 +216,7 @@ void ConfigManager::RegisterConfigItem(utl::ConfigItem& rCfgItem)
#endif
pMgrImpl->aItemList.insert(aListIter, ConfigItemListEntry_Impl(&rCfgItem));
}
-/* -----------------------------21.06.01 12:20--------------------------------
- ---------------------------------------------------------------------------*/
Reference< XHierarchicalNameAccess> ConfigManager::AcquireTree(utl::ConfigItem& rCfgItem)
{
ConfigItemList::iterator aListIter = pMgrImpl->aItemList.begin();
@@ -313,9 +294,7 @@ Reference< XHierarchicalNameAccess> ConfigManager::AcquireTree(utl::ConfigItem&
}
return Reference<XHierarchicalNameAccess>(xIFace, UNO_QUERY);
}
-/* -----------------------------29.08.00 12:35--------------------------------
- ---------------------------------------------------------------------------*/
void ConfigManager::RemoveConfigItem(utl::ConfigItem& rCfgItem)
{
if( !pMgrImpl->aItemList.empty() )
@@ -332,9 +311,7 @@ void ConfigManager::RemoveConfigItem(utl::ConfigItem& rCfgItem)
}
}
}
-/* -----------------------------30.08.00 15:04--------------------------------
- ---------------------------------------------------------------------------*/
void ConfigManager::StoreConfigItems()
{
if(!pMgrImpl->aItemList.empty())
@@ -351,25 +328,19 @@ void ConfigManager::StoreConfigItems()
}
}
}
-/* -----------------------------07.09.00 11:06--------------------------------
- ---------------------------------------------------------------------------*/
struct theConfigManager : public rtl::Static<ConfigManager, theConfigManager> {};
ConfigManager& ConfigManager::GetConfigManager()
{
return theConfigManager::get();
}
-/* -----------------------------08.09.00 13:22--------------------------------
- ---------------------------------------------------------------------------*/
rtl::OUString ConfigManager::GetConfigBaseURL()
{
return OUString::createFromAscii(pConfigBaseURL);
}
-/* -----------------------------25.09.00 16:34--------------------------------
- ---------------------------------------------------------------------------*/
Any ConfigManager::GetDirectConfigProperty(ConfigProperty eProp)
{
switch(eProp)
@@ -626,9 +597,6 @@ void ConfigManager::getBasisAboutBoxProductVersion( OUString& rVersion )
}
}
-/* -----------------------------12.12.00 17:22--------------------------------
-
- ---------------------------------------------------------------------------*/
Reference< XHierarchicalNameAccess> ConfigManager::GetHierarchyAccess(const OUString& rFullPath)
{
Sequence< Any > aArgs(1);
@@ -658,9 +626,7 @@ Reference< XHierarchicalNameAccess> ConfigManager::GetHierarchyAccess(const OUSt
}
return Reference<XHierarchicalNameAccess>(xIFace, UNO_QUERY);
}
-/* -----------------------------12.12.00 17:17--------------------------------
- ---------------------------------------------------------------------------*/
Any ConfigManager::GetLocalProperty(const OUString& rProperty)
{
OUString sPath(OUString::createFromAscii(pConfigBaseURL));
@@ -690,9 +656,7 @@ Any ConfigManager::GetLocalProperty(const OUString& rProperty)
#endif
return aRet;
}
-/* -----------------------------12.12.00 17:17--------------------------------
- ---------------------------------------------------------------------------*/
void ConfigManager::PutLocalProperty(const OUString& rProperty, const Any& rValue)
{
OUString sPath(OUString::createFromAscii(pConfigBaseURL));
@@ -722,9 +686,7 @@ void ConfigManager::PutLocalProperty(const OUString& rProperty, const Any& rValu
#endif
}
}
-/* -----------------------------13.12.00 08:47--------------------------------
- ---------------------------------------------------------------------------*/
sal_Bool ConfigManager::IsLocalConfigProvider()
{
return false;
diff --git a/unotools/source/config/extendedsecurityoptions.cxx
b/unotools/source/config/extendedsecurityoptions.cxx
index 0419e5e..8d783d0 100644
--- a/unotools/source/config/extendedsecurityoptions.cxx
+++ b/unotools/source/config/extendedsecurityoptions.cxx
@@ -357,9 +357,7 @@ SvtExtendedSecurityOptions::OpenHyperlinkMode SvtExtendedSecurityOptions_Impl::G
{
return m_eOpenHyperlinkMode;
}
-/* -----------------09.07.2003 11:26-----------------
- --------------------------------------------------*/
sal_Bool SvtExtendedSecurityOptions_Impl::IsOpenHyperlinkModeReadOnly() const
{
return m_bROOpenHyperlinkMode;
@@ -496,9 +494,7 @@ SvtExtendedSecurityOptions::OpenHyperlinkMode SvtExtendedSecurityOptions::GetOpe
MutexGuard aGuard( GetInitMutex() );
return m_pDataContainer->GetOpenHyperlinkMode();
}
-/* -----------------09.07.2003 11:26-----------------
- --------------------------------------------------*/
sal_Bool SvtExtendedSecurityOptions::IsOpenHyperlinkModeReadOnly() const
{
return m_pDataContainer->IsOpenHyperlinkModeReadOnly();
diff --git a/unotools/source/config/fltrcfg.cxx b/unotools/source/config/fltrcfg.cxx
index e0b46a0..ec6d22c 100644
--- a/unotools/source/config/fltrcfg.cxx
+++ b/unotools/source/config/fltrcfg.cxx
@@ -66,9 +66,6 @@ using namespace com::sun::star::uno;
static SvtFilterOptions* pOptions=0;
-/* -----------------------------22.01.01 10:23--------------------------------
-
- ---------------------------------------------------------------------------*/
class SvtAppFilterOptions_Impl : public utl::ConfigItem
{
sal_Bool bLoadVBA;
@@ -99,17 +96,12 @@ public:
}
};
-/* -----------------------------22.01.01 11:08--------------------------------
-
- ---------------------------------------------------------------------------*/
SvtAppFilterOptions_Impl::~SvtAppFilterOptions_Impl()
{
if(IsModified())
Commit();
}
-/* -----------------------------22.01.01 10:38--------------------------------
- ---------------------------------------------------------------------------*/
void SvtAppFilterOptions_Impl::Commit()
{
Sequence<OUString> aNames(2);
@@ -131,10 +123,6 @@ void SvtAppFilterOptions_Impl::Notify( const Sequence< rtl::OUString >& )
// no listeners supported yet
}
-
-/* -----------------------------22.01.01 10:38--------------------------------
-
- ---------------------------------------------------------------------------*/
void SvtAppFilterOptions_Impl::Load()
{
Sequence<OUString> aNames(2);
@@ -243,9 +231,6 @@ void SvtCalcFilterOptions_Impl::Load()
bLoadExecutable = *(sal_Bool*)pValues[0].getValue();
}
-/* -----------------------------22.01.01 10:32--------------------------------
-
- ---------------------------------------------------------------------------*/
struct SvtFilterOptions_Impl
{
ULONG nFlags;
@@ -285,9 +270,7 @@ struct SvtFilterOptions_Impl
aImpressCfg.Load();
}
};
-/* -----------------------------22.01.01 10:34--------------------------------
- ---------------------------------------------------------------------------*/
void SvtFilterOptions_Impl::SetFlag( ULONG nFlag, BOOL bSet )
{
switch(nFlag)
@@ -307,9 +290,7 @@ void SvtFilterOptions_Impl::SetFlag( ULONG nFlag, BOOL bSet )
nFlags &= ~nFlag;
}
}
-/* -----------------------------22.01.01 10:35--------------------------------
- ---------------------------------------------------------------------------*/
BOOL SvtFilterOptions_Impl::IsFlag( ULONG nFlag ) const
{
BOOL bRet;
@@ -344,9 +325,7 @@ SvtFilterOptions::~SvtFilterOptions()
{
delete pImp;
}
-/* -----------------------------22.01.01 08:45--------------------------------
- ---------------------------------------------------------------------------*/
const Sequence<OUString>& SvtFilterOptions::GetPropertyNames()
{
static Sequence<OUString> aNames;
@@ -398,16 +377,12 @@ static ULONG lcl_GetFlag(sal_Int32 nProp)
}
return nFlag;
}
-/*-- 22.01.01 08:53:03---------------------------------------------------
- -----------------------------------------------------------------------*/
void SvtFilterOptions::Notify( const Sequence<OUString>& )
{
Load();
}
-/*-- 22.01.01 08:53:04---------------------------------------------------
- -----------------------------------------------------------------------*/
void SvtFilterOptions::Commit()
{
const Sequence<OUString>& aNames = GetPropertyNames();
@@ -424,9 +399,7 @@ void SvtFilterOptions::Commit()
}
PutProperties(aNames, aValues);
}
-/*-- 22.01.01 08:53:04---------------------------------------------------
- -----------------------------------------------------------------------*/
void SvtFilterOptions::Load()
{
pImp->Load();
diff --git a/unotools/source/config/javaoptions.cxx b/unotools/source/config/javaoptions.cxx
index 0820257..b9b2435 100644
--- a/unotools/source/config/javaoptions.cxx
+++ b/unotools/source/config/javaoptions.cxx
@@ -40,9 +40,7 @@ using namespace ::rtl;
#define C2U(cChar) OUString::createFromAscii(cChar)
#define CFG_READONLY_DEFAULT sal_False
-/* -----------------------------10.04.01 12:39--------------------------------
- ---------------------------------------------------------------------------*/
class SvtExecAppletsItem_Impl : public utl::ConfigItem
{
sal_Bool bExecute;
@@ -57,9 +55,7 @@ public:
void SetExecuteApplets(sal_Bool bSet);
sal_Bool IsReadOnly() const {return bRO;}
};
-/* -----------------------------10.02.2003 07:46------------------------------
- ---------------------------------------------------------------------------*/
void SvtExecAppletsItem_Impl::SetExecuteApplets(sal_Bool bSet)
{
OSL_ENSURE(!bRO, "SvtExecAppletsItem_Impl::SetExecuteApplets()\nYou tried to write on a
readonly value!\n");
@@ -69,9 +65,7 @@ void SvtExecAppletsItem_Impl::SetExecuteApplets(sal_Bool bSet)
SetModified();
}
}
-/* -----------------------------18.05.01 14:44--------------------------------
- ---------------------------------------------------------------------------*/
SvtExecAppletsItem_Impl::SvtExecAppletsItem_Impl() :
utl::ConfigItem(C2U("Office.Common/Java/Applet")),
bExecute (sal_False ),
@@ -139,9 +133,7 @@ struct SvtJavaOptions_Impl
pNames[3] = C2U("UserClassPath");
}
};
-/* -----------------------------18.05.01 13:28--------------------------------
- ---------------------------------------------------------------------------*/
SvtJavaOptions::SvtJavaOptions() :
utl::ConfigItem(C2U("Office.Java/VirtualMachine")),
pImpl(new SvtJavaOptions_Impl)
@@ -173,16 +165,12 @@ SvtJavaOptions::SvtJavaOptions() :
pImpl->bROUserClassPath = pROStates[3];
}
}
-/* -----------------------------18.05.01 13:28--------------------------------
- ---------------------------------------------------------------------------*/
SvtJavaOptions::~SvtJavaOptions()
{
delete pImpl;
}
-/*-- 18.05.01 13:28:35---------------------------------------------------
- -----------------------------------------------------------------------*/
void SvtJavaOptions::Commit()
{
pImpl->aExecItem.Commit();
@@ -243,37 +231,27 @@ void SvtJavaOptions::Commit()
aNames.realloc(nRealCount);
PutProperties(aNames,aValues);
}
-/*-- 18.05.01 13:28:35---------------------------------------------------
- -----------------------------------------------------------------------*/
sal_Bool SvtJavaOptions::IsEnabled() const
{
return pImpl->bEnabled;
}
-/*-- 18.05.01 13:28:35---------------------------------------------------
- -----------------------------------------------------------------------*/
sal_Bool SvtJavaOptions::IsSecurity()const
{
return pImpl->bSecurity;
}
-/*-- 18.05.01 13:28:35---------------------------------------------------
- -----------------------------------------------------------------------*/
sal_Int32 SvtJavaOptions::GetNetAccess() const
{
return pImpl->nNetAccess;
}
-/*-- 18.05.01 13:28:36---------------------------------------------------
- -----------------------------------------------------------------------*/
rtl::OUString& SvtJavaOptions::GetUserClassPath()const
{
return pImpl->sUserClassPath;
}
-/*-- 18.05.01 13:28:37---------------------------------------------------
- -----------------------------------------------------------------------*/
void SvtJavaOptions::SetEnabled(sal_Bool bSet)
{
OSL_ENSURE(!pImpl->bROEnabled, "SvtJavaOptions::SetEnabled()\nYou tried to write on a readonly
value!\n");
@@ -283,9 +261,7 @@ void SvtJavaOptions::SetEnabled(sal_Bool bSet)
SetModified();
}
}
-/*-- 18.05.01 13:28:38---------------------------------------------------
- -----------------------------------------------------------------------*/
void SvtJavaOptions::SetSecurity(sal_Bool bSet)
{
OSL_ENSURE(!pImpl->bROSecurity, "SvtJavaOptions::SetSecurity()\nYou tried to write on a
readonly value!\n");
@@ -295,9 +271,7 @@ void SvtJavaOptions::SetSecurity(sal_Bool bSet)
SetModified();
}
}
-/*-- 18.05.01 13:28:38---------------------------------------------------
- -----------------------------------------------------------------------*/
void SvtJavaOptions::SetNetAccess(sal_Int32 nSet)
{
OSL_ENSURE(!pImpl->bRONetAccess, "SvtJavaOptions::SetNetAccess()\nYou tried to write on a
readonly value!\n");
@@ -307,9 +281,7 @@ void SvtJavaOptions::SetNetAccess(sal_Int32 nSet)
SetModified();
}
}
-/*-- 18.05.01 13:28:38---------------------------------------------------
- -----------------------------------------------------------------------*/
void SvtJavaOptions::SetUserClassPath(const rtl::OUString& rSet)
{
OSL_ENSURE(!pImpl->bROUserClassPath, "SvtJavaOptions::SetUserClassPath()\nYou tried to write
on a readonly value!\n");
@@ -320,16 +292,12 @@ void SvtJavaOptions::SetUserClassPath(const rtl::OUString& rSet)
}
}
-/*-- 18.05.01 14:34:32---------------------------------------------------
- -----------------------------------------------------------------------*/
sal_Bool SvtJavaOptions::IsExecuteApplets() const
{
return pImpl->aExecItem.IsExecuteApplets();
}
-/*-- 18.05.01 14:34:32---------------------------------------------------
- -----------------------------------------------------------------------*/
void SvtJavaOptions::SetExecuteApplets(sal_Bool bSet)
{
if(!pImpl->aExecItem.IsReadOnly() && pImpl->aExecItem.IsExecuteApplets() != bSet)
@@ -338,9 +306,7 @@ void SvtJavaOptions::SetExecuteApplets(sal_Bool bSet)
SetModified();
}
}
-/*--10.02.2003 08:40---------------------------------------------------
------------------------------------------------------------------------*/
sal_Bool SvtJavaOptions::IsReadOnly( EOption eOption ) const
{
sal_Bool bRO = sal_True;
diff --git a/unotools/source/config/misccfg.cxx b/unotools/source/config/misccfg.cxx
index 128896f..89068f6 100644
--- a/unotools/source/config/misccfg.cxx
+++ b/unotools/source/config/misccfg.cxx
@@ -103,9 +103,7 @@ SfxMiscCfg::SfxMiscCfg() :
Load();
}
-/* -----------------------------02.03.01 15:31--------------------------------
- ---------------------------------------------------------------------------*/
SfxMiscCfg::~SfxMiscCfg()
{
}
@@ -150,9 +148,7 @@ void SfxMiscCfg::SetYear2000( sal_Int32 nSet )
SetModified();
nYear2000 = nSet;
}
-/* -----------------------------02.03.01 15:31--------------------------------
- ---------------------------------------------------------------------------*/
const Sequence<OUString>& SfxMiscCfg::GetPropertyNames()
{
static Sequence<OUString> aNames;
@@ -173,9 +169,7 @@ const Sequence<OUString>& SfxMiscCfg::GetPropertyNames()
}
return aNames;
}
-/* -----------------------------02.03.01 15:31--------------------------------
- ---------------------------------------------------------------------------*/
void SfxMiscCfg::Load()
{
const Sequence<OUString>& aNames = GetPropertyNames();
@@ -200,16 +194,12 @@ void SfxMiscCfg::Load()
}
}
}
-/* -----------------------------02.03.01 15:31--------------------------------
- ---------------------------------------------------------------------------*/
void SfxMiscCfg::Notify( const com::sun::star::uno::Sequence<rtl::OUString>& )
{
Load();
}
-/* -----------------------------02.03.01 15:31--------------------------------
- ---------------------------------------------------------------------------*/
void SfxMiscCfg::Commit()
{
const Sequence<OUString>& aNames = GetPropertyNames();
diff --git a/unotools/source/config/sourceviewconfig.cxx
b/unotools/source/config/sourceviewconfig.cxx
index 3cbc673..91aeb13 100644
--- a/unotools/source/config/sourceviewconfig.cxx
+++ b/unotools/source/config/sourceviewconfig.cxx
@@ -97,9 +97,7 @@ public:
SourceViewConfig_Impl* SourceViewConfig::m_pImplConfig = 0;
sal_Int32 SourceViewConfig::m_nRefCount = 0;
namespace { struct lclMutex : public rtl::Static< ::osl::Mutex, lclMutex > {}; }
-/* -----------------------------28.08.2002 16:45------------------------------
- ---------------------------------------------------------------------------*/
SourceViewConfig_Impl::SourceViewConfig_Impl() :
ConfigItem(OUString::createFromAscii("Office.Common/Font/SourceViewFont")),
m_nFontHeight(12),
@@ -107,15 +105,11 @@ SourceViewConfig_Impl::SourceViewConfig_Impl() :
{
Load();
}
-/* -----------------------------28.08.2002 16:45------------------------------
- ---------------------------------------------------------------------------*/
SourceViewConfig_Impl::~SourceViewConfig_Impl()
{
}
-/* -----------------------------28.08.2002 16:25------------------------------
- ---------------------------------------------------------------------------*/
Sequence< OUString > SourceViewConfig_Impl::GetPropertyNames()
{
//this list needs exactly to mach the enum PropertyNameIndex
@@ -134,9 +128,6 @@ Sequence< OUString > SourceViewConfig_Impl::GetPropertyNames()
return aNames;
}
-/*-- 28.08.2002 16:37:59---------------------------------------------------
-
- -----------------------------------------------------------------------*/
void SourceViewConfig_Impl::Load()
{
Sequence< OUString > aNames = GetPropertyNames();
@@ -160,16 +151,12 @@ void SourceViewConfig_Impl::Load()
}
}
}
-/*-- 28.08.2002 16:38:00---------------------------------------------------
- -----------------------------------------------------------------------*/
void SourceViewConfig_Impl::Notify( const Sequence< OUString >& )
{
Load();
}
-/*-- 28.08.2002 16:38:00---------------------------------------------------
- -----------------------------------------------------------------------*/
void SourceViewConfig_Impl::Commit()
{
ClearModified();
@@ -191,9 +178,7 @@ void SourceViewConfig_Impl::Commit()
NotifyListeners(0);
}
-/*-- 28.08.2002 16:32:19---------------------------------------------------
- -----------------------------------------------------------------------*/
SourceViewConfig::SourceViewConfig()
{
{
@@ -209,9 +194,7 @@ SourceViewConfig::SourceViewConfig()
m_pImplConfig->AddListener( this );
}
-/*-- 28.08.2002 16:32:19---------------------------------------------------
- -----------------------------------------------------------------------*/
SourceViewConfig::~SourceViewConfig()
{
m_pImplConfig->RemoveListener( this );
@@ -223,44 +206,32 @@ SourceViewConfig::~SourceViewConfig()
DELETEZ( m_pImplConfig );
}
}
-/*-- 28.08.2002 16:32:19---------------------------------------------------
- -----------------------------------------------------------------------*/
const OUString& SourceViewConfig::GetFontName() const
{
return m_pImplConfig->GetFontName();
}
-/*-- 28.08.2002 16:32:20---------------------------------------------------
- -----------------------------------------------------------------------*/
void SourceViewConfig::SetFontName(const OUString& rName)
{
m_pImplConfig->SetFontName(rName);
}
-/*-- 28.08.2002 16:32:20---------------------------------------------------
- -----------------------------------------------------------------------*/
sal_Int16 SourceViewConfig::GetFontHeight() const
{
return m_pImplConfig->GetFontHeight();
}
-/*-- 28.08.2002 16:32:20---------------------------------------------------
- -----------------------------------------------------------------------*/
void SourceViewConfig::SetFontHeight(sal_Int16 nHeight)
{
m_pImplConfig->SetFontHeight(nHeight);
}
-/*-- 28.08.2002 16:32:20---------------------------------------------------
- -----------------------------------------------------------------------*/
sal_Bool SourceViewConfig::IsShowProportionalFontsOnly() const
{
return m_pImplConfig->IsShowProportionalFontsOnly();
}
-/*-- 28.08.2002 16:32:20---------------------------------------------------
- -----------------------------------------------------------------------*/
void SourceViewConfig::SetShowProportionalFontsOnly(sal_Bool bSet)
{
m_pImplConfig->SetShowProportionalFontsOnly(bSet);
diff --git a/unotools/source/config/syslocaleoptions.cxx
b/unotools/source/config/syslocaleoptions.cxx
index ba50b66..c9a0125 100644
--- a/unotools/source/config/syslocaleoptions.cxx
+++ b/unotools/source/config/syslocaleoptions.cxx
@@ -578,19 +578,12 @@ void SvtSysLocaleOptions::SetCurrencyConfigString( const OUString& rStr )
pOptions->SetCurrencyString( rStr );
}
-
-
-/*-- 11.02.2004 13:31:41---------------------------------------------------
-
- -----------------------------------------------------------------------*/
sal_Bool SvtSysLocaleOptions::IsDecimalSeparatorAsLocale() const
{
MutexGuard aGuard( GetMutex() );
return pOptions->IsDecimalSeparatorAsLocale();
}
-/*-- 11.02.2004 13:31:41---------------------------------------------------
- -----------------------------------------------------------------------*/
void SvtSysLocaleOptions::SetDecimalSeparatorAsLocale( sal_Bool bSet)
{
MutexGuard aGuard( GetMutex() );
diff --git a/unotools/source/config/useroptions.cxx b/unotools/source/config/useroptions.cxx
index 8d3df79..ef54de9 100644
--- a/unotools/source/config/useroptions.cxx
+++ b/unotools/source/config/useroptions.cxx
@@ -146,30 +146,21 @@ static sal_Int32 nRefCount = 0;
#define READONLY_DEFAULT sal_False
-/*-- 16.06.2009 14:22:56---------------------------------------------------
-
- -----------------------------------------------------------------------*/
SvtUserConfigChangeListener_Impl::SvtUserConfigChangeListener_Impl(SvtUserOptions_Impl& rParent) :
m_rParent( rParent )
{
}
-/*-- 16.06.2009 14:22:56---------------------------------------------------
- -----------------------------------------------------------------------*/
SvtUserConfigChangeListener_Impl::~SvtUserConfigChangeListener_Impl()
{
}
-/*-- 16.06.2009 14:22:56---------------------------------------------------
- -----------------------------------------------------------------------*/
void SvtUserConfigChangeListener_Impl::changesOccurred( const util::ChangesEvent& rEvent )
throw(RuntimeException)
{
if(rEvent.Changes.getLength())
m_rParent.Notify();
}
-/*-- 16.06.2009 14:22:56---------------------------------------------------
- -----------------------------------------------------------------------*/
void SvtUserConfigChangeListener_Impl::disposing( const lang::EventObject& rSource )
throw(RuntimeException)
{
try
--
1.7.1
Context
- [Libreoffice] [PATCH] Remove bogus comments in libs-gui · Alexander O. Anisimov
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.