This patch removes bogus comments found in the modcfg.cxx file
Signed-off-by: Prashant Shah <[email protected]>
---
sw/source/ui/config/modcfg.cxx | 62 ++-------------------------------------
1 files changed, 4 insertions(+), 58 deletions(-)
diff --git a/sw/source/ui/config/modcfg.cxx b/sw/source/ui/config/modcfg.cxx
index ca921f6..97d3699 100644
--- a/sw/source/ui/config/modcfg.cxx
+++ b/sw/source/ui/config/modcfg.cxx
@@ -60,9 +60,7 @@ using namespace com::sun::star::uno;
#define GLOB_NAME_CHART 4
SV_IMPL_PTRARR_SORT(InsCapOptArr, InsCaptionOptPtr)
-/* -----------------03.11.98 13:46-------------------
- *
- * --------------------------------------------------*/
+
InsCaptionOpt* InsCaptionOptArr::Find(const SwCapObjType eType, const SvGlobalName *pOleId) const
{
for (USHORT i = 0; i < Count(); i++ )
@@ -78,10 +76,6 @@ InsCaptionOpt* InsCaptionOptArr::Find(const SwCapObjType eType, const SvGlobalNa
return 0;
}
-/* -----------------03.11.98 15:05-------------------
- *
- * --------------------------------------------------*/
-
const InsCaptionOpt* SwModuleOptions::GetCapOption(
BOOL bHTML, const SwCapObjType eType, const SvGlobalName *pOleId)
{
@@ -104,10 +98,6 @@ const InsCaptionOpt* SwModuleOptions::GetCapOption(
}
}
-/* -----------------03.11.98 15:05-------------------
- *
- * --------------------------------------------------*/
-
BOOL SwModuleOptions::SetCapOption(BOOL bHTML, const InsCaptionOpt* pOpt)
{
BOOL bRet = FALSE;
@@ -148,9 +138,7 @@ BOOL SwModuleOptions::SetCapOption(BOOL bHTML, const InsCaptionOpt* pOpt)
return bRet;
}
-/*-----------------13.01.97 12.44-------------------
---------------------------------------------------*/
SwModuleOptions::SwModuleOptions() :
aInsertConfig(FALSE),
aWebInsertConfig(TRUE),
@@ -159,9 +147,7 @@ SwModuleOptions::SwModuleOptions() :
bHideFieldTips(FALSE)
{
}
-/* -----------------------------19.01.01 12:26--------------------------------
- ---------------------------------------------------------------------------*/
String SwModuleOptions::ConvertWordDelimiter(const String& rDelim, BOOL bFromUI)
{
String sReturn;
@@ -249,9 +235,7 @@ String SwModuleOptions::ConvertWordDelimiter(const String& rDelim, BOOL bFromUI)
}
return sReturn;
}
-/* -----------------------------10.10.00 16:22--------------------------------
- ---------------------------------------------------------------------------*/
const Sequence<OUString>& SwRevisionConfig::GetPropertyNames()
{
static Sequence<OUString> aNames;
@@ -276,9 +260,7 @@ const Sequence<OUString>& SwRevisionConfig::GetPropertyNames()
}
return aNames;
}
-/*-- 10.10.00 16:22:22---------------------------------------------------
- -----------------------------------------------------------------------*/
SwRevisionConfig::SwRevisionConfig() :
ConfigItem(C2U("Office.Writer/Revision"),
CONFIG_MODE_DELAYED_UPDATE|CONFIG_MODE_RELEASE_TREE)
@@ -295,15 +277,11 @@ SwRevisionConfig::SwRevisionConfig() :
Load();
}
-/*-- 10.10.00 16:22:23---------------------------------------------------
- -----------------------------------------------------------------------*/
SwRevisionConfig::~SwRevisionConfig()
{
}
-/*-- 10.10.00 16:22:56---------------------------------------------------
- -----------------------------------------------------------------------*/
sal_Int32 lcl_ConvertAttrToCfg(const AuthorCharAttr& rAttr)
{
sal_Int32 nRet = 0;
@@ -328,7 +306,7 @@ sal_Int32 lcl_ConvertAttrToCfg(const AuthorCharAttr& rAttr)
}
return nRet;
}
-//-----------------------------------------------------------------------------
+
void SwRevisionConfig::Notify( const ::com::sun::star::uno::Sequence< rtl::OUString >& ) {}
void SwRevisionConfig::Commit()
@@ -355,9 +333,7 @@ void SwRevisionConfig::Commit()
}
PutProperties(aNames, aValues);
}
-/*-- 10.10.00 16:22:56---------------------------------------------------
- -----------------------------------------------------------------------*/
void lcl_ConvertCfgToAttr(sal_Int32 nVal, AuthorCharAttr& rAttr, sal_Bool bDelete = sal_False)
{
rAttr.nItemId = rAttr.nAttr = 0;
@@ -413,9 +389,7 @@ void SwRevisionConfig::Load()
}
}
}
-/* -----------------------------10.10.00 16:22--------------------------------
- ---------------------------------------------------------------------------*/
enum InsertConfigProp
{
INS_PROP_TABLE_HEADER = 0,
@@ -630,9 +604,7 @@ const Sequence<OUString>& SwInsertConfig::GetPropertyNames()
}
return bIsWeb ? aWebNames : aNames;
}
-/*-- 10.10.00 16:22:22---------------------------------------------------
- -----------------------------------------------------------------------*/
SwInsertConfig::SwInsertConfig(sal_Bool bWeb) :
ConfigItem(bWeb ? C2U("Office.WriterWeb/Insert") : C2U("Office.Writer/Insert"),
CONFIG_MODE_DELAYED_UPDATE|CONFIG_MODE_RELEASE_TREE),
@@ -653,17 +625,13 @@ SwInsertConfig::SwInsertConfig(sal_Bool bWeb) :
Load();
}
-/*-- 10.10.00 16:22:23---------------------------------------------------
- -----------------------------------------------------------------------*/
SwInsertConfig::~SwInsertConfig()
{
delete pCapOptions;
delete pOLEMiscOpt;
}
-/*-- 10.10.00 16:22:56---------------------------------------------------
- -----------------------------------------------------------------------*/
void lcl_WriteOpt(const InsCaptionOpt& rOpt, Any* pValues, sal_Int32 nProp, sal_Int32 nOffset)
{
switch(nOffset)
@@ -685,7 +653,7 @@ void lcl_WriteOpt(const InsCaptionOpt& rOpt, Any* pValues, sal_Int32 nProp, sal_
case 9: pValues[nProp] <<= rOpt.CopyAttributes(); break; //ApplyAttributes
}
}
-//-----------------------------------------------------------------------------
+
void SwInsertConfig::Notify( const ::com::sun::star::uno::Sequence< rtl::OUString >& ) {}
void SwInsertConfig::Commit()
@@ -863,9 +831,7 @@ void SwInsertConfig::Commit()
}
PutProperties(aNames, aValues);
}
-/*-- 10.10.00 16:22:56---------------------------------------------------
- -----------------------------------------------------------------------*/
void lcl_ReadOpt(InsCaptionOpt& rOpt, const Any* pValues, sal_Int32 nProp, sal_Int32 nOffset)
{
switch(nOffset)
@@ -932,7 +898,7 @@ void lcl_ReadOpt(InsCaptionOpt& rOpt, const Any* pValues, sal_Int32 nProp, sal_I
break;
}
}
-//-----------------------------------------------------------------------------
+
void SwInsertConfig::Load()
{
const Sequence<OUString>& aNames = GetPropertyNames();
@@ -1163,9 +1129,7 @@ void SwInsertConfig::Load()
aInsTblOpts.mnInsMode = nInsTblFlags;
}
}
-/* -----------------------------10.10.00 16:22--------------------------------
- ---------------------------------------------------------------------------*/
const Sequence<OUString>& SwTableConfig::GetPropertyNames()
{
const int nCount = 8;
@@ -1186,24 +1150,18 @@ const Sequence<OUString>& SwTableConfig::GetPropertyNames()
pNames[i] = OUString::createFromAscii(aPropNames[i]);
return aNames;
}
-/*-- 10.10.00 16:22:22---------------------------------------------------
- -----------------------------------------------------------------------*/
SwTableConfig::SwTableConfig(sal_Bool bWeb) :
ConfigItem(bWeb ? C2U("Office.WriterWeb/Table") : C2U("Office.Writer/Table"),
CONFIG_MODE_DELAYED_UPDATE|CONFIG_MODE_RELEASE_TREE)
{
Load();
}
-/*-- 10.10.00 16:22:23---------------------------------------------------
- -----------------------------------------------------------------------*/
SwTableConfig::~SwTableConfig()
{
}
-/*-- 10.10.00 16:22:56---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwTableConfig::Notify( const ::com::sun::star::uno::Sequence< rtl::OUString >& ) {}
void SwTableConfig::Commit()
@@ -1229,9 +1187,7 @@ void SwTableConfig::Commit()
}
PutProperties(aNames, aValues);
}
-/*-- 10.10.00 16:22:56---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwTableConfig::Load()
{
const Sequence<OUString>& aNames = GetPropertyNames();
@@ -1260,9 +1216,7 @@ void SwTableConfig::Load()
}
}
}
-/*-- 18.01.01 17:02:47---------------------------------------------------
- -----------------------------------------------------------------------*/
SwMiscConfig::SwMiscConfig() :
ConfigItem(C2U("Office.Writer"),
CONFIG_MODE_DELAYED_UPDATE|CONFIG_MODE_RELEASE_TREE),
@@ -1277,15 +1231,11 @@ SwMiscConfig::SwMiscConfig() :
{
Load();
}
-/*-- 18.01.01 17:02:47---------------------------------------------------
- -----------------------------------------------------------------------*/
SwMiscConfig::~SwMiscConfig()
{
}
-/*-- 18.01.01 17:02:47---------------------------------------------------
- -----------------------------------------------------------------------*/
const Sequence<OUString>& SwMiscConfig::GetPropertyNames()
{
static Sequence<OUString> aNames;
@@ -1314,9 +1264,7 @@ const Sequence<OUString>& SwMiscConfig::GetPropertyNames()
}
return aNames;
}
-/*-- 18.01.01 17:02:47---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwMiscConfig::Notify( const ::com::sun::star::uno::Sequence< rtl::OUString >& ) {}
void SwMiscConfig::Commit()
@@ -1349,9 +1297,7 @@ void SwMiscConfig::Commit()
}
PutProperties(aNames, aValues);
}
-/*-- 18.01.01 17:02:48---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwMiscConfig::Load()
{
const Sequence<OUString>& aNames = GetPropertyNames();
_______________________________________________
LibreOffice mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice