[Libreoffice-commits] .: sw/source
Norbert Thiebaud
nthiebaud at kemper.freedesktop.org
Sun Oct 10 11:57:54 PDT 2010
sw/source/ui/config/barcfg.cxx | 14 -
sw/source/ui/config/caption.cxx | 20 --
sw/source/ui/config/cfgitems.cxx | 77 -------
sw/source/ui/config/dbconfig.cxx | 12 -
sw/source/ui/config/fontcfg.cxx | 27 --
sw/source/ui/config/mailconfigpage.cxx | 45 ----
sw/source/ui/config/modcfg.cxx | 62 ------
sw/source/ui/config/optcomp.cxx | 24 --
sw/source/ui/config/optload.cxx | 85 --------
sw/source/ui/config/optpage.cxx | 111 -----------
sw/source/ui/config/prtopt.cxx | 6
sw/source/ui/config/usrpref.cxx | 56 -----
sw/source/ui/config/viewopt.cxx | 84 --------
sw/source/ui/dialog/uiregionsw.cxx | 137 +------------
sw/source/ui/fldui/DropDownFieldDialog.cxx | 7
sw/source/ui/fldui/changedb.cxx | 26 --
sw/source/ui/fldui/flddb.cxx | 48 ----
sw/source/ui/fldui/flddinf.cxx | 38 ---
sw/source/ui/fldui/flddinf.hxx | 3
sw/source/ui/fldui/flddok.cxx | 49 ----
sw/source/ui/fldui/flddok.hxx | 4
sw/source/ui/fldui/fldedt.cxx | 34 ---
sw/source/ui/fldui/fldfunc.cxx | 54 -----
sw/source/ui/fldui/fldmgr.cxx | 11 -
sw/source/ui/fldui/fldpage.cxx | 22 --
sw/source/ui/fldui/fldpage.hxx | 4
sw/source/ui/fldui/fldref.hxx | 4
sw/source/ui/fldui/fldtdlg.cxx | 30 ---
sw/source/ui/fldui/fldvar.cxx | 62 ------
sw/source/ui/fldui/fldvar.hxx | 8
sw/source/ui/fldui/fldwrap.cxx | 31 ---
sw/source/ui/index/cntex.cxx | 10 -
sw/source/ui/index/cnttab.cxx | 290 +----------------------------
sw/source/ui/index/idxmrk.cxx | 14 -
sw/source/ui/index/swuiidxmrk.cxx | 98 ---------
sw/source/ui/index/toxmgr.cxx | 11 -
sw/source/ui/utlui/bookctrl.cxx | 12 -
sw/source/ui/utlui/condedit.cxx | 8
sw/source/ui/utlui/content.cxx | 149 +-------------
sw/source/ui/utlui/glbltree.cxx | 105 ----------
sw/source/ui/utlui/initui.cxx | 4
sw/source/ui/utlui/navicfg.cxx | 13 -
sw/source/ui/utlui/numfmtlb.cxx | 39 ---
sw/source/ui/utlui/prcntfld.cxx | 66 ------
sw/source/ui/utlui/swrenamexnameddlg.cxx | 8
sw/source/ui/utlui/tmplctrl.cxx | 16 -
sw/source/ui/utlui/uiitems.cxx | 17 -
sw/source/ui/utlui/uitool.cxx | 16 -
sw/source/ui/utlui/unotools.cxx | 34 ---
sw/source/ui/utlui/viewlayoutctrl.cxx | 10 -
sw/source/ui/utlui/zoomctrl.cxx | 12 -
51 files changed, 77 insertions(+), 2050 deletions(-)
New commits:
commit 30b30e38d627479281a1cc4660284744304ba895
Author: Prashant Shah <pshah.mumbai at gmail.com>
Date: Sun Oct 10 13:47:31 2010 -0500
Remove bogus comment
diff --git a/sw/source/ui/config/barcfg.cxx b/sw/source/ui/config/barcfg.cxx
index 91731c9..bb6ad86 100644
--- a/sw/source/ui/config/barcfg.cxx
+++ b/sw/source/ui/config/barcfg.cxx
@@ -47,9 +47,6 @@ using namespace com::sun::star::uno;
#define SEL_TYPE_BEZIER 3
#define SEL_TYPE_GRAPHIC 4
-/* ---------------------------------------------------------------------------
-
- ---------------------------------------------------------------------------*/
SwToolbarConfigItem::SwToolbarConfigItem( BOOL bWeb ) :
ConfigItem(bWeb ? C2U("Office.WriterWeb/ObjectBar") : C2U("Office.Writer/ObjectBar"),
CONFIG_MODE_DELAYED_UPDATE|CONFIG_MODE_RELEASE_TREE)
@@ -74,15 +71,11 @@ SwToolbarConfigItem::SwToolbarConfigItem( BOOL bWeb ) :
}
}
}
-/* ---------------------------------------------------------------------------
- ---------------------------------------------------------------------------*/
SwToolbarConfigItem::~SwToolbarConfigItem()
{
}
-/* ---------------------------------------------------------------------------
- ---------------------------------------------------------------------------*/
sal_Int32 lcl_getArrayIndex(int nSelType)
{
sal_Int32 nRet = -1;
@@ -101,9 +94,7 @@ sal_Int32 lcl_getArrayIndex(int nSelType)
nRet = SEL_TYPE_GRAPHIC;
return nRet;
}
-/* -----------------------------10.10.00 14:38--------------------------------
- ---------------------------------------------------------------------------*/
void SwToolbarConfigItem::SetTopToolbar( sal_Int32 nSelType, sal_Int32 nBarId )
{
sal_Int32 nProp = lcl_getArrayIndex(nSelType);
@@ -113,9 +104,7 @@ void SwToolbarConfigItem::SetTopToolbar( sal_Int32 nSelType, sal_Int32 nBarId )
SetModified();
}
}
-/* -----------------------------10.10.00 13:33--------------------------------
- ---------------------------------------------------------------------------*/
Sequence<OUString> SwToolbarConfigItem::GetPropertyNames()
{
static const char* aPropNames[] =
@@ -133,9 +122,7 @@ Sequence<OUString> SwToolbarConfigItem::GetPropertyNames()
pNames[i] = OUString::createFromAscii(aPropNames[i]);
return aNames;
}
-/* -----------------------------10.10.00 13:36--------------------------------
- ---------------------------------------------------------------------------*/
void SwToolbarConfigItem::Commit()
{
Sequence<OUString> aNames = GetPropertyNames();
@@ -149,4 +136,3 @@ void SwToolbarConfigItem::Commit()
}
void SwToolbarConfigItem::Notify( const ::com::sun::star::uno::Sequence< rtl::OUString >& ) {}
-
diff --git a/sw/source/ui/config/caption.cxx b/sw/source/ui/config/caption.cxx
index d311a67..beb2d95 100644
--- a/sw/source/ui/config/caption.cxx
+++ b/sw/source/ui/config/caption.cxx
@@ -37,10 +37,6 @@
#define VERSION_01 1
#define CAPTION_VERSION VERSION_01
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
InsCaptionOpt::InsCaptionOpt(const SwCapObjType eType, const SvGlobalName* pOleId) :
bUseCaption(FALSE),
eObjType(eType),
@@ -56,27 +52,15 @@ InsCaptionOpt::InsCaptionOpt(const SwCapObjType eType, const SvGlobalName* pOleI
aOleId = *pOleId;
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
InsCaptionOpt::InsCaptionOpt(const InsCaptionOpt& rOpt)
{
*this = rOpt;
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
InsCaptionOpt::~InsCaptionOpt()
{
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
InsCaptionOpt& InsCaptionOpt::operator=( const InsCaptionOpt& rOpt )
{
bUseCaption = rOpt.bUseCaption;
@@ -96,10 +80,6 @@ InsCaptionOpt& InsCaptionOpt::operator=( const InsCaptionOpt& rOpt )
return *this;
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
BOOL InsCaptionOpt::operator==( const InsCaptionOpt& rOpt ) const
{
return (eObjType == rOpt.eObjType &&
diff --git a/sw/source/ui/config/cfgitems.cxx b/sw/source/ui/config/cfgitems.cxx
index ee7eb25..dee4b51 100644
--- a/sw/source/ui/config/cfgitems.cxx
+++ b/sw/source/ui/config/cfgitems.cxx
@@ -42,14 +42,11 @@
#include "cfgitems.hxx"
#include "crstate.hxx"
-
-
TYPEINIT1_AUTOFACTORY(SwDocDisplayItem, SfxPoolItem)
TYPEINIT1_AUTOFACTORY(SwElemItem, SfxPoolItem)
TYPEINIT1_AUTOFACTORY(SwAddPrinterItem, SfxPoolItem)
TYPEINIT1_AUTOFACTORY(SwShadowCursorItem, SfxPoolItem)
-
SwDocDisplayItem::SwDocDisplayItem( USHORT _nWhich ) :
SfxPoolItem(_nWhich),
aIndexBackgrndCol(COL_GRAY)
@@ -69,17 +66,12 @@ SwDocDisplayItem::SwDocDisplayItem( USHORT _nWhich ) :
/*------------OS 12.01.95 -------------------------------------------
Item fuer Einstellungsdialog, Seite Dokumentansicht
--------------------------------------------------------------------*/
-
SwDocDisplayItem::SwDocDisplayItem( const SwDocDisplayItem& rDocDisplayItem ):
SfxPoolItem(rDocDisplayItem)
{
*this = rDocDisplayItem;
};
-/*----------------------- -------------------------------------------
-
---------------------------------------------------------------------*/
-
SwDocDisplayItem::SwDocDisplayItem(const SwViewOption& rVOpt, USHORT _nWhich ) :
SfxPoolItem( _nWhich )
{
@@ -94,19 +86,12 @@ SwDocDisplayItem::SwDocDisplayItem(const SwViewOption& rVOpt, USHORT _nWhich ) :
bShowHiddenPara = rVOpt.IsShowHiddenPara();
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
SfxPoolItem* SwDocDisplayItem::Clone( SfxItemPool* ) const
{
return new SwDocDisplayItem( *this );
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
int SwDocDisplayItem::operator==( const SfxPoolItem& rAttr ) const
{
DBG_ASSERT( SfxPoolItem::operator==(rAttr), "unterschiedliche Typen" );
@@ -124,12 +109,6 @@ int SwDocDisplayItem::operator==( const SfxPoolItem& rAttr ) const
bShowHiddenPara == rItem.bShowHiddenPara );
}
-
-/*-----------------31.08.96 14.14-------------------
-
---------------------------------------------------*/
-
-
void SwDocDisplayItem::operator=( const SwDocDisplayItem& rDocDisplayItem)
{
bParagraphEnd = rDocDisplayItem.bParagraphEnd ;
@@ -143,9 +122,6 @@ void SwDocDisplayItem::operator=( const SwDocDisplayItem& rDocDisplayItem)
bShowHiddenPara = rDocDisplayItem.bShowHiddenPara ;
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
void SwDocDisplayItem::FillViewOptions( SwViewOption& rVOpt) const
{
rVOpt.SetParagraph (bParagraphEnd );
@@ -159,10 +135,6 @@ void SwDocDisplayItem::FillViewOptions( SwViewOption& rVOpt) const
rVOpt.SetShowHiddenPara(bShowHiddenPara );
}
-
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
SwElemItem::SwElemItem( USHORT _nWhich ) :
SfxPoolItem(_nWhich)
{
@@ -182,18 +154,12 @@ SwElemItem::SwElemItem( USHORT _nWhich ) :
bFieldName =
bNotes = FALSE;
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
SwElemItem::SwElemItem( const SwElemItem& rElemItem ):
SfxPoolItem(rElemItem)
{
*this = rElemItem;
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
SwElemItem::SwElemItem(const SwViewOption& rVOpt, USHORT _nWhich) :
SfxPoolItem( _nWhich )
@@ -216,19 +182,11 @@ SwElemItem::SwElemItem(const SwViewOption& rVOpt, USHORT _nWhich) :
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
SfxPoolItem* SwElemItem::Clone( SfxItemPool* ) const
{
return new SwElemItem( *this );
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
int SwElemItem::operator==( const SfxPoolItem& rAttr ) const
{
DBG_ASSERT( SfxPoolItem::operator==(rAttr), "unterschiedliche Typen" );
@@ -252,11 +210,6 @@ int SwElemItem::operator==( const SfxPoolItem& rAttr ) const
bNotes == rItem.bNotes );
}
-/*-----------------31.08.96 14.13-------------------
-
---------------------------------------------------*/
-
-
void SwElemItem::operator=( const SwElemItem& rElemItem)
{
bHorzScrollbar = rElemItem. bHorzScrollbar ;
@@ -276,10 +229,6 @@ void SwElemItem::operator=( const SwElemItem& rElemItem)
bNotes = rElemItem.bNotes ;
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
void SwElemItem::FillViewOptions( SwViewOption& rVOpt) const
{
rVOpt.SetViewHScrollBar(bHorzScrollbar );
@@ -300,11 +249,9 @@ void SwElemItem::FillViewOptions( SwViewOption& rVOpt) const
rVOpt.SetPostIts (bNotes );
}
-
/*--------------------------------------------------------------------
Beschreibung: CopyCTOR
--------------------------------------------------------------------*/
-
SwAddPrinterItem::SwAddPrinterItem( const SwAddPrinterItem& rAddPrinterItem ):
SfxPoolItem(rAddPrinterItem),
SwPrintData( rAddPrinterItem )
@@ -314,33 +261,25 @@ SwAddPrinterItem::SwAddPrinterItem( const SwAddPrinterItem& rAddPrinterItem ):
/*--------------------------------------------------------------------
Beschreibung: CTOR fuer leeres Item
--------------------------------------------------------------------*/
-
SwAddPrinterItem::SwAddPrinterItem( USHORT _nWhich):
SfxPoolItem(_nWhich)
{
}
+
/*--------------------------------------------------------------------
Beschreibung: CTOR aus SwPrintOptions
--------------------------------------------------------------------*/
-
SwAddPrinterItem::SwAddPrinterItem( USHORT _nWhich, const SwPrintData& rPrtData ) :
SfxPoolItem(_nWhich)
{
SwPrintData::operator=(rPrtData);
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
SfxPoolItem* SwAddPrinterItem::Clone( SfxItemPool* ) const
{
return new SwAddPrinterItem( *this );
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
int SwAddPrinterItem::operator==( const SfxPoolItem& rAttr ) const
{
DBG_ASSERT( SfxPoolItem::operator==(rAttr), "unterschiedliche Typen" );
@@ -349,10 +288,10 @@ int SwAddPrinterItem::operator==( const SfxPoolItem& rAttr ) const
return SwPrintData::operator==(rItem);
}
+
/*-----------------03.11.97 10:00-------------------
Item fuer Einstellungsdialog, ShadowCursorSeite
--------------------------------------------------*/
-
SwShadowCursorItem::SwShadowCursorItem( USHORT _nWhich )
: SfxPoolItem( _nWhich ),
eMode( FILL_TAB )
@@ -401,10 +340,6 @@ void SwShadowCursorItem::FillViewOptions( SwViewOption& rVOpt ) const
}
#ifdef DBG_UTIL
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
SwTestItem::SwTestItem( const SwTestItem& rTestItem ):
SfxPoolItem(rTestItem)
{
@@ -420,19 +355,11 @@ SwTestItem::SwTestItem( const SwTestItem& rTestItem ):
bTest10=rTestItem.bTest10;
};
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
SfxPoolItem* SwTestItem::Clone( SfxItemPool* ) const
{
return new SwTestItem( *this );
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
int SwTestItem::operator==( const SfxPoolItem& rAttr ) const
{
DBG_ASSERT( SfxPoolItem::operator==(rAttr), "unterschiedliche Typen" );
diff --git a/sw/source/ui/config/dbconfig.cxx b/sw/source/ui/config/dbconfig.cxx
index e189fe7..c1db46c 100644
--- a/sw/source/ui/config/dbconfig.cxx
+++ b/sw/source/ui/config/dbconfig.cxx
@@ -67,9 +67,7 @@ const Sequence<OUString>& SwDBConfig::GetPropertyNames()
}
return aNames;
}
-/* -----------------------------06.09.00 16:44--------------------------------
- ---------------------------------------------------------------------------*/
SwDBConfig::SwDBConfig() :
ConfigItem(C2U("Office.DataAccess"),
CONFIG_MODE_DELAYED_UPDATE|CONFIG_MODE_RELEASE_TREE),
@@ -77,17 +75,13 @@ SwDBConfig::SwDBConfig() :
pBibImpl(0)
{
};
-/* -----------------------------06.09.00 16:50--------------------------------
- ---------------------------------------------------------------------------*/
SwDBConfig::~SwDBConfig()
{
delete pAdrImpl;
delete pBibImpl;
}
-/* -----------------------------20.02.01 12:32--------------------------------
- ---------------------------------------------------------------------------*/
void SwDBConfig::Load()
{
const Sequence<OUString>& rNames = GetPropertyNames();
@@ -118,18 +112,14 @@ void SwDBConfig::Load()
}
}
}
-/* -----------------------------20.02.01 12:36--------------------------------
- ---------------------------------------------------------------------------*/
const SwDBData& SwDBConfig::GetAddressSource()
{
if(!pAdrImpl)
Load();
return *pAdrImpl;
}
-/* -----------------29.11.2002 11:43-----------------
- *
- * --------------------------------------------------*/
+
const SwDBData& SwDBConfig::GetBibliographySource()
{
if(!pBibImpl)
diff --git a/sw/source/ui/config/fontcfg.cxx b/sw/source/ui/config/fontcfg.cxx
index 89e7f14..80a179f 100644
--- a/sw/source/ui/config/fontcfg.cxx
+++ b/sw/source/ui/config/fontcfg.cxx
@@ -28,7 +28,6 @@
// MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_sw.hxx"
-
#include <fontcfg.hxx>
#include <i18npool/mslangid.hxx>
#include <vcl/outdev.hxx>
@@ -44,18 +43,13 @@ using namespace utl;
using rtl::OUString;
using namespace com::sun::star::uno;
-/* -----------------07.10.2002 12:15-----------------
- *
- * --------------------------------------------------*/
inline LanguageType lcl_LanguageOfType(sal_Int16 nType, sal_Int16 eWestern, sal_Int16 eCJK, sal_Int16 eCTL)
{
return LanguageType(
nType < FONT_STANDARD_CJK ? eWestern :
nType >= FONT_STANDARD_CTL ? eCTL : eCJK);
}
-/* -----------------------------08.09.00 15:52--------------------------------
- ---------------------------------------------------------------------------*/
Sequence<OUString> SwStdFontConfig::GetPropertyNames()
{
Sequence<OUString> aNames;
@@ -104,9 +98,6 @@ Sequence<OUString> SwStdFontConfig::GetPropertyNames()
}
return aNames;
}
-/*-----------------03.09.96 15.00-------------------
-
---------------------------------------------------*/
SwStdFontConfig::SwStdFontConfig() :
utl::ConfigItem(C2U("Office.Writer"))
@@ -151,9 +142,7 @@ SwStdFontConfig::SwStdFontConfig() :
}
}
}
-/* -----------------------------08.09.00 15:58--------------------------------
- ---------------------------------------------------------------------------*/
void SwStdFontConfig::Commit()
{
Sequence<OUString> aNames = GetPropertyNames();
@@ -184,14 +173,11 @@ void SwStdFontConfig::Commit()
}
PutProperties(aNames, aValues);
}
-/* -----------------------------08.09.00 15:56--------------------------------
- ---------------------------------------------------------------------------*/
SwStdFontConfig::~SwStdFontConfig()
-{}
-/*-----------------18.01.97 10.05-------------------
+{
+}
---------------------------------------------------*/
BOOL SwStdFontConfig::IsFontDefault(USHORT nFontType) const
{
BOOL bSame = sal_False;
@@ -291,9 +277,6 @@ String SwStdFontConfig::GetDefaultFor(USHORT nFontType, LanguageType eLang)
return aFont.GetName();
}
-/*-- 11.10.2005 10:43:43---------------------------------------------------
-
- -----------------------------------------------------------------------*/
sal_Int32 SwStdFontConfig::GetDefaultHeightFor(USHORT nFontType, LanguageType eLang)
{
sal_Int32 nRet = FONTSIZE_DEFAULT;
@@ -315,9 +298,6 @@ sal_Int32 SwStdFontConfig::GetDefaultHeightFor(USHORT nFontType, LanguageType eL
return nRet;
}
-/*-- 11.10.2005 10:50:06---------------------------------------------------
-
- -----------------------------------------------------------------------*/
void SwStdFontConfig::ChangeInt( USHORT nFontType, sal_Int32 nHeight )
{
DBG_ASSERT( nFontType < DEF_FONT_COUNT, "invalid index in SwStdFontConfig::ChangInt()");
@@ -346,9 +326,6 @@ void SwStdFontConfig::ChangeInt( USHORT nFontType, sal_Int32 nHeight )
}
}
-/*-- 08.11.2005 14:18:26---------------------------------------------------
-
- -----------------------------------------------------------------------*/
sal_Int32 SwStdFontConfig::GetFontHeight( sal_uInt8 nFont, sal_uInt8 nScriptType, LanguageType eLang )
{
DBG_ASSERT(nFont + FONT_PER_GROUP * nScriptType < DEF_FONT_COUNT, "wrong index in SwStdFontConfig::GetFontHeight()");
diff --git a/sw/source/ui/config/mailconfigpage.cxx b/sw/source/ui/config/mailconfigpage.cxx
index 3132929..f681f3a 100644
--- a/sw/source/ui/config/mailconfigpage.cxx
+++ b/sw/source/ui/config/mailconfigpage.cxx
@@ -57,9 +57,7 @@ using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::mail;
using namespace ::com::sun::star::beans;
using ::rtl::OUString;
-/*-- 06.05.2004 12:04:11---------------------------------------------------
- -----------------------------------------------------------------------*/
class SwTestAccountSettingsDialog : public SfxModalDialog
{
FixedInfo m_aInfoFI;
@@ -97,9 +95,7 @@ public:
SwTestAccountSettingsDialog(SwMailConfigPage* pParent);
~SwTestAccountSettingsDialog();
};
-/*-- 19.08.2004 14:27:33---------------------------------------------------
- -----------------------------------------------------------------------*/
class SwAuthenticationSettingsDialog : public SfxModalDialog
{
CheckBox m_aAuthenticationCB;
@@ -144,9 +140,6 @@ public:
~SwAuthenticationSettingsDialog();
};
-/*-- 06.05.2004 10:59:40---------------------------------------------------
-
- -----------------------------------------------------------------------*/
SwMailConfigPage::SwMailConfigPage( Window* pParent, const SfxItemSet& rSet ) :
SfxTabPage(pParent, SW_RES(TP_MAILCONFIG), rSet),
#ifdef MSC
@@ -179,23 +172,17 @@ SwMailConfigPage::SwMailConfigPage( Window* pParent, const SfxItemSet& rSet ) :
m_aServerAuthenticationPB.SetClickHdl(LINK(this, SwMailConfigPage, AuthenticationHdl));
m_aTestPB.SetClickHdl(LINK(this, SwMailConfigPage, TestHdl));
}
-/*-- 06.05.2004 10:59:40---------------------------------------------------
- -----------------------------------------------------------------------*/
SwMailConfigPage::~SwMailConfigPage()
{
delete m_pConfigItem;
}
-/*-- 06.05.2004 10:59:40---------------------------------------------------
- -----------------------------------------------------------------------*/
SfxTabPage* SwMailConfigPage::Create( Window* pParent, const SfxItemSet& rAttrSet)
{
return new SwMailConfigPage(pParent, rAttrSet);
}
-/*-- 06.05.2004 10:59:41---------------------------------------------------
- -----------------------------------------------------------------------*/
BOOL SwMailConfigPage::FillItemSet( SfxItemSet& /*rSet*/ )
{
if(m_aDisplayNameED.GetText() != m_aDisplayNameED.GetSavedValue())
@@ -218,9 +205,7 @@ BOOL SwMailConfigPage::FillItemSet( SfxItemSet& /*rSet*/ )
m_pConfigItem->Commit();
return sal_True;
}
-/*-- 06.05.2004 10:59:41---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwMailConfigPage::Reset( const SfxItemSet& /*rSet*/ )
{
m_aDisplayNameED.SetText(m_pConfigItem->GetMailDisplayName());
@@ -243,9 +228,7 @@ void SwMailConfigPage::Reset( const SfxItemSet& /*rSet*/ )
m_aPortNF .SaveValue();
m_aSecureCB .SaveValue();
}
-/*-- 06.05.2004 10:59:41---------------------------------------------------
- -----------------------------------------------------------------------*/
IMPL_LINK(SwMailConfigPage, ReplyToHdl, CheckBox*, pBox)
{
sal_Bool bEnable = pBox->IsChecked();
@@ -253,26 +236,20 @@ IMPL_LINK(SwMailConfigPage, ReplyToHdl, CheckBox*, pBox)
m_aReplyToED.Enable(bEnable);
return 0;
}
-/*-- 06.05.2004 10:59:41---------------------------------------------------
- -----------------------------------------------------------------------*/
IMPL_LINK(SwMailConfigPage, AuthenticationHdl, PushButton*, EMPTYARG)
{
SwAuthenticationSettingsDialog aDlg(this, *m_pConfigItem);
aDlg.Execute();
return 0;
}
-/*-- 06.05.2004 10:59:42---------------------------------------------------
- -----------------------------------------------------------------------*/
IMPL_LINK(SwMailConfigPage, TestHdl, PushButton*, EMPTYARG)
{
SwTestAccountSettingsDialog(this).Execute();
return 0;
}
-/*-- 06.05.2004 12:11:13---------------------------------------------------
- -----------------------------------------------------------------------*/
SwTestAccountSettingsDialog::SwTestAccountSettingsDialog(SwMailConfigPage* pParent) :
SfxModalDialog(pParent, SW_RES(DLG_MM_TESTACCOUNTSETTINGS)),
#ifdef MSC
@@ -336,23 +313,17 @@ SwTestAccountSettingsDialog::SwTestAccountSettingsDialog(SwMailConfigPage* pPare
Application::PostUserEvent( STATIC_LINK( this, SwTestAccountSettingsDialog, TestHdl ), this );
}
-/*-- 06.05.2004 12:11:13---------------------------------------------------
- -----------------------------------------------------------------------*/
SwTestAccountSettingsDialog::~SwTestAccountSettingsDialog()
{
}
-/*-- 06.05.2004 12:15:43---------------------------------------------------
- -----------------------------------------------------------------------*/
IMPL_LINK(SwTestAccountSettingsDialog, StopHdl, PushButton*, EMPTYARG)
{
m_bStop = true;
return 0;
}
-/*-- 07.06.2004 12:44:50---------------------------------------------------
- -----------------------------------------------------------------------*/
IMPL_STATIC_LINK(SwTestAccountSettingsDialog, TestHdl, void*, EMPTYARG)
{
pThis->EnterWait();
@@ -360,9 +331,7 @@ IMPL_STATIC_LINK(SwTestAccountSettingsDialog, TestHdl, void*, EMPTYARG)
pThis->LeaveWait();
return 0;
}
-/*-- 07.06.2004 12:45:45---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwTestAccountSettingsDialog::Test()
{
uno::Reference<XMultiServiceFactory> rMgr = ::comphelper::getProcessServiceFactory();
@@ -471,24 +440,18 @@ void SwTestAccountSettingsDialog::Test()
m_eErrorsED.SetText( m_sErrorServer );
}
}
-/*-- 18.08.2004 12:18:38---------------------------------------------------
- -----------------------------------------------------------------------*/
SwMailConfigDlg::SwMailConfigDlg(Window* pParent, SfxItemSet& rSet ) :
SfxSingleTabDialog(pParent, rSet, 0)
{
// TabPage erzeugen
SetTabPage(SwMailConfigPage::Create( this, rSet ));
}
-/*-- 18.08.2004 12:18:38---------------------------------------------------
- -----------------------------------------------------------------------*/
SwMailConfigDlg::~SwMailConfigDlg()
{
}
-/*-- 19.08.2004 14:33:58---------------------------------------------------
- -----------------------------------------------------------------------*/
SwAuthenticationSettingsDialog::SwAuthenticationSettingsDialog(
SwMailConfigPage* pParent, SwMailMergeConfigItem& rItem) :
SfxModalDialog(pParent, SW_RES(DLG_MM_SERVERAUTHENTICATION)),
@@ -551,15 +514,11 @@ SwAuthenticationSettingsDialog::SwAuthenticationSettingsDialog(
CheckBoxHdl_Impl( &m_aAuthenticationCB );
}
-/*-- 19.08.2004 14:33:58---------------------------------------------------
- -----------------------------------------------------------------------*/
SwAuthenticationSettingsDialog::~SwAuthenticationSettingsDialog()
{
}
-/*-- 19.08.2004 14:33:59---------------------------------------------------
- -----------------------------------------------------------------------*/
IMPL_LINK( SwAuthenticationSettingsDialog, OKHdl_Impl, OKButton*, EMPTYARG)
{
rConfigItem.SetAuthentication( m_aAuthenticationCB.IsChecked() );
@@ -575,9 +534,7 @@ IMPL_LINK( SwAuthenticationSettingsDialog, OKHdl_Impl, OKButton*, EMPTYARG)
EndDialog(RET_OK);
return 0;
}
-/*-- 19.08.2004 14:33:59---------------------------------------------------
- -----------------------------------------------------------------------*/
IMPL_LINK( SwAuthenticationSettingsDialog, CheckBoxHdl_Impl, CheckBox*, pBox)
{
sal_Bool bChecked = pBox->IsChecked();
@@ -587,9 +544,7 @@ IMPL_LINK( SwAuthenticationSettingsDialog, CheckBoxHdl_Impl, CheckBox*, pBox)
return 0;
}
-/*-- 19.08.2004 14:33:59---------------------------------------------------
- -----------------------------------------------------------------------*/
IMPL_LINK( SwAuthenticationSettingsDialog, RadioButtonHdl_Impl, RadioButton*, EMPTYARG)
{
sal_Bool bSeparate = m_aSeparateAuthenticationRB.IsChecked();
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();
diff --git a/sw/source/ui/config/optcomp.cxx b/sw/source/ui/config/optcomp.cxx
index 5d27c85..53ec878 100644
--- a/sw/source/ui/config/optcomp.cxx
+++ b/sw/source/ui/config/optcomp.cxx
@@ -180,15 +180,11 @@ SwCompatibilityOptPage::SwCompatibilityOptPage( Window* pParent, const SfxItemSe
m_aOptionsLB.SetSizePixel( aNewSz );
}
-// -----------------------------------------------------------------------
-
SwCompatibilityOptPage::~SwCompatibilityOptPage()
{
delete m_pImpl;
}
-// -----------------------------------------------------------------------
-
void SwCompatibilityOptPage::ReplaceFormatName( String& rEntry )
{
static const String sOpenOfficeName = String::CreateFromAscii("OpenOffice.org");
@@ -214,8 +210,6 @@ void SwCompatibilityOptPage::ReplaceFormatName( String& rEntry )
}
}
-// -----------------------------------------------------------------------
-
ULONG convertBools2Ulong_Impl
(
bool _bUsePrtMetrics,
@@ -270,8 +264,6 @@ ULONG convertBools2Ulong_Impl
return nRet;
}
-// -----------------------------------------------------------------------
-
void SwCompatibilityOptPage::InitControls( const SfxItemSet& rSet )
{
// init objectshell and detect document name
@@ -404,8 +396,6 @@ void SwCompatibilityOptPage::InitControls( const SfxItemSet& rSet )
}
}
-// -----------------------------------------------------------------------
-
IMPL_LINK( SwCompatibilityOptPage, SelectHdl, ListBox*, EMPTYARG )
{
USHORT nPos = m_aFormattingLB.GetSelectEntryPos();
@@ -415,8 +405,6 @@ IMPL_LINK( SwCompatibilityOptPage, SelectHdl, ListBox*, EMPTYARG )
return 0;
}
-// -----------------------------------------------------------------------
-
IMPL_LINK( SwCompatibilityOptPage, UseAsDefaultHdl, PushButton*, EMPTYARG )
{
QueryBox aBox( this, WinBits( WB_YES_NO | WB_DEF_YES ), m_sUseAsDefaultQuery );
@@ -461,8 +449,6 @@ IMPL_LINK( SwCompatibilityOptPage, UseAsDefaultHdl, PushButton*, EMPTYARG )
return 0;
}
-// -----------------------------------------------------------------------
-
void SwCompatibilityOptPage::SetCurrentOptions( ULONG nOptions )
{
ULONG nCount = m_aOptionsLB.GetEntryCount();
@@ -475,8 +461,6 @@ void SwCompatibilityOptPage::SetCurrentOptions( ULONG nOptions )
}
}
-// -----------------------------------------------------------------------
-
ULONG SwCompatibilityOptPage::GetDocumentOptions() const
{
ULONG nRet = 0;
@@ -499,8 +483,6 @@ ULONG SwCompatibilityOptPage::GetDocumentOptions() const
return nRet;
}
-// -----------------------------------------------------------------------
-
void SwCompatibilityOptPage::WriteOptions()
{
m_aConfigItem.Clear();
@@ -515,15 +497,11 @@ void SwCompatibilityOptPage::WriteOptions()
pItem->m_bExpandWordSpace );
}
-// -----------------------------------------------------------------------
-
SfxTabPage* SwCompatibilityOptPage::Create( Window* pParent, const SfxItemSet& rAttrSet )
{
return new SwCompatibilityOptPage( pParent, rAttrSet );
}
-// -----------------------------------------------------------------------
-
BOOL SwCompatibilityOptPage::FillItemSet( SfxItemSet& )
{
BOOL bModified = FALSE;
@@ -613,8 +591,6 @@ BOOL SwCompatibilityOptPage::FillItemSet( SfxItemSet& )
return bModified;
}
-// -----------------------------------------------------------------------
-
void SwCompatibilityOptPage::Reset( const SfxItemSet& )
{
m_aOptionsLB.SelectEntryPos( 0 );
diff --git a/sw/source/ui/config/optload.cxx b/sw/source/ui/config/optload.cxx
index c3eaeca..74d5a5f 100644
--- a/sw/source/ui/config/optload.cxx
+++ b/sw/source/ui/config/optload.cxx
@@ -73,9 +73,6 @@ using namespace ::com::sun::star;
#include <svl/eitem.hxx>
-/* -----------------22.10.98 15:12-------------------
- *
- * --------------------------------------------------*/
SwLoadOptPage::SwLoadOptPage( Window* pParent, const SfxItemSet& rSet ) :
SfxTabPage( pParent, SW_RES( TP_OPTLOAD_PAGE ), rSet ),
@@ -145,28 +142,16 @@ SwLoadOptPage::SwLoadOptPage( Window* pParent, const SfxItemSet& rSet ) :
}
}
-/*-----------------18.01.97 12.43-------------------
-
---------------------------------------------------*/
-
SwLoadOptPage::~SwLoadOptPage()
{
}
-/*-----------------18.01.97 12.43-------------------
-
---------------------------------------------------*/
-
SfxTabPage* __EXPORT SwLoadOptPage::Create( Window* pParent,
const SfxItemSet& rAttrSet )
{
return new SwLoadOptPage(pParent, rAttrSet );
}
-/*-----------------18.01.97 12.42-------------------
-
---------------------------------------------------*/
-
BOOL __EXPORT SwLoadOptPage::FillItemSet( SfxItemSet& rSet )
{
BOOL bRet = FALSE;
@@ -244,9 +229,7 @@ BOOL __EXPORT SwLoadOptPage::FillItemSet( SfxItemSet& rSet )
return bRet;
}
-/*-----------------18.01.97 12.42-------------------
---------------------------------------------------*/
void __EXPORT SwLoadOptPage::Reset( const SfxItemSet& rSet)
{
const SwMasterUsrPref* pUsrPref = SW_MOD()->GetUsrPref(FALSE);
@@ -327,10 +310,10 @@ void __EXPORT SwLoadOptPage::Reset( const SfxItemSet& rSet)
}
aUseCharUnit.SaveValue();
}
+
/*-----------------13.01.97 14.44-------------------
Metric des Deftabstops umschalten
--------------------------------------------------*/
-
IMPL_LINK(SwLoadOptPage, MetricHdl, ListBox*, EMPTYARG)
{
const USHORT nMPos = aMetricLB.GetSelectEntryPos();
@@ -350,9 +333,6 @@ IMPL_LINK(SwLoadOptPage, MetricHdl, ListBox*, EMPTYARG)
return 0;
}
-/*********************************************************************/
-/* */
-/*********************************************************************/
IMPL_LINK(SwLoadOptPage, CaptionHdl, PushButton*, EMPTYARG)
{
@@ -362,10 +342,6 @@ IMPL_LINK(SwLoadOptPage, CaptionHdl, PushButton*, EMPTYARG)
return 0;
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
SwCaptionOptDlg::SwCaptionOptDlg(Window* pParent, const SfxItemSet& rSet) :
SfxSingleTabDialog(pParent, rSet, 0)
{
@@ -373,18 +349,10 @@ SwCaptionOptDlg::SwCaptionOptDlg(Window* pParent, const SfxItemSet& rSet) :
SetTabPage((SwCaptionOptPage*) SwCaptionOptPage::Create(this, rSet));
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
SwCaptionOptDlg::~SwCaptionOptDlg()
{
}
-/* -----------------22.10.98 15:12-------------------
- *
- * --------------------------------------------------*/
-
SwCaptionPreview::SwCaptionPreview( Window* pParent, const ResId& rResId )
: Window( pParent, rResId )
{
@@ -417,7 +385,6 @@ void SwCaptionPreview::Paint( const Rectangle& rRect )
DrawText( Point( 4, 6 ), maText );
}
-
SwCaptionOptPage::SwCaptionOptPage( Window* pParent, const SfxItemSet& rSet )
: SfxTabPage(pParent, SW_RES(TP_OPTCAPTION_PAGE), rSet),
aCheckFT (this, SW_RES(FT_OBJECTS )),
@@ -539,30 +506,18 @@ SwCaptionOptPage::SwCaptionOptPage( Window* pParent, const SfxItemSet& rSet )
aCheckLB.SetDeselectHdl( LINK(this, SwCaptionOptPage, SaveEntryHdl) );
}
-/*-----------------18.01.97 12.43-------------------
-
---------------------------------------------------*/
-
SwCaptionOptPage::~SwCaptionOptPage()
{
DelUserData();
delete pMgr;
}
-/*-----------------18.01.97 12.43-------------------
-
---------------------------------------------------*/
-
SfxTabPage* SwCaptionOptPage::Create( Window* pParent,
const SfxItemSet& rAttrSet )
{
return new SwCaptionOptPage(pParent, rAttrSet );
}
-/*-----------------18.01.97 12.42-------------------
-
---------------------------------------------------*/
-
BOOL SwCaptionOptPage::FillItemSet( SfxItemSet& )
{
BOOL bRet = FALSE;
@@ -588,10 +543,6 @@ BOOL SwCaptionOptPage::FillItemSet( SfxItemSet& )
return bRet;
}
-/*-----------------18.01.97 12.42-------------------
-
---------------------------------------------------*/
-
void SwCaptionOptPage::Reset( const SfxItemSet& rSet)
{
const SfxPoolItem* pItem;
@@ -658,10 +609,6 @@ void SwCaptionOptPage::Reset( const SfxItemSet& rSet)
ModifyHdl();
}
-/*-----------------18.01.97 12.42-------------------
-
---------------------------------------------------*/
-
void SwCaptionOptPage::SetOptions(const USHORT nPos,
const SwCapObjType eObjType, const SvGlobalName *pOleId)
{
@@ -677,10 +624,6 @@ void SwCaptionOptPage::SetOptions(const USHORT nPos,
aCheckLB.SetEntryData(nPos, new InsCaptionOpt(eObjType, pOleId));
}
-/*-----------------18.01.97 12.42-------------------
-
---------------------------------------------------*/
-
void SwCaptionOptPage::DelUserData()
{
SvLBoxEntry* pEntry = aCheckLB.First();
@@ -693,10 +636,6 @@ void SwCaptionOptPage::DelUserData()
}
}
-/* -----------------26.10.98 11:06-------------------
- *
- * --------------------------------------------------*/
-
IMPL_LINK( SwCaptionOptPage, ShowEntryHdl, SvxCheckListBox *, EMPTYARG )
{
SvLBoxEntry* pSelEntry = aCheckLB.FirstSelected();
@@ -822,10 +761,6 @@ IMPL_LINK( SwCaptionOptPage, ShowEntryHdl, SvxCheckListBox *, EMPTYARG )
return 0;
}
-/* -----------------26.10.98 11:06-------------------
- *
- * --------------------------------------------------*/
-
IMPL_LINK( SwCaptionOptPage, SaveEntryHdl, SvxCheckListBox *, EMPTYARG )
{
SvLBoxEntry* pEntry = aCheckLB.GetHdlEntry();
@@ -836,10 +771,6 @@ IMPL_LINK( SwCaptionOptPage, SaveEntryHdl, SvxCheckListBox *, EMPTYARG )
return 0;
}
-/* -----------------05.11.98 16:23-------------------
- *
- * --------------------------------------------------*/
-
void SwCaptionOptPage::SaveEntry(SvLBoxEntry* pEntry)
{
if (pEntry)
@@ -872,10 +803,6 @@ void SwCaptionOptPage::SaveEntry(SvLBoxEntry* pEntry)
}
}
-/* -----------------26.10.98 11:06-------------------
- *
- * --------------------------------------------------*/
-
IMPL_LINK( SwCaptionOptPage, ModifyHdl, Edit *, EMPTYARG )
{
String sFldTypeName = aCategoryBox.GetText();
@@ -900,19 +827,13 @@ IMPL_LINK( SwCaptionOptPage, ModifyHdl, Edit *, EMPTYARG )
return 0;
}
-/* -----------------26.10.98 10:58-------------------
- *
- * --------------------------------------------------*/
-
IMPL_LINK_INLINE_START( SwCaptionOptPage, SelectHdl, ListBox *, EMPTYARG )
{
DrawSample();
return 0;
}
IMPL_LINK_INLINE_END( SwCaptionOptPage, SelectHdl, ListBox *, EMPTYARG )
-/*-- 02.11.2007 10:00:36---------------------------------------------------
- -----------------------------------------------------------------------*/
IMPL_LINK( SwCaptionOptPage, OrderHdl, ListBox*, pBox )
{
DrawSample();
@@ -921,9 +842,6 @@ IMPL_LINK( SwCaptionOptPage, OrderHdl, ListBox*, pBox )
aNumberingSeparatorED.Enable( nPos == 1 );
return 0;
}
-/* -----------------26.10.98 10:58-------------------
- *
- * --------------------------------------------------*/
void SwCaptionOptPage::DrawSample()
{
@@ -992,7 +910,6 @@ void SwCaptionOptPage::DrawSample()
/*------------------------------------------------------------------------
Beschreibung: ComboBox ohne Spaces
------------------------------------------------------------------------*/
-
void CaptionComboBox::KeyInput(const KeyEvent& rEvt)
{
if( rEvt.GetKeyCode().GetCode() != KEY_SPACE )
diff --git a/sw/source/ui/config/optpage.cxx b/sw/source/ui/config/optpage.cxx
index 03e2f64..f10ec84 100644
--- a/sw/source/ui/config/optpage.cxx
+++ b/sw/source/ui/config/optpage.cxx
@@ -81,13 +81,8 @@
#include <unomid.h>
-
using namespace ::com::sun::star;
-
-/*******************************************************
- ******************************************************/
-
/*-----------------31.08.96 10.16-------------------
TabPage Anzeige/Inhalt
--------------------------------------------------*/
@@ -181,24 +176,16 @@ SwContentOptPage::SwContentOptPage( Window* pParent,
}
}
-/*-----------------31.08.96 13.58-------------------
-
---------------------------------------------------*/
SwContentOptPage::~SwContentOptPage()
{
}
-/*-----------------31.08.96 13.58-------------------
-
---------------------------------------------------*/
SfxTabPage* SwContentOptPage::Create( Window* pParent,
const SfxItemSet& rAttrSet)
{
return new SwContentOptPage(pParent, rAttrSet);
}
-/* -----------------------------07.04.01 16:57--------------------------------
- ---------------------------------------------------------------------------*/
static void lcl_SelectMetricLB(ListBox& rMetric, USHORT nSID, const SfxItemSet& rSet)
{
const SfxPoolItem* pItem;
@@ -216,9 +203,7 @@ static void lcl_SelectMetricLB(ListBox& rMetric, USHORT nSID, const SfxItemSet&
}
rMetric.SaveValue();
}
-/*-----------------31.08.96 13.58-------------------
---------------------------------------------------*/
void SwContentOptPage::Reset(const SfxItemSet& rSet)
{
const SwElemItem* pElemAttr = 0;
@@ -250,9 +235,6 @@ void SwContentOptPage::Reset(const SfxItemSet& rSet)
AnyRulerHdl(&aAnyRulerCB);
}
-/*-----------------31.08.96 13.58-------------------
-
---------------------------------------------------*/
BOOL SwContentOptPage::FillItemSet(SfxItemSet& rSet)
{
const SwElemItem* pOldAttr = (const SwElemItem*)
@@ -309,17 +291,13 @@ BOOL SwContentOptPage::FillItemSet(SfxItemSet& rSet)
}
return bRet;
}
-/* -----------------------------05.03.2002 15:07------------------------------
- ---------------------------------------------------------------------------*/
IMPL_LINK(SwContentOptPage, VertRulerHdl, CheckBox*, pBox)
{
aVRulerRightCBox.Enable(pBox->IsEnabled() && pBox->IsChecked());
return 0;
}
-/* -----------------20.09.2002 11:30-----------------
- *
- * --------------------------------------------------*/
+
IMPL_LINK( SwContentOptPage, AnyRulerHdl, CheckBox*, pBox)
{
BOOL bChecked = pBox->IsChecked();
@@ -430,8 +408,6 @@ SwAddPrinterTabPage::SwAddPrinterTabPage( Window* pParent,
aProspectCB_RTL.Show(aCTLOptions.IsCTLFontEnabled());
}
-//------------------------------------------------------------------------
-
void SwAddPrinterTabPage::SetPreview(BOOL bPrev)
{
bPreview = bPrev;
@@ -450,15 +426,11 @@ void SwAddPrinterTabPage::SetPreview(BOOL bPrev)
}
}
-//------------------------------------------------------------------------
-
SfxTabPage* SwAddPrinterTabPage::Create( Window* pParent,
const SfxItemSet& rAttrSet )
{
return ( new SwAddPrinterTabPage( pParent, rAttrSet ) );
}
-//------------------------------------------------------------------------
-
BOOL SwAddPrinterTabPage::FillItemSet( SfxItemSet& rCoreSet )
{
@@ -498,8 +470,6 @@ BOOL SwAddPrinterTabPage::FillItemSet( SfxItemSet& rCoreSet )
}
return bAttrModified;
}
-//------------------------------------------------------------------------
-
void SwAddPrinterTabPage::Reset( const SfxItemSet& )
{
@@ -543,15 +513,11 @@ void SwAddPrinterTabPage::Reset( const SfxItemSet& )
else
aProspectCB_RTL.Enable( FALSE );
}
-//-----------------------------------------------------------------------
-
void SwAddPrinterTabPage::Init()
{
}
-//------------------------------------------------------------------------
-
IMPL_LINK_INLINE_START( SwAddPrinterTabPage, AutoClickHdl, CheckBox *, EMPTYARG )
{
@@ -568,9 +534,6 @@ IMPL_LINK_INLINE_START( SwAddPrinterTabPage, AutoClickHdl, CheckBox *, EMPTYARG
}
IMPL_LINK_INLINE_END( SwAddPrinterTabPage, AutoClickHdl, CheckBox *, EMPTYARG )
-//------------------------------------------------------------------------
-
-
void SwAddPrinterTabPage::SetFax( const SvStringsDtor& rFaxLst )
{
aFaxLB.InsertEntry(sNone);
@@ -579,9 +542,6 @@ void SwAddPrinterTabPage::SetFax( const SvStringsDtor& rFaxLst )
aFaxLB.SelectEntryPos(0);
}
-//------------------------------------------------------------------------
-
-
IMPL_LINK_INLINE_START( SwAddPrinterTabPage, SelectHdl, ListBox *, EMPTYARG )
{
bAttrModified=TRUE;
@@ -623,11 +583,10 @@ void SwAddPrinterTabPage::PageCreated (SfxAllItemSet aSet)
*/
}
}
+
/*-----------------03.09.96 11.53-------------------
Tabpage Standardfonts
--------------------------------------------------*/
-
-
SwStdFontTabPage::SwStdFontTabPage( Window* pParent,
const SfxItemSet& rSet ) :
SfxTabPage( pParent, SW_RES( TP_STD_FONT ), rSet),
@@ -708,28 +667,18 @@ SwStdFontTabPage::SwStdFontTabPage( Window* pParent,
aDocOnlyCB.Check(SW_MOD()->GetModuleConfig()->IsDefaultFontInCurrDocOnly());
}
-/*-----------------03.09.96 11.53-------------------
-
---------------------------------------------------*/
-
SwStdFontTabPage::~SwStdFontTabPage()
{
if(bDeletePrinter)
delete pPrt;
}
-/*-----------------03.09.96 11.53-------------------
-
---------------------------------------------------*/
SfxTabPage* SwStdFontTabPage::Create( Window* pParent,
const SfxItemSet& rAttrSet )
{
return new SwStdFontTabPage(pParent, rAttrSet);
}
-/*-----------------03.09.96 11.53-------------------
-
---------------------------------------------------*/
void lcl_SetColl(SwWrtShell* pWrtShell, USHORT nType,
SfxPrinter* pPrt, const String& rStyle,
USHORT nFontWhich)
@@ -749,9 +698,7 @@ void lcl_SetColl(SwWrtShell* pWrtShell, USHORT nType,
delete (SfxFont*) pFnt;
}
}
-/*-- 11.10.2005 15:47:52---------------------------------------------------
- -----------------------------------------------------------------------*/
void lcl_SetColl(SwWrtShell* pWrtShell, USHORT nType,
sal_Int32 nHeight, USHORT nFontHeightWhich)
{
@@ -760,9 +707,7 @@ void lcl_SetColl(SwWrtShell* pWrtShell, USHORT nType,
SwTxtFmtColl *pColl = pWrtShell->GetTxtCollFromPool(nType);
pColl->SetFmtAttr(SvxFontHeightItem(nHeight, 100, nFontHeightWhich));
}
-/*-----------------03.09.96 11.53-------------------
---------------------------------------------------*/
BOOL SwStdFontTabPage::FillItemSet( SfxItemSet& )
{
BOOL bNotDocOnly = !aDocOnlyCB.IsChecked();
@@ -910,9 +855,6 @@ BOOL SwStdFontTabPage::FillItemSet( SfxItemSet& )
return FALSE;
}
-/*-----------------03.09.96 11.53-------------------
-
---------------------------------------------------*/
void SwStdFontTabPage::Reset( const SfxItemSet& rSet)
{
const SfxPoolItem* pLang;
@@ -1096,11 +1038,6 @@ void SwStdFontTabPage::Reset( const SfxItemSet& rSet)
aIndexHeightLB. SaveValue();
}
-/*-----------------07.09.96 12.28-------------------
-
---------------------------------------------------*/
-
-
IMPL_LINK( SwStdFontTabPage, StandardHdl, PushButton *, EMPTYARG )
{
sal_uInt8 nFontOffset = nFontGroup * FONT_PER_GROUP;
@@ -1134,9 +1071,6 @@ IMPL_LINK( SwStdFontTabPage, StandardHdl, PushButton *, EMPTYARG )
return 0;
}
-/*-----------------17.01.97 15.43-------------------
-
---------------------------------------------------*/
IMPL_LINK( SwStdFontTabPage, ModifyHdl, ComboBox*, pBox )
{
@@ -1165,9 +1099,6 @@ IMPL_LINK( SwStdFontTabPage, ModifyHdl, ComboBox*, pBox )
return 0;
}
-/*-- 11.10.2005 15:11:23---------------------------------------------------
-
- -----------------------------------------------------------------------*/
IMPL_LINK( SwStdFontTabPage, ModifyHeightHdl, FontSizeBox*, pBox )
{
if(pBox == &aStandardHeightLB)
@@ -1195,9 +1126,6 @@ IMPL_LINK( SwStdFontTabPage, ModifyHeightHdl, FontSizeBox*, pBox )
return 0;
}
-/*-- 28.09.2005 13:22:36---------------------------------------------------
-
- -----------------------------------------------------------------------*/
IMPL_LINK( SwStdFontTabPage, LoseFocusHdl, ComboBox*, pBox )
{
FontSizeBox* pHeightLB = 0;
@@ -1285,28 +1213,16 @@ SwTableOptionsTabPage::SwTableOptionsTabPage( Window* pParent, const SfxItemSet&
aHeaderCB.SetClickHdl(aLnk);
}
-/*-----------------18.01.97 12.43-------------------
-
---------------------------------------------------*/
-
SwTableOptionsTabPage::~SwTableOptionsTabPage()
{
}
-/*-----------------18.01.97 12.43-------------------
-
---------------------------------------------------*/
-
SfxTabPage* SwTableOptionsTabPage::Create( Window* pParent,
const SfxItemSet& rAttrSet )
{
return new SwTableOptionsTabPage(pParent, rAttrSet );
}
-/*-----------------18.01.97 12.42-------------------
-
---------------------------------------------------*/
-
BOOL SwTableOptionsTabPage::FillItemSet( SfxItemSet& )
{
BOOL bRet = FALSE;
@@ -1393,9 +1309,7 @@ BOOL SwTableOptionsTabPage::FillItemSet( SfxItemSet& )
return bRet;
}
-/*-----------------18.01.97 12.42-------------------
---------------------------------------------------*/
void SwTableOptionsTabPage::Reset( const SfxItemSet& rSet)
{
const SwModuleOptions* pModOpt = SW_MOD()->GetModuleConfig();
@@ -1491,9 +1405,7 @@ void SwTableOptionsTabPage::Reset( const SfxItemSet& rSet)
CheckBoxHdl(0);
}
-/*-----------------18.01.97 12.42-------------------
---------------------------------------------------*/
IMPL_LINK(SwTableOptionsTabPage, CheckBoxHdl, CheckBox*, EMPTYARG)
{
aNumFmtFormattingCB.Enable(aNumFormattingCB.IsChecked());
@@ -1501,18 +1413,17 @@ IMPL_LINK(SwTableOptionsTabPage, CheckBoxHdl, CheckBox*, EMPTYARG)
aRepeatHeaderCB.Enable(aHeaderCB.IsChecked());
return 0;
}
+
void SwTableOptionsTabPage::PageCreated (SfxAllItemSet aSet)
{
SFX_ITEMSET_ARG (&aSet,pWrtSh,SwWrtShellItem,SID_WRT_SHELL,sal_False);
if (pWrtSh)
SetWrtShell(pWrtSh->GetValue());
}
-/* */
/*-----------------31.10.97 17:55-------------------
TabPage fuer ShadowCrsr
--------------------------------------------------*/
-
SwShdwCrsrOptionsTabPage::SwShdwCrsrOptionsTabPage( Window* pParent,
const SfxItemSet& rSet )
: SfxTabPage(pParent, SW_RES(TP_OPTSHDWCRSR), rSet),
@@ -1687,7 +1598,6 @@ void SwShdwCrsrOptionsTabPage::Reset( const SfxItemSet& rSet )
/*-----------------31.10.97 17:55-------------------
TabPage fuer Redlining
--------------------------------------------------*/
-
struct CharAttr
{
USHORT nItemId;
@@ -1724,7 +1634,6 @@ static USHORT aChangedAttrMap[] = { 0, 1, 2, 3, 4, 6, 7, 8, 9, 10 };
/*-----------------------------------------------------------------------
Beschreibung: Markierungsvorschau
-----------------------------------------------------------------------*/
-
SwMarkPreview::SwMarkPreview( Window *pParent, const ResId& rResID ) :
Window(pParent, rResID),
@@ -2453,8 +2362,6 @@ void SwRedlineOptionsTabPage::InitFontStyle(SvxFontPrevWindow& rExampleWin)
#ifdef DBG_UTIL
-/*******************************************************
- ******************************************************/
/*----------------- OS 11.01.95 -----------------------
TabPage Testeinstellungen
-------------------------------------------------------*/
@@ -2521,17 +2428,11 @@ SwTestTabPage::SwTestTabPage( Window* pParent,
}
-
-//------------------------------------------------------------------------
-
-
SfxTabPage* SwTestTabPage::Create( Window* pParent,
const SfxItemSet& rAttrSet )
{
return ( new SwTestTabPage( pParent, rAttrSet ) );
}
-//------------------------------------------------------------------------
-
BOOL SwTestTabPage::FillItemSet( SfxItemSet& rCoreSet )
{
@@ -2553,8 +2454,6 @@ BOOL SwTestTabPage::FillItemSet( SfxItemSet& rCoreSet )
}
return bAttrModified;
}
-//------------------------------------------------------------------------
-
void SwTestTabPage::Reset( const SfxItemSet& )
{
@@ -2576,8 +2475,6 @@ void SwTestTabPage::Reset( const SfxItemSet& )
aTest10CBox.Check(pTestAttr->bTest10);
}
}
-//------------------------------------------------------------------------
-
void SwTestTabPage::Init()
{
@@ -2594,8 +2491,6 @@ void SwTestTabPage::Init()
aTest9CBox.SetClickHdl( aLk );
aTest10CBox.SetClickHdl( aLk );
}
-//------------------------------------------------------------------------
-
IMPL_LINK_INLINE_START( SwTestTabPage, AutoClickHdl, CheckBox *, EMPTYARG )
{
diff --git a/sw/source/ui/config/prtopt.cxx b/sw/source/ui/config/prtopt.cxx
index b663168..304b39e 100644
--- a/sw/source/ui/config/prtopt.cxx
+++ b/sw/source/ui/config/prtopt.cxx
@@ -78,9 +78,7 @@ Sequence<OUString> SwPrintOptions::GetPropertyNames()
}
return aNames;
}
-/* -----------------------------06.09.00 16:44--------------------------------
- ---------------------------------------------------------------------------*/
SwPrintOptions::SwPrintOptions(sal_Bool bWeb) :
ConfigItem(bWeb ? C2U("Office.WriterWeb/Print") : C2U("Office.Writer/Print"),
CONFIG_MODE_DELAYED_UPDATE|CONFIG_MODE_RELEASE_TREE),
@@ -139,15 +137,11 @@ SwPrintOptions::SwPrintOptions(sal_Bool bWeb) :
bPrintDraw = bPrintGraphic;
}
-/* -----------------------------06.09.00 16:50--------------------------------
- ---------------------------------------------------------------------------*/
SwPrintOptions::~SwPrintOptions()
{
}
-/* -----------------------------06.09.00 16:43--------------------------------
- ---------------------------------------------------------------------------*/
void SwPrintOptions::Notify( const ::com::sun::star::uno::Sequence< rtl::OUString >& ) {}
diff --git a/sw/source/ui/config/usrpref.cxx b/sw/source/ui/config/usrpref.cxx
index cd27b5b..ca19beb 100644
--- a/sw/source/ui/config/usrpref.cxx
+++ b/sw/source/ui/config/usrpref.cxx
@@ -82,16 +82,12 @@ SwMasterUsrPref::SwMasterUsrPref(BOOL bWeb) :
if(pWebColorConfig)
pWebColorConfig->Load();
}
-/* -----------------------------13.02.01 09:48--------------------------------
- ---------------------------------------------------------------------------*/
SwMasterUsrPref::~SwMasterUsrPref()
{
delete pWebColorConfig;
}
-/*-- 28.09.00 09:55:32---------------------------------------------------
- -----------------------------------------------------------------------*/
Sequence<OUString> SwContentViewConfig::GetPropertyNames()
{
static const char* aPropNames[] =
@@ -127,9 +123,7 @@ Sequence<OUString> SwContentViewConfig::GetPropertyNames()
}
return aNames;
}
-/*-- 28.09.00 09:55:33---------------------------------------------------
- -----------------------------------------------------------------------*/
SwContentViewConfig::SwContentViewConfig(BOOL bIsWeb, SwMasterUsrPref& rPar) :
ConfigItem(bIsWeb ? C2U("Office.WriterWeb/Content") : C2U("Office.Writer/Content")),
rParent(rPar),
@@ -138,22 +132,16 @@ SwContentViewConfig::SwContentViewConfig(BOOL bIsWeb, SwMasterUsrPref& rPar) :
Load();
EnableNotification( GetPropertyNames() );
}
-/*-- 28.09.00 09:55:33---------------------------------------------------
- -----------------------------------------------------------------------*/
SwContentViewConfig::~SwContentViewConfig()
{
}
-/*-- 09.02.07 09:55:33---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwContentViewConfig::Notify( const Sequence< OUString > & /*rPropertyNames*/ )
{
Load();
}
-/*-- 28.09.00 09:55:33---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwContentViewConfig::Commit()
{
Sequence<OUString> aNames = GetPropertyNames();
@@ -191,9 +179,7 @@ void SwContentViewConfig::Commit()
}
PutProperties(aNames, aValues);
}
-/*-- 28.09.00 09:55:34---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwContentViewConfig::Load()
{
Sequence<OUString> aNames = GetPropertyNames();
@@ -239,9 +225,7 @@ void SwContentViewConfig::Load()
}
}
}
-/*-- 28.09.00 09:55:34---------------------------------------------------
- -----------------------------------------------------------------------*/
Sequence<OUString> SwLayoutViewConfig::GetPropertyNames()
{
static const char* aPropNames[] =
@@ -276,9 +260,7 @@ Sequence<OUString> SwLayoutViewConfig::GetPropertyNames()
}
return aNames;
}
-/*-- 28.09.00 09:55:34---------------------------------------------------
- -----------------------------------------------------------------------*/
SwLayoutViewConfig::SwLayoutViewConfig(BOOL bIsWeb, SwMasterUsrPref& rPar) :
ConfigItem(bIsWeb ? C2U("Office.WriterWeb/Layout") : C2U("Office.Writer/Layout"),
CONFIG_MODE_DELAYED_UPDATE|CONFIG_MODE_RELEASE_TREE),
@@ -286,15 +268,11 @@ SwLayoutViewConfig::SwLayoutViewConfig(BOOL bIsWeb, SwMasterUsrPref& rPar) :
bWeb(bIsWeb)
{
}
-/*-- 28.09.00 09:55:35---------------------------------------------------
- -----------------------------------------------------------------------*/
SwLayoutViewConfig::~SwLayoutViewConfig()
{
}
-/*-- 28.09.00 09:55:36---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwLayoutViewConfig::Commit()
{
Sequence<OUString> aNames = GetPropertyNames();
@@ -341,9 +319,7 @@ void SwLayoutViewConfig::Commit()
}
PutProperties(aNames, aValues);
}
-/*-- 28.09.00 09:55:36---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwLayoutViewConfig::Load()
{
Sequence<OUString> aNames = GetPropertyNames();
@@ -431,9 +407,6 @@ void SwLayoutViewConfig::Load()
void SwLayoutViewConfig::Notify( const ::com::sun::star::uno::Sequence< rtl::OUString >& ) {}
-/* -----------------------------19.01.01 13:07--------------------------------
-
- ---------------------------------------------------------------------------*/
Sequence<OUString> SwGridConfig::GetPropertyNames()
{
static const char* aPropNames[] =
@@ -455,9 +428,7 @@ Sequence<OUString> SwGridConfig::GetPropertyNames()
}
return aNames;
}
-/* -----------------------------19.01.01 13:07--------------------------------
- ---------------------------------------------------------------------------*/
SwGridConfig::SwGridConfig(BOOL bIsWeb, SwMasterUsrPref& rPar) :
ConfigItem(bIsWeb ? C2U("Office.WriterWeb/Grid") : C2U("Office.Writer/Grid"),
CONFIG_MODE_DELAYED_UPDATE|CONFIG_MODE_RELEASE_TREE),
@@ -465,15 +436,11 @@ SwGridConfig::SwGridConfig(BOOL bIsWeb, SwMasterUsrPref& rPar) :
bWeb(bIsWeb)
{
}
-/* -----------------------------19.01.01 13:07--------------------------------
- ---------------------------------------------------------------------------*/
SwGridConfig::~SwGridConfig()
{
}
-/* -----------------------------19.01.01 13:07--------------------------------
- ---------------------------------------------------------------------------*/
void SwGridConfig::Commit()
{
Sequence<OUString> aNames = GetPropertyNames();
@@ -499,9 +466,7 @@ void SwGridConfig::Commit()
}
PutProperties(aNames, aValues);
}
-/* -----------------------------19.01.01 13:07--------------------------------
- ---------------------------------------------------------------------------*/
void SwGridConfig::Load()
{
Sequence<OUString> aNames = GetPropertyNames();
@@ -537,9 +502,6 @@ void SwGridConfig::Load()
void SwGridConfig::Notify( const ::com::sun::star::uno::Sequence< rtl::OUString >& ) {}
-/* -----------------------------19.01.01 13:07--------------------------------
-
- ---------------------------------------------------------------------------*/
Sequence<OUString> SwCursorConfig::GetPropertyNames()
{
static const char* aPropNames[] =
@@ -555,24 +517,18 @@ Sequence<OUString> SwCursorConfig::GetPropertyNames()
pNames[i] = C2U(aPropNames[i]);
return aNames;
}
-/* -----------------------------19.01.01 13:07--------------------------------
- ---------------------------------------------------------------------------*/
SwCursorConfig::SwCursorConfig(SwMasterUsrPref& rPar) :
ConfigItem(C2U("Office.Writer/Cursor"),
CONFIG_MODE_DELAYED_UPDATE|CONFIG_MODE_RELEASE_TREE),
rParent(rPar)
{
}
-/* -----------------------------19.01.01 13:07--------------------------------
- ---------------------------------------------------------------------------*/
SwCursorConfig::~SwCursorConfig()
{
}
-/* -----------------------------19.01.01 13:07--------------------------------
- ---------------------------------------------------------------------------*/
void SwCursorConfig::Commit()
{
Sequence<OUString> aNames = GetPropertyNames();
@@ -594,9 +550,7 @@ void SwCursorConfig::Commit()
}
PutProperties(aNames, aValues);
}
-/* -----------------------------19.01.01 13:07--------------------------------
- ---------------------------------------------------------------------------*/
void SwCursorConfig::Load()
{
Sequence<OUString> aNames = GetPropertyNames();
@@ -630,9 +584,6 @@ void SwCursorConfig::Load()
void SwCursorConfig::Notify( const ::com::sun::star::uno::Sequence< rtl::OUString >& ) {}
-/*-- 28.09.00 09:55:33---------------------------------------------------
-
- -----------------------------------------------------------------------*/
SwWebColorConfig::SwWebColorConfig(SwMasterUsrPref& rPar) :
ConfigItem(C2U("Office.WriterWeb/Background"),
CONFIG_MODE_DELAYED_UPDATE|CONFIG_MODE_RELEASE_TREE),
@@ -641,15 +592,11 @@ SwWebColorConfig::SwWebColorConfig(SwMasterUsrPref& rPar) :
{
aPropNames.getArray()[0] = C2U("Color");
}
-/*-- 28.09.00 09:55:33---------------------------------------------------
- -----------------------------------------------------------------------*/
SwWebColorConfig::~SwWebColorConfig()
{
}
-/*-- 28.09.00 09:55:33---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwWebColorConfig::Commit()
{
Sequence<Any> aValues(aPropNames.getLength());
@@ -666,9 +613,6 @@ void SwWebColorConfig::Commit()
void SwWebColorConfig::Notify( const ::com::sun::star::uno::Sequence< rtl::OUString >& ) {}
-/*-- 28.09.00 09:55:34---------------------------------------------------
-
- -----------------------------------------------------------------------*/
void SwWebColorConfig::Load()
{
Sequence<Any> aValues = GetProperties(aPropNames);
diff --git a/sw/source/ui/config/viewopt.cxx b/sw/source/ui/config/viewopt.cxx
index 4470d78..fb947dc 100644
--- a/sw/source/ui/config/viewopt.cxx
+++ b/sw/source/ui/config/viewopt.cxx
@@ -86,10 +86,6 @@ USHORT SwViewOption::nPixelTwips = 0; //ein Pixel auf dem Bildschirm
static const char __FAR_DATA aPostItStr[] = " ";
-/*************************************************************************
- * SwViewOption::IsEqualFlags()
- *************************************************************************/
-
BOOL SwViewOption::IsEqualFlags( const SwViewOption &rOpt ) const
{
return nCoreOptions == rOpt.nCoreOptions
@@ -120,10 +116,6 @@ BOOL SwViewOption::IsEqualFlags( const SwViewOption &rOpt ) const
;
}
-/*************************************************************************
- * SwViewOption::DrawRect()
- *************************************************************************/
-
void SwViewOption::DrawRect( OutputDevice *pOut,
const SwRect &rRect, long nCol ) const
{
@@ -139,10 +131,6 @@ void SwViewOption::DrawRect( OutputDevice *pOut,
DrawRectPrinter( pOut, rRect );
}
-/*************************************************************************
- * SwViewOption::DrawRectPrinter()
- *************************************************************************/
-
void SwViewOption::DrawRectPrinter( OutputDevice *pOut,
const SwRect &rRect ) const
{
@@ -155,20 +143,12 @@ void SwViewOption::DrawRectPrinter( OutputDevice *pOut,
pOut->SetLineColor( aOldColor );
}
-/*************************************************************************
- * SwViewOption::GetPostItsWidth()
- *************************************************************************/
-
USHORT SwViewOption::GetPostItsWidth( const OutputDevice *pOut ) const
{
ASSERT( pOut, "no Outdev" );
return USHORT(pOut->GetTextWidth( String::CreateFromAscii(aPostItStr )));
}
-/*************************************************************************
- * SwViewOption::PaintPostIts()
- *************************************************************************/
-
void SwViewOption::PaintPostIts( OutputDevice *pOut, const SwRect &rRect, sal_Bool bIsScript ) const
{
if( pOut && bIsScript )
@@ -187,15 +167,6 @@ void SwViewOption::PaintPostIts( OutputDevice *pOut, const SwRect &rRect, sal_Bo
}
}
-
-/*************************************************************************
-|*
-|* ViewOption::ViewOption()
-|*
-|* Letzte Aenderung MA 04. Aug. 93
-|*
-|*************************************************************************/
-
SwViewOption::SwViewOption() :
aRetoucheColor( COL_TRANSPARENT ),
mnViewLayoutColumns( 0 ),
@@ -334,14 +305,6 @@ SwViewOption::~SwViewOption()
{
}
-/*************************************************************************
-|*
-|* ViewOption::Init()
-|*
-|* Letzte Aenderung MA 04. Aug. 93
-|*
-|*************************************************************************/
-
void SwViewOption::Init( Window *pWin )
{
if( !nPixelTwips && pWin )
@@ -356,10 +319,6 @@ BOOL SwViewOption::IsAutoCompleteWords() const
return /*rFlags.bAutoCompleteWords &&*/ rFlags.bAutoCmpltCollectWords;
}
-/*************************************************************************/
-/* */
-/*************************************************************************/
-
AuthorCharAttr::AuthorCharAttr() :
nItemId (SID_ATTR_CHAR_UNDERLINE),
nAttr (UNDERLINE_SINGLE),
@@ -367,10 +326,6 @@ AuthorCharAttr::AuthorCharAttr() :
{
}
-/*-----------------07.01.97 13.50-------------------
-
---------------------------------------------------*/
-
USHORT GetHtmlMode(const SwDocShell* pShell)
{
USHORT nRet = 0;
@@ -404,122 +359,87 @@ USHORT GetHtmlMode(const SwDocShell* pShell)
}
return nRet;
}
-/* -----------------------------24.04.2002 10:20------------------------------
- ---------------------------------------------------------------------------*/
Color& SwViewOption::GetDocColor()
{
return aDocColor;
}
-/* -----------------------------23.04.2002 17:18------------------------------
- ---------------------------------------------------------------------------*/
Color& SwViewOption::GetDocBoundariesColor()
{
return aDocBoundColor;
}
-/* -----------------------------23.04.2002 17:53------------------------------
- ---------------------------------------------------------------------------*/
Color& SwViewOption::GetObjectBoundariesColor()
{
return aObjectBoundColor;
}
-/* -----------------------------24.04.2002 10:41------------------------------
- ---------------------------------------------------------------------------*/
Color& SwViewOption::GetAppBackgroundColor()
{
return aAppBackgroundColor;
}
-/*-- 24.04.2002 10:50:11---------------------------------------------------
- -----------------------------------------------------------------------*/
Color& SwViewOption::GetTableBoundariesColor()
{
return aTableBoundColor;
}
-/*-- 24.04.2002 10:50:12---------------------------------------------------
- -----------------------------------------------------------------------*/
Color& SwViewOption::GetIndexShadingsColor()
{
return aIndexShadingsColor;
}
-/*-- 24.04.2002 10:50:12---------------------------------------------------
- -----------------------------------------------------------------------*/
Color& SwViewOption::GetLinksColor()
{
return aLinksColor;
}
-/*-- 24.04.2002 10:50:13---------------------------------------------------
- -----------------------------------------------------------------------*/
Color& SwViewOption::GetVisitedLinksColor()
{
return aVisitedLinksColor;
}
-/*-- 24.04.2002 10:50:13---------------------------------------------------
- -----------------------------------------------------------------------*/
Color& SwViewOption::GetDirectCursorColor()
{
return aDirectCursorColor;
}
-/*-- 24.04.2002 10:50:14---------------------------------------------------
- -----------------------------------------------------------------------*/
Color& SwViewOption::GetTextGridColor()
{
return aTextGridColor;
}
-/*-- 24.04.2002 10:50:14---------------------------------------------------
- -----------------------------------------------------------------------*/
Color& SwViewOption::GetSpellColor()
{
return aSpellColor;
}
-/*-- 24.04.2007 10:50:14---------------------------------------------------
- -----------------------------------------------------------------------*/
Color& SwViewOption::GetSmarttagColor()
{
return aSmarttagColor;
}
-/*-- 06.12.2002 10:50:11---------------------------------------------------
- -----------------------------------------------------------------------*/
Color& SwViewOption::GetFontColor()
{
return aFontColor;
}
-/*-- 24.04.2002 10:50:15---------------------------------------------------
- -----------------------------------------------------------------------*/
Color& SwViewOption::GetFieldShadingsColor()
{
return aFieldShadingsColor;
}
-/*-- 24.04.2002 10:50:15---------------------------------------------------
- -----------------------------------------------------------------------*/
Color& SwViewOption::GetSectionBoundColor()
{
return aSectionBoundColor;
}
-/* -----------------------------2002/07/31 14:00------------------------------
- ---------------------------------------------------------------------------*/
Color& SwViewOption::GetPageBreakColor()
{
return aPageBreakColor;
}
-/* -----------------------------23.04.2002 17:41------------------------------
-
- ---------------------------------------------------------------------------*/
void SwViewOption::ApplyColorConfigValues(const svtools::ColorConfig& rConfig )
{
aDocColor.SetColor(rConfig.GetColorValue(svtools::DOCCOLOR).nColor);
@@ -582,9 +502,7 @@ void SwViewOption::ApplyColorConfigValues(const svtools::ColorConfig& rConfig )
aScriptIndicatorColor.SetColor(rConfig.GetColorValue(svtools::WRITERSCRIPTINDICATOR).nColor);
}
-/* -----------------------------23.04.2002 17:48------------------------------
- ---------------------------------------------------------------------------*/
void SwViewOption::SetAppearanceFlag(sal_Int32 nFlag, BOOL bSet, BOOL bSaveInConfig )
{
if(bSet)
@@ -625,9 +543,7 @@ void SwViewOption::SetAppearanceFlag(sal_Int32 nFlag, BOOL bSet, BOOL bSaveInCon
}
}
}
-/* -----------------------------24.04.2002 10:42------------------------------
- ---------------------------------------------------------------------------*/
BOOL SwViewOption::IsAppearanceFlag(sal_Int32 nFlag)
{
return 0 != (nAppearanceFlags & nFlag);
diff --git a/sw/source/ui/dialog/uiregionsw.cxx b/sw/source/ui/dialog/uiregionsw.cxx
index 6e6ee3f..e75deac 100644
--- a/sw/source/ui/dialog/uiregionsw.cxx
+++ b/sw/source/ui/dialog/uiregionsw.cxx
@@ -148,9 +148,6 @@ void lcl_FillSubRegionList( SwWrtShell& rSh, ComboBox& rSubRegions, ComboBox* pA
}
}
-/* -----------------25.06.99 15:38-------------------
-
- --------------------------------------------------*/
class SwTestPasswdDlg : public SfxPasswordDialog
{
public:
@@ -349,14 +346,9 @@ String SectRepr::GetSubRegion() const
return sLinkFile;
}
-
-
/*----------------------------------------------------------------------------
Beschreibung: Dialog Bearbeiten Bereiche
----------------------------------------------------------------------------*/
-
-//---------------------------------------------------------------------
-
SwEditRegionDlg::SwEditRegionDlg( Window* pParent, SwWrtShell& rWrtSh )
: SfxModalDialog( pParent, SW_RES(MD_EDIT_REGION) ),
aNameFL ( this, SW_RES( FL_NAME ) ),
@@ -458,9 +450,7 @@ SwEditRegionDlg::SwEditRegionDlg( Window* pParent, SwWrtShell& rWrtSh )
aTree.Show();
bDontCheckPasswd = sal_False;
}
-/* -----------------------------26.04.01 14:56--------------------------------
- ---------------------------------------------------------------------------*/
BOOL SwEditRegionDlg::CheckPasswd(CheckBox* pBox)
{
if(bDontCheckPasswd)
@@ -505,10 +495,10 @@ BOOL SwEditRegionDlg::CheckPasswd(CheckBox* pBox)
return bRet;
}
+
/*---------------------------------------------------------------------
Beschreibung: Durchsuchen nach Child-Sections, rekursiv
---------------------------------------------------------------------*/
-
void SwEditRegionDlg::RecurseList( const SwSectionFmt* pFmt, SvLBoxEntry* pEntry )
{
SwSection* pSect = 0;
@@ -582,9 +572,6 @@ void SwEditRegionDlg::RecurseList( const SwSectionFmt* pFmt, SvLBoxEntry* pEntry
aTree.Select(pSelEntry);
}
}
-/*---------------------------------------------------------------------
-
----------------------------------------------------------------------*/
USHORT SwEditRegionDlg::FindArrPos(const SwSectionFmt* pFmt )
{
@@ -596,10 +583,10 @@ USHORT SwEditRegionDlg::FindArrPos(const SwSectionFmt* pFmt )
DBG_ERROR( "SectionFormat nicht in der Liste" );
return USHRT_MAX;
}
+
/*---------------------------------------------------------------------
Beschreibung:
---------------------------------------------------------------------*/
-
SwEditRegionDlg::~SwEditRegionDlg( )
{
SvLBoxEntry* pEntry = aTree.First();
@@ -612,9 +599,7 @@ SwEditRegionDlg::~SwEditRegionDlg( )
aSectReprArr.DeleteAndDestroy( 0, aSectReprArr.Count() );
delete m_pDocInserter;
}
-/* -----------------------------09.10.2001 15:41------------------------------
- ---------------------------------------------------------------------------*/
void SwEditRegionDlg::SelectSection(const String& rSectionName)
{
SvLBoxEntry* pEntry = aTree.First();
@@ -632,12 +617,12 @@ void SwEditRegionDlg::SelectSection(const String& rSectionName)
aTree.MakeVisible(pEntry);
}
}
+
/*---------------------------------------------------------------------
Beschreibung: Selektierte Eintrag in der TreeListBox wird im
Edit-Fenster angezeigt
Bei Multiselektion werden einige Controls disabled
---------------------------------------------------------------------*/
-
IMPL_LINK( SwEditRegionDlg, GetFirstEntryHdl, SvTreeListBox *, pBox )
{
bDontCheckPasswd = sal_True;
@@ -808,9 +793,7 @@ IMPL_LINK( SwEditRegionDlg, GetFirstEntryHdl, SvTreeListBox *, pBox )
bDontCheckPasswd = sal_False;
return 0;
}
-/*-----------------28.06.97 09:19-------------------
---------------------------------------------------*/
IMPL_LINK( SwEditRegionDlg, DeselectHdl, SvTreeListBox *, pBox )
{
if( !pBox->GetSelectionCount() )
@@ -845,7 +828,6 @@ IMPL_LINK( SwEditRegionDlg, DeselectHdl, SvTreeListBox *, pBox )
Beschreibung: Im OkHdl werden die veraenderten Einstellungen
uebernommen und aufgehobene Bereiche geloescht
---------------------------------------------------------------------*/
-
IMPL_LINK( SwEditRegionDlg, OkHdl, CheckBox *, EMPTYARG )
{
// JP 13.03.96:
@@ -925,10 +907,10 @@ IMPL_LINK( SwEditRegionDlg, OkHdl, CheckBox *, EMPTYARG )
return 0;
}
+
/*---------------------------------------------------------------------
Beschreibung: Toggle protect
---------------------------------------------------------------------*/
-
IMPL_LINK( SwEditRegionDlg, ChangeProtectHdl, TriStateBox *, pBox )
{
if(!CheckPasswd(pBox))
@@ -954,10 +936,10 @@ IMPL_LINK( SwEditRegionDlg, ChangeProtectHdl, TriStateBox *, pBox )
aPasswdPB.Enable(bCheck);
return 0;
}
+
/*---------------------------------------------------------------------
Beschreibung: Toggle hide
---------------------------------------------------------------------*/
-
IMPL_LINK( SwEditRegionDlg, ChangeHideHdl, TriStateBox *, pBox )
{
if(!CheckPasswd(pBox))
@@ -990,7 +972,6 @@ IMPL_LINK( SwEditRegionDlg, ChangeHideHdl, TriStateBox *, pBox )
/*---------------------------------------------------------------------
Beschreibung: Toggle edit in readonly
---------------------------------------------------------------------*/
-
IMPL_LINK( SwEditRegionDlg, ChangeEditInReadonlyHdl, TriStateBox *, pBox )
{
if(!CheckPasswd(pBox))
@@ -1012,7 +993,6 @@ IMPL_LINK( SwEditRegionDlg, ChangeEditInReadonlyHdl, TriStateBox *, pBox )
/*---------------------------------------------------------------------
Beschreibung: selektierten Bereich aufheben
---------------------------------------------------------------------*/
-
IMPL_LINK( SwEditRegionDlg, ChangeDismissHdl, CheckBox *, EMPTYARG )
{
if(!CheckPasswd())
@@ -1077,10 +1057,10 @@ IMPL_LINK( SwEditRegionDlg, ChangeDismissHdl, CheckBox *, EMPTYARG )
}
return 0;
}
+
/*---------------------------------------------------------------------
Beschreibung: CheckBox mit Datei verknuepfen?
---------------------------------------------------------------------*/
-
IMPL_LINK( SwEditRegionDlg, UseFileHdl, CheckBox *, pBox )
{
if(!CheckPasswd(pBox))
@@ -1151,7 +1131,6 @@ IMPL_LINK( SwEditRegionDlg, UseFileHdl, CheckBox *, pBox )
/*---------------------------------------------------------------------
Beschreibung: Dialog Datei einfuegen rufen
---------------------------------------------------------------------*/
-
IMPL_LINK( SwEditRegionDlg, FileSearchHdl, PushButton *, EMPTYARG )
{
if(!CheckPasswd(0))
@@ -1169,7 +1148,6 @@ IMPL_LINK( SwEditRegionDlg, FileSearchHdl, PushButton *, EMPTYARG )
/*---------------------------------------------------------------------
Beschreibung:
---------------------------------------------------------------------*/
-
IMPL_LINK( SwEditRegionDlg, OptionsHdl, PushButton *, EMPTYARG )
{
if(!CheckPasswd())
@@ -1275,7 +1253,6 @@ IMPL_LINK( SwEditRegionDlg, OptionsHdl, PushButton *, EMPTYARG )
Beschreibung: Uebernahme des Dateinamen oder
des verknuepften Bereichs
---------------------------------------------------------------------*/
-
IMPL_LINK( SwEditRegionDlg, FileNameHdl, Edit *, pEdit )
{
Selection aSelect = pEdit->GetSelection();
@@ -1324,10 +1301,10 @@ IMPL_LINK( SwEditRegionDlg, FileNameHdl, Edit *, pEdit )
}
return 0;
}
+
/*---------------------------------------------------------------------
Beschreibung:
---------------------------------------------------------------------*/
-
IMPL_LINK( SwEditRegionDlg, DDEHdl, CheckBox*, pBox )
{
if(!CheckPasswd(pBox))
@@ -1376,9 +1353,6 @@ IMPL_LINK( SwEditRegionDlg, DDEHdl, CheckBox*, pBox )
}
return 0;
}
-/*---------------------------------------------------------------------
-
----------------------------------------------------------------------*/
IMPL_LINK( SwEditRegionDlg, ChangePasswdHdl, Button *, pBox )
{
@@ -1432,12 +1406,12 @@ IMPL_LINK( SwEditRegionDlg, ChangePasswdHdl, Button *, pBox )
}
return 0;
}
+
/*---------------------------------------------------------------------
Beschreibung: Aktueller Bereichsname wird sofort beim editieren
in die TreeListBox eingetragen, mit leerem String
kein Ok()
---------------------------------------------------------------------*/
-
IMPL_LINK( SwEditRegionDlg, NameEditHdl, Edit *, EMPTYARG )
{
if(!CheckPasswd(0))
@@ -1455,9 +1429,6 @@ IMPL_LINK( SwEditRegionDlg, NameEditHdl, Edit *, EMPTYARG )
}
return 0;
}
-/*---------------------------------------------------------------------
-
----------------------------------------------------------------------*/
IMPL_LINK( SwEditRegionDlg, ConditionEditHdl, Edit *, pEdit )
{
@@ -1508,9 +1479,7 @@ IMPL_LINK( SwEditRegionDlg, DlgClosedHdl, sfx2::FileDialogHelper *, _pFileDlg )
Application::SetDefDialogParent( m_pOldDefDlgParent );
return 0;
}
-/*-- 03.09.2009 16:24:18---------------------------------------------------
- -----------------------------------------------------------------------*/
IMPL_LINK( SwEditRegionDlg, SubRegionEventHdl, VclWindowEvent *, pEvent )
{
if( !bSubRegionsFilled && pEvent && pEvent->GetId() == VCLEVENT_DROPDOWN_PRE_OPEN )
@@ -1539,9 +1508,6 @@ IMPL_LINK( SwEditRegionDlg, SubRegionEventHdl, VclWindowEvent *, pEvent )
return 0;
}
-/* -----------------------------08.05.2002 15:00------------------------------
-
- ---------------------------------------------------------------------------*/
Image SwEditRegionDlg::BuildBitmap(BOOL bProtect,BOOL bHidden, BOOL bHighContrast)
{
ImageList& rImgLst = bHighContrast ? aImageILH : aImageIL;
@@ -1551,7 +1517,6 @@ Image SwEditRegionDlg::BuildBitmap(BOOL bProtect,BOOL bHidden, BOOL bHighContras
/*--------------------------------------------------------------------
Beschreibung: Hilfsfunktion - Bereichsnamen aus dem Medium lesen
--------------------------------------------------------------------*/
-
static void lcl_ReadSections( SfxMedium& rMedium, ComboBox& rBox )
{
rBox.Clear();
@@ -1570,9 +1535,7 @@ static void lcl_ReadSections( SfxMedium& rMedium, ComboBox& rBox )
aArr.DeleteAndDestroy(0, aArr.Count());
}
}
-/* -----------------21.05.99 10:16-------------------
- *
- * --------------------------------------------------*/
+
SwInsertSectionTabDialog::SwInsertSectionTabDialog(
Window* pParent, const SfxItemSet& rSet, SwWrtShell& rSh) :
SfxTabDialog( pParent, SW_RES(DLG_INSERT_SECTION), &rSet ),
@@ -1603,15 +1566,11 @@ SwInsertSectionTabDialog::SwInsertSectionTabDialog(
}
SetCurPageId(TP_INSERT_SECTION);
}
-/* -----------------21.05.99 10:17-------------------
- *
- * --------------------------------------------------*/
+
SwInsertSectionTabDialog::~SwInsertSectionTabDialog()
{
}
-/* -----------------21.05.99 10:23-------------------
- *
- * --------------------------------------------------*/
+
void SwInsertSectionTabDialog::PageCreated( USHORT nId, SfxTabPage &rPage )
{
if(TP_INSERT_SECTION == nId)
@@ -1632,17 +1591,12 @@ void SwInsertSectionTabDialog::PageCreated( USHORT nId, SfxTabPage &rPage )
else if(TP_SECTION_INDENTS == nId)
((SwSectionIndentTabPage&)rPage).SetWrtShell(rWrtSh);
}
-/* -----------------21.05.99 13:08-------------------
- *
- * --------------------------------------------------*/
void SwInsertSectionTabDialog::SetSectionData(SwSectionData const& rSect)
{
m_pSectionData.reset( new SwSectionData(rSect) );
}
-/* -----------------21.05.99 13:10-------------------
- *
- * --------------------------------------------------*/
+
short SwInsertSectionTabDialog::Ok()
{
short nRet = SfxTabDialog::Ok();
@@ -1684,9 +1638,6 @@ short SwInsertSectionTabDialog::Ok()
return nRet;
}
-/* -----------------21.05.99 10:31-------------------
- *
- * --------------------------------------------------*/
SwInsertSectionTabPage::SwInsertSectionTabPage(
Window *pParent, const SfxItemSet &rAttrSet) :
SfxTabPage( pParent, SW_RES(TP_INSERT_SECTION), rAttrSet ),
@@ -1736,9 +1687,7 @@ SwInsertSectionTabPage::SwInsertSectionTabPage(
ChangeProtectHdl(&aProtectCB);
aSubRegionED.EnableAutocomplete( sal_True, sal_True );
}
-/* -----------------21.05.99 10:31-------------------
- *
- * --------------------------------------------------*/
+
SwInsertSectionTabPage::~SwInsertSectionTabPage()
{
delete m_pDocInserter;
@@ -1843,23 +1792,16 @@ BOOL SwInsertSectionTabPage::FillItemSet( SfxItemSet& )
((SwInsertSectionTabDialog*)GetTabDialog())->SetSectionData(aSection);
return TRUE;
}
-/* -----------------21.05.99 10:32-------------------
- *
- * --------------------------------------------------*/
+
void SwInsertSectionTabPage::Reset( const SfxItemSet& )
{
}
-/* -----------------21.05.99 11:22-------------------
- *
- * --------------------------------------------------*/
+
SfxTabPage* SwInsertSectionTabPage::Create( Window* pParent,
const SfxItemSet& rAttrSet)
{
return new SwInsertSectionTabPage(pParent, rAttrSet);
}
-/*---------------------------------------------------------------------
-
----------------------------------------------------------------------*/
IMPL_LINK( SwInsertSectionTabPage, ChangeHideHdl, CheckBox *, pBox )
{
@@ -1868,17 +1810,11 @@ IMPL_LINK( SwInsertSectionTabPage, ChangeHideHdl, CheckBox *, pBox )
aConditionFT.Enable(bHide);
return 0;
}
-/*---------------------------------------------------------------------
-
----------------------------------------------------------------------*/
IMPL_LINK( SwInsertSectionTabPage, ChangeEditInReadonlyHdl, CheckBox *, EMPTYARG )
{
return 0;
}
-/*---------------------------------------------------------------------
-
----------------------------------------------------------------------*/
IMPL_LINK( SwInsertSectionTabPage, ChangeProtectHdl, CheckBox *, pBox )
{
@@ -1887,9 +1823,7 @@ IMPL_LINK( SwInsertSectionTabPage, ChangeProtectHdl, CheckBox *, pBox )
aPasswdPB.Enable(bCheck);
return 0;
}
-/* -----------------------------26.04.01 14:50--------------------------------
- ---------------------------------------------------------------------------*/
IMPL_LINK( SwInsertSectionTabPage, ChangePasswdHdl, Button *, pButton )
{
sal_Bool bChange = pButton == &aPasswdPB;
@@ -1920,9 +1854,6 @@ IMPL_LINK( SwInsertSectionTabPage, ChangePasswdHdl, Button *, pButton )
m_aNewPasswd.realloc(0);
return 0;
}
-/*---------------------------------------------------------------------
-
----------------------------------------------------------------------*/
IMPL_LINK_INLINE_START( SwInsertSectionTabPage, NameEditHdl, Edit *, EMPTYARG )
{
@@ -1932,10 +1863,6 @@ IMPL_LINK_INLINE_START( SwInsertSectionTabPage, NameEditHdl, Edit *, EMPTYARG )
}
IMPL_LINK_INLINE_END( SwInsertSectionTabPage, NameEditHdl, Edit *, EMPTYARG )
-/*---------------------------------------------------------------------
-
----------------------------------------------------------------------*/
-
IMPL_LINK( SwInsertSectionTabPage, UseFileHdl, CheckBox *, pBox )
{
if( pBox->IsChecked() )
@@ -1968,10 +1895,6 @@ IMPL_LINK( SwInsertSectionTabPage, UseFileHdl, CheckBox *, pBox )
return 0;
}
-/*---------------------------------------------------------------------
-
----------------------------------------------------------------------*/
-
IMPL_LINK( SwInsertSectionTabPage, FileSearchHdl, PushButton *, EMPTYARG )
{
m_pOldDefDlgParent = Application::GetDefDialogParent();
@@ -1983,10 +1906,6 @@ IMPL_LINK( SwInsertSectionTabPage, FileSearchHdl, PushButton *, EMPTYARG )
return 0;
}
-/*---------------------------------------------------------------------
-
----------------------------------------------------------------------*/
-
IMPL_LINK( SwInsertSectionTabPage, DDEHdl, CheckBox*, pBox )
{
BOOL bDDE = pBox->IsChecked();
@@ -2307,9 +2226,6 @@ IMPL_LINK( SwSectionFtnEndTabPage, FootEndHdl, CheckBox *, pBox )
return 0;
}
-/* -----------------21.05.99 13:59-------------------
- *
- * --------------------------------------------------*/
SwSectionPropertyTabDialog::SwSectionPropertyTabDialog(
Window* pParent, const SfxItemSet& rSet, SwWrtShell& rSh) :
SfxTabDialog(pParent, SW_RES(DLG_SECTION_PROPERTIES), &rSet),
@@ -2334,15 +2250,11 @@ SwSectionPropertyTabDialog::SwSectionPropertyTabDialog(
RemoveTabPage(TP_COLUMN);
}
}
-/* -----------------21.05.99 13:59-------------------
- *
- * --------------------------------------------------*/
+
SwSectionPropertyTabDialog::~SwSectionPropertyTabDialog()
{
}
-/* -----------------21.05.99 13:59-------------------
- *
- * --------------------------------------------------*/
+
void SwSectionPropertyTabDialog::PageCreated( USHORT nId, SfxTabPage &rPage )
{
if( TP_BACKGROUND == nId )
@@ -2359,9 +2271,7 @@ void SwSectionPropertyTabDialog::PageCreated( USHORT nId, SfxTabPage &rPage )
else if(TP_SECTION_INDENTS == nId)
((SwSectionIndentTabPage&)rPage).SetWrtShell(rWrtSh);
}
-/*-- 13.06.2003 09:59:08---------------------------------------------------
- -----------------------------------------------------------------------*/
SwSectionIndentTabPage::SwSectionIndentTabPage( Window *pParent, const SfxItemSet &rAttrSet ) :
SfxTabPage(pParent, SW_RES(TP_SECTION_INDENTS), rAttrSet),
aIndentFL(this, SW_RES(FL_INDENT )),
@@ -2376,15 +2286,11 @@ SwSectionIndentTabPage::SwSectionIndentTabPage( Window *pParent, const SfxItemSe
aBeforeMF.SetModifyHdl(aLk);
aAfterMF.SetModifyHdl(aLk);
}
-/*-- 13.06.2003 09:59:23---------------------------------------------------
- -----------------------------------------------------------------------*/
SwSectionIndentTabPage::~SwSectionIndentTabPage()
{
}
-/*-- 13.06.2003 09:59:23---------------------------------------------------
- -----------------------------------------------------------------------*/
BOOL SwSectionIndentTabPage::FillItemSet( SfxItemSet& rSet)
{
if(aBeforeMF.IsValueModified() ||
@@ -2397,9 +2303,7 @@ BOOL SwSectionIndentTabPage::FillItemSet( SfxItemSet& rSet)
}
return TRUE;
}
-/*-- 13.06.2003 09:59:24---------------------------------------------------
- -----------------------------------------------------------------------*/
void SwSectionIndentTabPage::Reset( const SfxItemSet& rSet)
{
//this page doesn't show up in HTML mode
@@ -2425,16 +2329,12 @@ void SwSectionIndentTabPage::Reset( const SfxItemSet& rSet)
aAfterMF.SaveValue();
IndentModifyHdl(0);
}
-/*-- 13.06.2003 09:59:24---------------------------------------------------
- -----------------------------------------------------------------------*/
SfxTabPage* SwSectionIndentTabPage::Create( Window* pParent, const SfxItemSet& rAttrSet)
{
... etc. - the rest is truncated
More information about the Libreoffice-commits
mailing list