diff options
author | J. Graeme Lingard <jgraeme+git@gmail.com> | 2010-11-12 13:17:03 +0000 |
---|---|---|
committer | J. Graeme Lingard <jgraeme+git@gmail.com> | 2010-11-12 13:17:03 +0000 |
commit | 849799ee85174ec09884740ae36c53b1ae5d325a (patch) | |
tree | 04403e3a4badcd160b19502f0214a23dc4038ac4 /sw | |
parent | 296c8514d0e46c983915843408b8bb35e3396fbc (diff) |
Remove empty Beschreibung (Description) comments
Diffstat (limited to 'sw')
26 files changed, 1 insertions, 518 deletions
diff --git a/sw/source/core/fields/dbfld.cxx b/sw/source/core/fields/dbfld.cxx index c778146aa486..1848a48c6484 100644 --- a/sw/source/core/fields/dbfld.cxx +++ b/sw/source/core/fields/dbfld.cxx @@ -312,10 +312,6 @@ void SwDBField::ChgValue( double d, BOOL bVal ) aContent = ((SwValueFieldType*)GetTyp())->ExpandValue(d, GetFormat(), GetLanguage()); } -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - SwFieldType* SwDBField::ChgTyp( SwFieldType* pNewType ) { SwFieldType* pOld = SwValueField::ChgTyp( pNewType ); @@ -399,19 +395,11 @@ const String& SwDBField::GetPar1() const return ((SwDBFieldType*)GetTyp())->GetName(); } -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - USHORT SwDBField::GetSubType() const { return nSubType; } -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - void SwDBField::SetSubType(USHORT nType) { nSubType = nType; @@ -739,9 +727,6 @@ bool SwDBNextSetField::PutValue( const uno::Any& rAny, USHORT nWhichId ) return bRet; } -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ /* String SwDBNextSetField::GetPar2() const { diff --git a/sw/source/core/fields/fldbas.cxx b/sw/source/core/fields/fldbas.cxx index 83eb027c37a6..2c429a96732d 100644 --- a/sw/source/core/fields/fldbas.cxx +++ b/sw/source/core/fields/fldbas.cxx @@ -213,10 +213,6 @@ USHORT SwField::Which() const } #endif -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - USHORT SwField::GetTypeId() const { @@ -538,10 +534,6 @@ String SwValueFieldType::ExpandValue( const double& rVal, return sExpand; } -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - void SwValueFieldType::DoubleToString( String &rValue, const double &rVal, sal_uInt32 nFmt) const { @@ -552,10 +544,6 @@ void SwValueFieldType::DoubleToString( String &rValue, const double &rVal, DoubleToString(rValue, rVal, pEntry->GetLanguage()); } -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - void SwValueFieldType::DoubleToString( String &rValue, const double &rVal, USHORT nLng ) const { @@ -693,10 +681,6 @@ void SwValueField::SetLanguage( USHORT nLng ) SwField::SetLanguage(nLng); } -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - double SwValueField::GetValue() const { return fValue; @@ -722,19 +706,11 @@ SwFormulaField::SwFormulaField( const SwFormulaField& rFld ) { } -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - String SwFormulaField::GetFormula() const { return sFormula; } -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - void SwFormulaField::SetFormula(const String& rStr) { sFormula = rStr; @@ -750,10 +726,6 @@ void SwFormulaField::SetFormula(const String& rStr) } } -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - void SwFormulaField::SetExpandedFormula( const String& rStr ) { sal_uInt32 nFmt(GetFormat()); @@ -776,10 +748,6 @@ void SwFormulaField::SetExpandedFormula( const String& rStr ) sFormula = rStr; } -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - String SwFormulaField::GetExpandedFormula() const { sal_uInt32 nFmt(GetFormat()); diff --git a/sw/source/core/fields/flddat.cxx b/sw/source/core/fields/flddat.cxx index 6bc6bc5421d4..74920521b88d 100644 --- a/sw/source/core/fields/flddat.cxx +++ b/sw/source/core/fields/flddat.cxx @@ -46,10 +46,6 @@ SwDateTimeFieldType::SwDateTimeFieldType(SwDoc* pInitDoc) : SwValueFieldType( pInitDoc, RES_DATETIMEFLD ) {} -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - SwFieldType* SwDateTimeFieldType::Copy() const { SwDateTimeFieldType *pTmp = new SwDateTimeFieldType(GetDoc()); @@ -80,10 +76,6 @@ SwDateTimeField::SwDateTimeField(SwDateTimeFieldType* pInitType, USHORT nSub, UL } } -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - String SwDateTimeField::Expand() const { double fVal; @@ -102,10 +94,6 @@ String SwDateTimeField::Expand() const return ExpandValue(fVal, GetFormat(), GetLanguage()); } -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - SwField* SwDateTimeField::Copy() const { SwDateTimeField *pTmp = @@ -119,36 +107,21 @@ SwField* SwDateTimeField::Copy() const return pTmp; } -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - USHORT SwDateTimeField::GetSubType() const { return nSubType; } -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - void SwDateTimeField::SetSubType(USHORT nType) { nSubType = nType; } -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ void SwDateTimeField::SetPar2(const String& rStr) { nOffset = rStr.ToInt32(); } -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - String SwDateTimeField::GetPar2() const { if (nOffset) @@ -157,19 +130,11 @@ String SwDateTimeField::GetPar2() const return aEmptyStr; } -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - void SwDateTimeField::SetDateTime(const DateTime& rDT) { SetValue(GetDateTime(GetDoc(), rDT)); } -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - double SwDateTimeField::GetDateTime(SwDoc* pDoc, const DateTime& rDT) { SvNumberFormatter* pFormatter = pDoc->GetNumberFormatter(); @@ -180,10 +145,6 @@ double SwDateTimeField::GetDateTime(SwDoc* pDoc, const DateTime& rDT) return fResult; } -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - double SwDateTimeField::GetValue() const { if (IsFixed()) @@ -192,10 +153,6 @@ double SwDateTimeField::GetValue() const return GetDateTime(GetDoc(), DateTime()); } -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - Date SwDateTimeField::GetDate(BOOL bUseOffset) const { SvNumberFormatter* pFormatter = GetDoc()->GetNumberFormatter(); @@ -211,10 +168,6 @@ Date SwDateTimeField::GetDate(BOOL bUseOffset) const return aDate; } -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - Time SwDateTimeField::GetTime(BOOL bUseOffset) const { double fDummy; diff --git a/sw/source/ui/app/docsh.cxx b/sw/source/ui/app/docsh.cxx index 39ff5636bfed..2b93dde31b54 100644 --- a/sw/source/ui/app/docsh.cxx +++ b/sw/source/ui/app/docsh.cxx @@ -984,12 +984,6 @@ sal_uInt16 SwDocShell::GetHiddenInformationState( sal_uInt16 nStates ) } // <-- - -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - - void SwDocShell::GetState(SfxItemSet& rSet) { SfxWhichIter aIter(rSet); diff --git a/sw/source/ui/app/docsh2.cxx b/sw/source/ui/app/docsh2.cxx index 4531e1bfc1d4..4929b8ea08b5 100644 --- a/sw/source/ui/app/docsh2.cxx +++ b/sw/source/ui/app/docsh2.cxx @@ -1458,32 +1458,18 @@ void lcl_processCompatibleSfxHint( const uno::Reference< document::XVbaEventsHel } #endif -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - long SwDocShell::DdeGetData( const String& rItem, const String& rMimeType, uno::Any & rValue ) { return pDoc->GetData( rItem, rMimeType, rValue ); } - -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - long SwDocShell::DdeSetData( const String& rItem, const String& rMimeType, const uno::Any & rValue ) { return pDoc->SetData( rItem, rMimeType, rValue ); } - -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - ::sfx2::SvLinkSource* SwDocShell::DdeCreateLinkSource( const String& rItem ) { return pDoc->CreateLinkSource( rItem ); diff --git a/sw/source/ui/app/docst.cxx b/sw/source/ui/app/docst.cxx index a5c5028b61d7..cfb9a34d70e0 100644 --- a/sw/source/ui/app/docst.cxx +++ b/sw/source/ui/app/docst.cxx @@ -87,11 +87,6 @@ using namespace ::com::sun::star; -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - - void SwDocShell::StateStyleSheet(SfxItemSet& rSet, SwWrtShell* pSh) { SfxWhichIter aIter(rSet); diff --git a/sw/source/ui/docvw/edtwin.cxx b/sw/source/ui/docvw/edtwin.cxx index 85df265d50b5..3afba671b0a5 100644 --- a/sw/source/ui/docvw/edtwin.cxx +++ b/sw/source/ui/docvw/edtwin.cxx @@ -608,10 +608,6 @@ IMPL_LINK( SwEditWin, TimerHandler, Timer *, EMPTYARG ) return 0; } -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - void SwEditWin::JustifyAreaTimer() { const Rectangle &rVisArea = GetView().GetVisArea(); @@ -4573,19 +4569,11 @@ BOOL SwEditWin::EnterDrawMode(const MouseEvent& rMEvt, const Point& aDocPos) return FALSE; } -/****************************************************************************** - * Beschreibung: - ******************************************************************************/ - BOOL SwEditWin::IsDrawSelMode() { return IsObjectSelect(); } -/****************************************************************************** - * Beschreibung: - ******************************************************************************/ - void SwEditWin::GetFocus() { if ( rView.GetPostItMgr()->HasActiveSidebarWin() ) @@ -4600,10 +4588,6 @@ void SwEditWin::GetFocus() } } -/****************************************************************************** - * Beschreibung: - ******************************************************************************/ - void SwEditWin::LoseFocus() { rView.GetWrtShell().InvalidateAccessibleFocus(); @@ -4613,10 +4597,6 @@ void SwEditWin::LoseFocus() rView.LostFocus(); } -/****************************************************************************** - * Beschreibung: - ******************************************************************************/ - void SwEditWin::Command( const CommandEvent& rCEvt ) { SwWrtShell &rSh = rView.GetWrtShell(); diff --git a/sw/source/ui/docvw/srcedtw.cxx b/sw/source/ui/docvw/srcedtw.cxx index 816c0933d7a9..96422c769bcd 100644 --- a/sw/source/ui/docvw/srcedtw.cxx +++ b/sw/source/ui/docvw/srcedtw.cxx @@ -211,11 +211,6 @@ static void lcl_Highlight(const String& rSource, SwTextPortions& aPortionList) } } -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - - SwSrcEditWindow::SwSrcEditWindow( Window* pParent, SwSrcView* pParentView ) : Window( pParent, WB_BORDER|WB_CLIPCHILDREN ), @@ -238,9 +233,7 @@ SwSrcEditWindow::SwSrcEditWindow( Window* pParent, SwSrcView* pParentView ) : CreateTextEngine(); pSourceViewConfig->AddListener(this); } -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ + SwSrcEditWindow::~SwSrcEditWindow() { pSourceViewConfig->RemoveListener(this); @@ -260,10 +253,6 @@ SwSrcEditWindow::SwSrcEditWindow( Window* pParent, SwSrcView* pParentView ) : delete pOutWin; } -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - void SwSrcEditWindow::DataChanged( const DataChangedEvent& rDCEvt ) { Window::DataChanged( rDCEvt ); @@ -333,10 +322,6 @@ void SwSrcEditWindow::Resize() } -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - void TextViewOutWin::DataChanged( const DataChangedEvent& rDCEvt ) { Window::DataChanged( rDCEvt ); @@ -363,11 +348,6 @@ void TextViewOutWin::MouseMove( const MouseEvent &rEvt ) pTextView->MouseMove( rEvt ); } -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - - void TextViewOutWin::MouseButtonUp( const MouseEvent &rEvt ) { if ( pTextView ) @@ -380,11 +360,6 @@ void TextViewOutWin::MouseButtonUp( const MouseEvent &rEvt ) } } -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - - void TextViewOutWin::MouseButtonDown( const MouseEvent &rEvt ) { GrabFocus(); @@ -392,11 +367,6 @@ void TextViewOutWin::MouseButtonDown( const MouseEvent &rEvt ) pTextView->MouseButtonDown( rEvt ); } -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - - void TextViewOutWin::Command( const CommandEvent& rCEvt ) { switch(rCEvt.GetCommand()) @@ -425,12 +395,6 @@ void TextViewOutWin::Command( const CommandEvent& rCEvt ) } } - -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - - void TextViewOutWin::KeyInput( const KeyEvent& rKEvt ) { BOOL bDone = FALSE; @@ -469,21 +433,11 @@ void TextViewOutWin::KeyInput( const KeyEvent& rKEvt ) } } -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - - void TextViewOutWin::Paint( const Rectangle& rRect ) { pTextView->Paint( rRect ); } -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - - void SwSrcEditWindow::CreateTextEngine() { const Color &rCol = GetSettings().GetStyleSettings().GetWindowColor(); @@ -535,15 +489,6 @@ void SwSrcEditWindow::CreateTextEngine() rBind.Invalidate( SID_TABLE_CELL ); } -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - - void SwSrcEditWindow::SetScrollBarRanges() { // Extra-Methode, nicht InitScrollBars, da auch fuer TextEngine-Events. @@ -552,11 +497,6 @@ void SwSrcEditWindow::SetScrollBarRanges() pVScrollbar->SetRange( Range(0, pTextEngine->GetTextHeight()-1) ); } -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - - void SwSrcEditWindow::InitScrollBars() { SetScrollBarRanges(); @@ -573,11 +513,6 @@ void SwSrcEditWindow::InitScrollBars() } -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - - IMPL_LINK(SwSrcEditWindow, ScrollHdl, ScrollBar*, pScroll) { if(pScroll == pVScrollbar) diff --git a/sw/source/ui/fldui/flddb.hxx b/sw/source/ui/fldui/flddb.hxx index 59cb0b741487..d473d6bf828f 100644 --- a/sw/source/ui/fldui/flddb.hxx +++ b/sw/source/ui/fldui/flddb.hxx @@ -39,10 +39,6 @@ #include "fldpage.hxx" -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - class SwFldDBPage : public SwFldPage { FixedText aTypeFT; diff --git a/sw/source/ui/fldui/fldfunc.hxx b/sw/source/ui/fldui/fldfunc.hxx index eafe7365da9e..ab021b3892b7 100644 --- a/sw/source/ui/fldui/fldfunc.hxx +++ b/sw/source/ui/fldui/fldfunc.hxx @@ -38,9 +38,6 @@ #include "condedit.hxx" #include "fldpage.hxx" #include <actctrl.hxx> -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ class SwFldFuncPage : public SwFldPage { diff --git a/sw/source/ui/fldui/fldref.cxx b/sw/source/ui/fldui/fldref.cxx index 3fc46e8b41cc..136a86be8fed 100644 --- a/sw/source/ui/fldui/fldref.cxx +++ b/sw/source/ui/fldui/fldref.cxx @@ -70,11 +70,6 @@ USHORT nFldDlgFmtSel = 0; #define USER_DATA_VERSION_1 "1" #define USER_DATA_VERSION USER_DATA_VERSION_1 - -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - SwFldRefPage::SwFldRefPage(Window* pParent, const SfxItemSet& rCoreSet ) : SwFldPage( pParent, SW_RES( TP_FLD_REF ), rCoreSet ), @@ -123,10 +118,6 @@ SwFldRefPage::SwFldRefPage(Window* pParent, const SfxItemSet& rCoreSet ) : // <-- } -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - SwFldRefPage::~SwFldRefPage() { } @@ -179,10 +170,6 @@ sal_uInt16 SwFldRefPage::GetSavedSelectedPos() const // <-- -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - void SwFldRefPage::Reset(const SfxItemSet& ) { if (!IsFldEdit()) @@ -300,10 +287,6 @@ void SwFldRefPage::Reset(const SfxItemSet& ) } } -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - IMPL_LINK( SwFldRefPage, TypeHdl, ListBox *, EMPTYARG ) { // Alte ListBoxPos sichern @@ -445,10 +428,6 @@ IMPL_LINK( SwFldRefPage, TypeHdl, ListBox *, EMPTYARG ) return 0; } -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - IMPL_LINK( SwFldRefPage, SubTypeHdl, ListBox *, EMPTYARG ) { USHORT nTypeId = (USHORT)(ULONG)aTypeLB.GetEntryData(GetTypeSel()); @@ -719,10 +698,6 @@ void SwFldRefPage::UpdateSubType() // <-- } -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - USHORT SwFldRefPage::FillFormatLB(USHORT nTypeId) { String sOldSel; @@ -836,10 +811,6 @@ IMPL_LINK( SwFldRefPage, ModifyHdl, Edit *, EMPTYARG ) return 0; } -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - BOOL SwFldRefPage::FillItemSet(SfxItemSet& ) { BOOL bModified = FALSE; @@ -1028,20 +999,12 @@ BOOL SwFldRefPage::FillItemSet(SfxItemSet& ) return FALSE; } -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - SfxTabPage* SwFldRefPage::Create( Window* pParent, const SfxItemSet& rAttrSet ) { return ( new SwFldRefPage( pParent, rAttrSet ) ); } -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - USHORT SwFldRefPage::GetGroup() { return GRP_REF; diff --git a/sw/source/ui/fldui/javaedit.cxx b/sw/source/ui/fldui/javaedit.cxx index f9fa94907cd3..6953dd257192 100644 --- a/sw/source/ui/fldui/javaedit.cxx +++ b/sw/source/ui/fldui/javaedit.cxx @@ -121,12 +121,6 @@ SwJavaEditDialog::SwJavaEditDialog(Window* pParent, SwWrtShell* pWrtSh) : RadioButtonHdl(NULL); } -/*------------------------------------------------------------------------ - Beschreibung: -------------------------------------------------------------------------*/ - - - SwJavaEditDialog::~SwJavaEditDialog() { delete pMgr; @@ -134,12 +128,6 @@ SwJavaEditDialog::~SwJavaEditDialog() Application::SetDefDialogParent( pOldDefDlgParent ); } -/*------------------------------------------------------------------------ - Beschreibung: -------------------------------------------------------------------------*/ - - - IMPL_LINK_INLINE_START( SwJavaEditDialog, PrevHdl, Button *, EMPTYARG ) { SetFld(); @@ -152,12 +140,6 @@ IMPL_LINK_INLINE_START( SwJavaEditDialog, PrevHdl, Button *, EMPTYARG ) } IMPL_LINK_INLINE_END( SwJavaEditDialog, PrevHdl, Button *, EMPTYARG ) -/*------------------------------------------------------------------------ - Beschreibung: -------------------------------------------------------------------------*/ - - - IMPL_LINK_INLINE_START( SwJavaEditDialog, NextHdl, Button *, EMPTYARG ) { SetFld(); @@ -170,12 +152,6 @@ IMPL_LINK_INLINE_START( SwJavaEditDialog, NextHdl, Button *, EMPTYARG ) } IMPL_LINK_INLINE_END( SwJavaEditDialog, NextHdl, Button *, EMPTYARG ) -/*------------------------------------------------------------------------ - Beschreibung: -------------------------------------------------------------------------*/ - - - IMPL_LINK( SwJavaEditDialog, OKHdl, Button *, EMPTYARG ) { SetFld(); @@ -183,22 +159,10 @@ IMPL_LINK( SwJavaEditDialog, OKHdl, Button *, EMPTYARG ) return 0; } -/*------------------------------------------------------------------------ - Beschreibung: -------------------------------------------------------------------------*/ - - - void SwJavaEditDialog::Apply() { } -/*------------------------------------------------------------------------ - Beschreibung: -------------------------------------------------------------------------*/ - - - void SwJavaEditDialog::CheckTravel() { BOOL bTravel = FALSE; @@ -255,12 +219,6 @@ void SwJavaEditDialog::CheckTravel() } } -/*------------------------------------------------------------------------ - Beschreibung: -------------------------------------------------------------------------*/ - - - void SwJavaEditDialog::SetFld() { if( !aOKBtn.IsEnabled() ) @@ -295,10 +253,6 @@ BOOL SwJavaEditDialog::IsUpdate() return pFld && ( bIsUrl != pFld->GetFormat() || pFld->GetPar2() != aType || pFld->GetPar1() != aText ); } -/*------------------------------------------------------------------------ - Beschreibung: -------------------------------------------------------------------------*/ - IMPL_LINK( SwJavaEditDialog, RadioButtonHdl, RadioButton *, EMPTYARG ) { BOOL bEnable = aUrlRB.IsChecked(); @@ -319,10 +273,6 @@ IMPL_LINK( SwJavaEditDialog, RadioButtonHdl, RadioButton *, EMPTYARG ) return 0; } -/*************************************************************************** - Beschreibung: -***************************************************************************/ - IMPL_LINK( SwJavaEditDialog, InsertFileHdl, PushButton *, pBtn ) { if ( !pFileDlg ) diff --git a/sw/source/ui/fmtui/tmpdlg.cxx b/sw/source/ui/fmtui/tmpdlg.cxx index 7d787d5d8700..a71630da4f1f 100644 --- a/sw/source/ui/fmtui/tmpdlg.cxx +++ b/sw/source/ui/fmtui/tmpdlg.cxx @@ -334,18 +334,10 @@ SwTemplateDlg::SwTemplateDlg(Window* pParent, } } -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - SwTemplateDlg::~SwTemplateDlg() { } -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - short SwTemplateDlg::Ok() { short nRet = SfxTabDialog::Ok(); @@ -372,10 +364,6 @@ short SwTemplateDlg::Ok() return nRet; } -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - const SfxItemSet* SwTemplateDlg::GetRefreshedSet() { SfxItemSet* pInSet = GetInputSetImpl(); @@ -384,10 +372,6 @@ const SfxItemSet* SwTemplateDlg::GetRefreshedSet() return pInSet; } -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - void SwTemplateDlg::PageCreated( USHORT nId, SfxTabPage &rPage ) { //Namen der Vorlagen und Metric setzen diff --git a/sw/source/ui/inc/bookmark.hxx b/sw/source/ui/inc/bookmark.hxx index 54492b201196..d6201069f8d6 100644 --- a/sw/source/ui/inc/bookmark.hxx +++ b/sw/source/ui/inc/bookmark.hxx @@ -38,10 +38,6 @@ class SwWrtShell; class SfxRequest; -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - class BookmarkCombo : public SwComboBox { USHORT GetFirstSelEntryPos() const; @@ -58,10 +54,6 @@ public: static const String aForbiddenChars; }; -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - class SwInsertBookmarkDlg: public SvxStandardDialog { BookmarkCombo aBookmarkBox; diff --git a/sw/source/ui/inc/redlndlg.hxx b/sw/source/ui/inc/redlndlg.hxx index 685d03c824c6..8f2686b93cb1 100644 --- a/sw/source/ui/inc/redlndlg.hxx +++ b/sw/source/ui/inc/redlndlg.hxx @@ -144,10 +144,6 @@ public: virtual void Resize(); }; -/*------------------------------------------------------------------------ - Beschreibung: -------------------------------------------------------------------------*/ - class SwModelessRedlineAcceptDlg : public SfxModelessDialog { SwRedlineAcceptDlg* pImplDlg; @@ -164,11 +160,6 @@ public: void Initialize (SfxChildWinInfo* pInfo); }; - -/*------------------------------------------------------------------------ - Beschreibung: -------------------------------------------------------------------------*/ - class SwRedlineAcceptChild : public SwChildWinWrapper { public: diff --git a/sw/source/ui/inc/syncbtn.hxx b/sw/source/ui/inc/syncbtn.hxx index 348b60cafaef..7c05e0776b96 100644 --- a/sw/source/ui/inc/syncbtn.hxx +++ b/sw/source/ui/inc/syncbtn.hxx @@ -34,10 +34,6 @@ #include <vcl/button.hxx> -/*------------------------------------------------------------------------ - Beschreibung: -------------------------------------------------------------------------*/ - class SwSyncBtnDlg : public SfxFloatingWindow { PushButton aSyncBtn; @@ -50,10 +46,6 @@ public: }; #endif -/*------------------------------------------------------------------------ - Beschreibung: -------------------------------------------------------------------------*/ - class SwSyncChildWin : public SfxChildWindow { public: diff --git a/sw/source/ui/misc/docfnote.cxx b/sw/source/ui/misc/docfnote.cxx index 796c9cafdec5..1cc11d239153 100644 --- a/sw/source/ui/misc/docfnote.cxx +++ b/sw/source/ui/misc/docfnote.cxx @@ -355,11 +355,6 @@ IMPL_LINK( SwEndNoteOptionPage, PosPageHdl, Button *, EMPTYARG ) return 0; } -/*------------------------------------------------------------------------ - Beschreibung: -------------------------------------------------------------------------*/ - - IMPL_LINK( SwEndNoteOptionPage, NumCountHdl, ListBox*, EMPTYARG ) { BOOL bEnable = TRUE; diff --git a/sw/source/ui/misc/insfnote.cxx b/sw/source/ui/misc/insfnote.cxx index 5ca777508715..c6c3015403c0 100644 --- a/sw/source/ui/misc/insfnote.cxx +++ b/sw/source/ui/misc/insfnote.cxx @@ -119,11 +119,6 @@ void __EXPORT SwInsFootNoteDlg::Apply() bFootnote = aFtnBtn.IsChecked(); } - -/*------------------------------------------------------------------------ - Beschreibung: -------------------------------------------------------------------------*/ - IMPL_LINK_INLINE_START( SwInsFootNoteDlg, NumberCharHdl, Button *, EMPTYARG ) { aNumberCharEdit.GrabFocus(); @@ -132,10 +127,6 @@ IMPL_LINK_INLINE_START( SwInsFootNoteDlg, NumberCharHdl, Button *, EMPTYARG ) } IMPL_LINK_INLINE_END( SwInsFootNoteDlg, NumberCharHdl, Button *, EMPTYARG ) -/*------------------------------------------------------------------------ - Beschreibung: -------------------------------------------------------------------------*/ - IMPL_LINK_INLINE_START( SwInsFootNoteDlg, NumberEditHdl, void *, EMPTYARG ) { aNumberCharBtn.Check( TRUE ); @@ -145,10 +136,6 @@ IMPL_LINK_INLINE_START( SwInsFootNoteDlg, NumberEditHdl, void *, EMPTYARG ) } IMPL_LINK_INLINE_END( SwInsFootNoteDlg, NumberEditHdl, void *, EMPTYARG ) -/*------------------------------------------------------------------------ - Beschreibung: -------------------------------------------------------------------------*/ - IMPL_LINK_INLINE_START( SwInsFootNoteDlg, NumberAutoBtnHdl, Button *, EMPTYARG ) { aOkBtn.Enable( TRUE ); @@ -156,10 +143,6 @@ IMPL_LINK_INLINE_START( SwInsFootNoteDlg, NumberAutoBtnHdl, Button *, EMPTYARG ) } IMPL_LINK_INLINE_END( SwInsFootNoteDlg, NumberAutoBtnHdl, Button *, EMPTYARG ) -/*------------------------------------------------------------------------ - Beschreibung: -------------------------------------------------------------------------*/ - IMPL_LINK( SwInsFootNoteDlg, NumberExtCharHdl, Button *, EMPTYARG ) { aNumberCharBtn.Check( TRUE ); @@ -203,10 +186,6 @@ IMPL_LINK( SwInsFootNoteDlg, NumberExtCharHdl, Button *, EMPTYARG ) return 0; } -/*------------------------------------------------------------------------ - Beschreibung: -------------------------------------------------------------------------*/ - IMPL_LINK( SwInsFootNoteDlg, NextPrevHdl, Button *, pBtn ) { Apply(); @@ -223,10 +202,6 @@ IMPL_LINK( SwInsFootNoteDlg, NextPrevHdl, Button *, pBtn ) return 0; } -/*------------------------------------------------------------------------ - Beschreibung: -------------------------------------------------------------------------*/ - SwInsFootNoteDlg::SwInsFootNoteDlg(Window *pParent, SwWrtShell &rShell, BOOL bEd) : SvxStandardDialog(pParent,SW_RES(DLG_INS_FOOTNOTE)), @@ -272,11 +247,6 @@ SwInsFootNoteDlg::SwInsFootNoteDlg(Window *pParent, SwWrtShell &rShell, BOOL bEd } } - -/*------------------------------------------------------------------------ - Beschreibung: -------------------------------------------------------------------------*/ - SwInsFootNoteDlg::~SwInsFootNoteDlg() { rSh.SetCareWin(0); @@ -285,10 +255,6 @@ SwInsFootNoteDlg::~SwInsFootNoteDlg() rSh.ResetSelect(0, FALSE); } -/*------------------------------------------------------------------------ - Beschreibung: -------------------------------------------------------------------------*/ - void SwInsFootNoteDlg::Init() { SwFmtFtn aFtnNote; diff --git a/sw/source/ui/misc/insrule.cxx b/sw/source/ui/misc/insrule.cxx index 644604c2a72b..6c880ee2f9f1 100644 --- a/sw/source/ui/misc/insrule.cxx +++ b/sw/source/ui/misc/insrule.cxx @@ -50,11 +50,6 @@ #include "misc.hrc" #include "helpid.h" -/*------------------------------------------------------------------------ - Beschreibung: -------------------------------------------------------------------------*/ - - SwInsertGrfRulerDlg::SwInsertGrfRulerDlg( Window* pParent ) : SfxModalDialog(pParent, SW_RES(DLG_INSERT_RULER)), aSelectionFL(this, SW_RES(FL_SEL )), diff --git a/sw/source/ui/ribbar/tbxanchr.cxx b/sw/source/ui/ribbar/tbxanchr.cxx index 6ec08d0fe640..d13783488e4a 100644 --- a/sw/source/ui/ribbar/tbxanchr.cxx +++ b/sw/source/ui/ribbar/tbxanchr.cxx @@ -56,10 +56,6 @@ SFX_IMPL_TOOLBOX_CONTROL(SwTbxAnchor, SfxUInt16Item); -/****************************************************************************** - * Beschreibung: - ******************************************************************************/ - SwTbxAnchor::SwTbxAnchor( USHORT nSlotId, USHORT nId, ToolBox& rTbx ) : SfxToolBoxControl( nSlotId, nId, rTbx ), nActAnchorId(0) @@ -67,18 +63,10 @@ SwTbxAnchor::SwTbxAnchor( USHORT nSlotId, USHORT nId, ToolBox& rTbx ) : rTbx.SetItemBits( nId, TIB_DROPDOWNONLY | rTbx.GetItemBits( nId ) ); } -/****************************************************************************** - * Beschreibung: - ******************************************************************************/ - SwTbxAnchor::~SwTbxAnchor() { } -/****************************************************************************** - * Beschreibung: - ******************************************************************************/ - void SwTbxAnchor::StateChanged( USHORT /*nSID*/, SfxItemState eState, const SfxPoolItem* pState ) { GetToolBox().EnableItem( GetId(), (GetItemState(pState) != SFX_ITEM_DISABLED) ); @@ -92,20 +80,12 @@ void SwTbxAnchor::StateChanged( USHORT /*nSID*/, SfxItemState eState, const Sfx } -/****************************************************************************** - * Beschreibung: - ******************************************************************************/ - SfxPopupWindow* SwTbxAnchor::CreatePopupWindow() { SwTbxAnchor::Click(); return 0; } -/****************************************************************************** - * Beschreibung: - ******************************************************************************/ - void SwTbxAnchor::Click() { PopupMenu aPopMenu(SW_RES(MN_ANCHOR_POPUP)); diff --git a/sw/source/ui/table/chartins.cxx b/sw/source/ui/table/chartins.cxx index 8148fa788949..cc3729d57503 100644 --- a/sw/source/ui/table/chartins.cxx +++ b/sw/source/ui/table/chartins.cxx @@ -149,11 +149,6 @@ Point SwGetChartDialogPos( const Window *pParentWin, const Size& rDialogSize, co return aRet; } -/*------------------------------------------------------------------------ - Beschreibung: -------------------------------------------------------------------------*/ - - void SwInsertChart(Window* pParent, SfxBindings* pBindings ) { (void) pParent; diff --git a/sw/source/ui/utlui/navipi.cxx b/sw/source/ui/utlui/navipi.cxx index 620772eb27bb..f345ff574100 100644 --- a/sw/source/ui/utlui/navipi.cxx +++ b/sw/source/ui/utlui/navipi.cxx @@ -540,10 +540,6 @@ IMPL_LINK( SwNavigationPI, EditGetFocus, NumEditAction *, pEdit ) return 0; } -/*------------------------------------------------------------------------ - Beschreibung: -------------------------------------------------------------------------*/ - BOOL SwNavigationPI::Close() { SfxViewFrame* pVFrame = pCreateView->GetViewFrame(); @@ -586,10 +582,6 @@ void SwNavigationPI::MakeMark() nAutoMarkIdx = 0; } -/*------------------------------------------------------------------------ - Beschreibung: -------------------------------------------------------------------------*/ - void SwNavigationPI::GotoPage() { if ( pContextWin->GetFloatingWindow() && pContextWin->GetFloatingWindow()->IsRollUp()) @@ -600,10 +592,6 @@ void SwNavigationPI::GotoPage() GetPageEdit().GrabFocus(); } -/*------------------------------------------------------------------------ - Beschreibung: -------------------------------------------------------------------------*/ - void SwNavigationPI::_ZoomOut() { if (_IsZoomedIn()) @@ -634,10 +622,6 @@ void SwNavigationPI::_ZoomOut() } } -/*------------------------------------------------------------------------ - Beschreibung: -------------------------------------------------------------------------*/ - void SwNavigationPI::_ZoomIn() { FloatingWindow* pFloat = pContextWin->GetFloatingWindow(); @@ -664,9 +648,6 @@ void SwNavigationPI::_ZoomIn() aContentToolBox.CheckItem(FN_SHOW_CONTENT_BOX, FALSE); } } -/*------------------------------------------------------------------------ - Beschreibung: -------------------------------------------------------------------------*/ void SwNavigationPI::Resize() { @@ -716,11 +697,6 @@ void SwNavigationPI::Resize() } } - -/*------------------------------------------------------------------------ - Beschreibung: -------------------------------------------------------------------------*/ - SwNavigationPI::SwNavigationPI( SfxBindings* _pBindings, SfxChildWindowContext* pCw, Window* pParent) : @@ -899,10 +875,6 @@ SwNavigationPI::SwNavigationPI( SfxBindings* _pBindings, aPageChgTimer.SetTimeout(PAGE_CHANGE_TIMEOUT); } -/*------------------------------------------------------------------------ - Beschreibung: -------------------------------------------------------------------------*/ - SwNavigationPI::~SwNavigationPI() { if(IsGlobalDoc() && !IsGlobalMode()) @@ -933,10 +905,6 @@ SwNavigationPI::~SwNavigationPI() rBindings.Release(*this); } -/*------------------------------------------------------------------------ - Beschreibung: -------------------------------------------------------------------------*/ - void SwNavigationPI::SetPopupWindow( SfxPopupWindow* pWindow ) { pPopupWindow = pWindow; @@ -944,10 +912,6 @@ void SwNavigationPI::SetPopupWindow( SfxPopupWindow* pWindow ) pPopupWindow->SetDeleteLink_Impl( LINK( this, SwNavigationPI, ClosePopupWindow )); } -/*------------------------------------------------------------------------ - Beschreibung: -------------------------------------------------------------------------*/ - IMPL_LINK( SwNavigationPI, PopupModeEndHdl, void *, EMPTYARG ) { if ( pPopupWindow->IsVisible() ) @@ -968,10 +932,6 @@ IMPL_LINK( SwNavigationPI, PopupModeEndHdl, void *, EMPTYARG ) return 1; } -/*------------------------------------------------------------------------ - Beschreibung: -------------------------------------------------------------------------*/ - IMPL_LINK( SwNavigationPI, ClosePopupWindow, SfxPopupWindow *, pWindow ) { if ( pWindow == pFloatingWindow ) @@ -982,10 +942,6 @@ IMPL_LINK( SwNavigationPI, ClosePopupWindow, SfxPopupWindow *, pWindow ) return 1; } -/*------------------------------------------------------------------------ - Beschreibung: -------------------------------------------------------------------------*/ - void SwNavigationPI::StateChanged( USHORT nSID, SfxItemState /*eState*/, const SfxPoolItem* /*pState*/ ) { @@ -1025,10 +981,6 @@ NumEditAction& SwNavigationPI::GetPageEdit() return *(NumEditAction*)aContentToolBox.GetItemWindow(FN_PAGENUMBER); } -/*------------------------------------------------------------------------ - Beschreibung: -------------------------------------------------------------------------*/ - SfxChildAlignment SwNavigationPI::CheckAlignment ( SfxChildAlignment eActAlign, @@ -1113,10 +1065,6 @@ void SwNavigationPI::Notify( SfxBroadcaster& rBrdc, const SfxHint& rHint ) } } -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - IMPL_LINK( SwNavigationPI, MenuSelectHdl, Menu *, pMenu ) { USHORT nMenuId = pMenu->GetCurItemId(); @@ -1130,11 +1078,6 @@ IMPL_LINK( SwNavigationPI, MenuSelectHdl, Menu *, pMenu ) return 0; } - -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - void SwNavigationPI::UpdateListBox() { aDocListBox.SetUpdateMode(FALSE); @@ -1205,10 +1148,6 @@ void SwNavigationPI::UpdateListBox() aDocListBox.SetUpdateMode(TRUE); } -/*------------------------------------------------------------------------ - Beschreibung: -------------------------------------------------------------------------*/ - IMPL_LINK(SwNavigationPI, DoneLink, SfxPoolItem *, pItem) { const SfxViewFrameItem* pFrameItem = PTR_CAST(SfxViewFrameItem, pItem ); @@ -1263,10 +1202,6 @@ String SwNavigationPI::CreateDropFileName( TransferableDataHelper& rData ) return sFileName; } -/*------------------------------------------------------------------------ - Beschreibung: -------------------------------------------------------------------------*/ - sal_Int8 SwNavigationPI::AcceptDrop( const AcceptDropEvent& /*rEvt*/ ) { return ( !aContentTree.IsInDrag() && @@ -1418,11 +1353,6 @@ SwView* SwNavigationPI::GetCreateView() const return pCreateView; } - -/*------------------------------------------------------------------------ - Beschreibung: -------------------------------------------------------------------------*/ - SwNavigationChild::SwNavigationChild( Window* pParent, USHORT nId, SfxBindings* _pBindings, diff --git a/sw/source/ui/web/wfrmsh.cxx b/sw/source/ui/web/wfrmsh.cxx index dc9b6e04c490..900dd380d9c5 100644 --- a/sw/source/ui/web/wfrmsh.cxx +++ b/sw/source/ui/web/wfrmsh.cxx @@ -51,11 +51,6 @@ #include <sfx2/msg.hxx> #include "swslots.hxx" - -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - SFX_IMPL_INTERFACE(SwWebFrameShell, SwFrameShell, SW_RES(STR_SHELLNAME_WEBFRAME)) { SFX_POPUPMENU_REGISTRATION(SW_RES(MN_FRM_POPUPMENU)); @@ -66,24 +61,12 @@ SFX_IMPL_INTERFACE(SwWebFrameShell, SwFrameShell, SW_RES(STR_SHELLNAME_WEBFRAME) TYPEINIT1(SwWebFrameShell, SwFrameShell) -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - - - SwWebFrameShell::SwWebFrameShell(SwView &_rView) : SwFrameShell(_rView) { SetHelpId(SW_WEBFRAMESHELL); } -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - - - SwWebFrameShell::~SwWebFrameShell() { } diff --git a/sw/source/ui/web/wtextsh.cxx b/sw/source/ui/web/wtextsh.cxx index ad9dd701e575..adde4bef5128 100644 --- a/sw/source/ui/web/wtextsh.cxx +++ b/sw/source/ui/web/wtextsh.cxx @@ -60,11 +60,6 @@ #include <sfx2/msg.hxx> #include "swslots.hxx" - -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - SFX_IMPL_INTERFACE(SwWebTextShell, SwBaseShell, SW_RES(STR_SHELLNAME_WEBTEXT)) { SFX_POPUPMENU_REGISTRATION(SW_RES(MN_WEB_TEXT_POPUPMENU)); @@ -75,21 +70,12 @@ SFX_IMPL_INTERFACE(SwWebTextShell, SwBaseShell, SW_RES(STR_SHELLNAME_WEBTEXT)) TYPEINIT1(SwWebTextShell, SwTextShell) -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - SwWebTextShell::SwWebTextShell(SwView &_rView) : SwTextShell(_rView) { SetHelpId(SW_WEBTEXTSHELL); } -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - - SwWebTextShell::~SwWebTextShell() { } diff --git a/sw/source/ui/wrtsh/wrtsh1.cxx b/sw/source/ui/wrtsh/wrtsh1.cxx index 0268a838fed3..c13e3f266808 100644 --- a/sw/source/ui/wrtsh/wrtsh1.cxx +++ b/sw/source/ui/wrtsh/wrtsh1.cxx @@ -1804,9 +1804,6 @@ BOOL SwWrtShell::Pop( BOOL bOldCrsr ) return bRet; } -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ BOOL SwWrtShell::CanInsert() { return (!(IsSelFrmMode() | IsObjSelected() | (GetView().GetDrawFuncPtr() != NULL) | (GetView().GetPostItMgr()->GetActiveSidebarWin()!= NULL))); diff --git a/sw/source/ui/wrtsh/wrtsh2.cxx b/sw/source/ui/wrtsh/wrtsh2.cxx index eca6344941e3..01c2063e4a20 100644 --- a/sw/source/ui/wrtsh/wrtsh2.cxx +++ b/sw/source/ui/wrtsh/wrtsh2.cxx @@ -74,11 +74,6 @@ #include <com/sun/star/document/XDocumentProperties.hpp> #include <com/sun/star/document/XDocumentPropertiesSupplier.hpp> - -/*------------------------------------------------------------------------ - Beschreibung: -------------------------------------------------------------------------*/ - void SwWrtShell::Insert(SwField &rFld) { ResetCursorStack(); |