summaryrefslogtreecommitdiff
path: root/cui/source/dialogs
diff options
context:
space:
mode:
authorAlexander Wilms <f.alexander.wilms@gmail.com>2014-02-22 21:20:15 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-02-23 03:38:49 +0000
commit0ce0c369aa8880dff9fe874ba85ec6f52ee37ddf (patch)
tree5024cba9f9ea5e3b23ea26025323f6aef39488d0 /cui/source/dialogs
parentb81ac16e65b311d6e43c05c22c65d2040c9d7e04 (diff)
Remove unneccessary comments
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb Reviewed-on: https://gerrit.libreoffice.org/8182 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cui/source/dialogs')
-rw-r--r--cui/source/dialogs/SpellAttrib.cxx36
-rw-r--r--cui/source/dialogs/SpellDialog.cxx98
-rw-r--r--cui/source/dialogs/commonlingui.cxx26
-rw-r--r--cui/source/dialogs/cuicharmap.cxx38
-rw-r--r--cui/source/dialogs/cuigaldlg.cxx126
-rw-r--r--cui/source/dialogs/cuigrfflt.cxx46
-rw-r--r--cui/source/dialogs/cuihyperdlg.cxx2
-rw-r--r--cui/source/dialogs/hangulhanjadlg.cxx76
-rw-r--r--cui/source/dialogs/iconcdlg.cxx44
-rw-r--r--cui/source/dialogs/insdlg.cxx18
-rw-r--r--cui/source/dialogs/multifil.cxx6
-rw-r--r--cui/source/dialogs/multipat.cxx20
-rw-r--r--cui/source/dialogs/postdlg.cxx16
-rw-r--r--cui/source/dialogs/scriptdlg.cxx8
-rw-r--r--cui/source/dialogs/showcols.cxx6
-rw-r--r--cui/source/dialogs/srchxtra.cxx2
-rw-r--r--cui/source/dialogs/zoom.cxx22
17 files changed, 295 insertions, 295 deletions
diff --git a/cui/source/dialogs/SpellAttrib.cxx b/cui/source/dialogs/SpellAttrib.cxx
index 5a6894126cce..be09cce60c51 100644
--- a/cui/source/dialogs/SpellAttrib.cxx
+++ b/cui/source/dialogs/SpellAttrib.cxx
@@ -26,7 +26,7 @@ using namespace com::sun::star::linguistic2;
using namespace com::sun::star::uno;
-//-----------------------------------------------------------------------
+
SpellErrorAttrib::SpellErrorAttrib( const SpellErrorDescription& rDesc ) :
TextAttrib(TEXTATTR_SPELL_ERROR),
m_aSpellErrorDescription( rDesc )
@@ -34,107 +34,107 @@ SpellErrorAttrib::SpellErrorAttrib( const SpellErrorDescription& rDesc ) :
}
-//-----------------------------------------------------------------------
+
SpellErrorAttrib::SpellErrorAttrib( const SpellErrorAttrib& rAttr ) :
TextAttrib(TEXTATTR_SPELL_ERROR),
m_aSpellErrorDescription( rAttr.m_aSpellErrorDescription )
{
}
-//-----------------------------------------------------------------------
+
SpellErrorAttrib::~SpellErrorAttrib()
{
}
-//-----------------------------------------------------------------------
+
void SpellErrorAttrib::SetFont( Font& ) const
{
//this attribute doesn't have a visual effect
}
-//-----------------------------------------------------------------------
+
TextAttrib* SpellErrorAttrib::Clone() const
{
return new SpellErrorAttrib(*this);
}
-//-----------------------------------------------------------------------
+
bool SpellErrorAttrib::operator==( const TextAttrib& rAttr ) const
{
return Which() == rAttr.Which() &&
m_aSpellErrorDescription == static_cast<const SpellErrorAttrib&>(rAttr).m_aSpellErrorDescription;
}
-//-----------------------------------------------------------------------
+
SpellLanguageAttrib::SpellLanguageAttrib(LanguageType eLang) :
TextAttrib(TEXTATTR_SPELL_LANGUAGE),
m_eLanguage(eLang)
{
}
-//-----------------------------------------------------------------------
+
SpellLanguageAttrib::SpellLanguageAttrib( const SpellLanguageAttrib& rAttr ) :
TextAttrib(TEXTATTR_SPELL_LANGUAGE),
m_eLanguage(rAttr.m_eLanguage)
{
}
-//-----------------------------------------------------------------------
+
SpellLanguageAttrib::~SpellLanguageAttrib()
{
}
-//-----------------------------------------------------------------------
+
void SpellLanguageAttrib::SetFont( Font& ) const
{
//no visual effect
}
-//-----------------------------------------------------------------------
+
TextAttrib* SpellLanguageAttrib::Clone() const
{
return new SpellLanguageAttrib(*this);
}
-//-----------------------------------------------------------------------
+
bool SpellLanguageAttrib::operator==( const TextAttrib& rAttr ) const
{
return Which() == rAttr.Which() &&
m_eLanguage == static_cast<const SpellLanguageAttrib&>(rAttr).m_eLanguage;
}
-//-----------------------------------------------------------------------
+
SpellBackgroundAttrib::SpellBackgroundAttrib(const Color& rCol) :
TextAttrib(TEXTATTR_SPELL_BACKGROUND),
m_aBackgroundColor(rCol)
{
}
-//-----------------------------------------------------------------------
+
SpellBackgroundAttrib::SpellBackgroundAttrib( const SpellBackgroundAttrib& rAttr ) :
TextAttrib(TEXTATTR_SPELL_BACKGROUND),
m_aBackgroundColor(rAttr.m_aBackgroundColor)
{
}
-//-----------------------------------------------------------------------
+
SpellBackgroundAttrib::~SpellBackgroundAttrib()
{
}
-//-----------------------------------------------------------------------
+
void SpellBackgroundAttrib::SetFont( Font& rFont ) const
{
rFont.SetFillColor(m_aBackgroundColor);
}
-//-----------------------------------------------------------------------
+
TextAttrib* SpellBackgroundAttrib::Clone() const
{
return new SpellBackgroundAttrib(*this);
}
-//-----------------------------------------------------------------------
+
bool SpellBackgroundAttrib::operator==( const TextAttrib& rAttr ) const
{
return Which() == rAttr.Which() &&
diff --git a/cui/source/dialogs/SpellDialog.cxx b/cui/source/dialogs/SpellDialog.cxx
index c28f120ef5de..aeae64d3c98d 100644
--- a/cui/source/dialogs/SpellDialog.cxx
+++ b/cui/source/dialogs/SpellDialog.cxx
@@ -72,7 +72,7 @@ struct SpellDialog_Impl
{
Sequence< Reference< XDictionary > > aDics;
};
-// -----------------------------------------------------------------------
+
#define SPELLUNDO_START 200
@@ -161,18 +161,18 @@ public:
}//namespace svx
using namespace ::svx;
-//-----------------------------------------------------------------------
+
SpellUndoAction_Impl::~SpellUndoAction_Impl()
{
}
-//-----------------------------------------------------------------------
+
void SpellUndoAction_Impl::Undo()
{
m_rActionLink.Call(this);
}
-//-----------------------------------------------------------------------
+
sal_uInt16 SpellUndoAction_Impl::GetId()const
{
return m_nId;
@@ -248,7 +248,7 @@ SpellDialog::SpellDialog(SpellDialogChildWindow* pChildWindow,
this, SpellDialog, InitHdl ) );
}
-// -----------------------------------------------------------------------
+
SpellDialog::~SpellDialog()
{
@@ -262,7 +262,7 @@ SpellDialog::~SpellDialog()
delete pImpl;
}
-// -----------------------------------------------------------------------
+
void SpellDialog::Init_Impl()
{
@@ -297,7 +297,7 @@ void SpellDialog::Init_Impl()
SvxGetChangeAllList()->clear();
}
-// -----------------------------------------------------------------------
+
void SpellDialog::UpdateBoxes_Impl()
{
@@ -379,7 +379,7 @@ void SpellDialog::UpdateBoxes_Impl()
if (bOldShowExplain != (bool) m_pExplainLink->IsVisible() || bOldShowGrammar != (bool) m_pCheckGrammarCB->IsVisible())
setOptimalLayoutSize();
}
-// -----------------------------------------------------------------------
+
void SpellDialog::SpellContinue_Impl(bool bUseSavedSentence, bool bIgnoreCurrentError )
{
@@ -450,7 +450,7 @@ IMPL_STATIC_LINK( SpellDialog, InitHdl, SpellDialog *, EMPTYARG )
return 0;
};
-// -----------------------------------------------------------------------
+
IMPL_LINK( SpellDialog, ExtClickHdl, Button *, pBtn )
{
@@ -484,7 +484,7 @@ IMPL_LINK( SpellDialog, ExtClickHdl, Button *, pBtn )
}
return 0;
}
-// -----------------------------------------------------------------------
+
IMPL_LINK( SpellDialog, CheckGrammarHdl, CheckBox*, pBox )
{
rParent.SetGrammarChecking( pBox->IsChecked() );
@@ -551,7 +551,7 @@ OUString SpellDialog::getReplacementString() const
return getDotReplacementString(sOrigString, sReplacement);
}
-// -----------------------------------------------------------------------
+
IMPL_LINK_NOARG(SpellDialog, ChangeHdl)
{
@@ -573,7 +573,7 @@ IMPL_LINK_NOARG(SpellDialog, ChangeHdl)
return 1;
}
-// -----------------------------------------------------------------------
+
IMPL_LINK_NOARG(SpellDialog, ChangeAllHdl)
{
@@ -604,7 +604,7 @@ IMPL_LINK_NOARG(SpellDialog, ChangeAllHdl)
m_pSentenceED->UndoActionEnd();
return 1;
}
-// -----------------------------------------------------------------------
+
IMPL_LINK( SpellDialog, IgnoreAllHdl, Button *, pButton )
{
@@ -653,7 +653,7 @@ IMPL_LINK( SpellDialog, IgnoreAllHdl, Button *, pButton )
return 1;
}
-//-----------------------------------------------------------------------
+
IMPL_LINK_NOARG(SpellDialog, UndoHdl)
{
m_pSentenceED->Undo();
@@ -662,7 +662,7 @@ IMPL_LINK_NOARG(SpellDialog, UndoHdl)
return 0;
}
-//-----------------------------------------------------------------------
+
IMPL_LINK( SpellDialog, DialogUndoHdl, SpellUndoAction_Impl*, pAction )
{
switch(pAction->GetId())
@@ -709,7 +709,7 @@ IMPL_LINK( SpellDialog, DialogUndoHdl, SpellUndoAction_Impl*, pAction )
return 0;
}
-// -----------------------------------------------------------------------
+
void SpellDialog::Impl_Restore()
{
//clear the "ChangeAllList"
@@ -740,7 +740,7 @@ IMPL_LINK_NOARG(SpellDialog, IgnoreHdl)
return 1;
}
-// -----------------------------------------------------------------------
+
bool SpellDialog::Close()
{
@@ -749,14 +749,14 @@ bool SpellDialog::Close()
SFX_CALLMODE_ASYNCHRON|SFX_CALLMODE_RECORD);
return true;
}
-// -----------------------------------------------------------------------
+
void SpellDialog::SetSelectedLang_Impl( LanguageType nLang )
{
m_pLanguageLB->SelectLanguage( nLang );
}
-// -----------------------------------------------------------------------
+
LanguageType SpellDialog::GetSelectedLang_Impl() const
{
@@ -764,7 +764,7 @@ LanguageType SpellDialog::GetSelectedLang_Impl() const
return nLang;
}
-//-------------------------------------------------
+
IMPL_LINK(SpellDialog, LanguageSelectHdl, SvxLanguageBox*, pBox)
{
//If selected language changes, then add->list should be regenerated to
@@ -793,7 +793,7 @@ IMPL_LINK(SpellDialog, LanguageSelectHdl, SvxLanguageBox*, pBox)
SpellDialog::UpdateBoxes_Impl();
return 0;
}
-// -----------------------------------------------------------------------
+
void SpellDialog::SetLanguage( sal_uInt16 nLang )
/*
@@ -886,19 +886,19 @@ int SpellDialog::InitUserDicts()
return nDicts;
}
-//-----------------------------------------------------------------------
+
IMPL_LINK(SpellDialog, AddToDictClickHdl, PushButton*, EMPTYARG )
{
return AddToDictionaryExecute(1, m_pAddToDictMB->GetPopupMenu());
}
-//-----------------------------------------------------------------------
+
IMPL_LINK(SpellDialog, AddToDictSelectHdl, MenuButton*, pButton )
{
return AddToDictionaryExecute(pButton->GetCurItemId(), pButton->GetPopupMenu());
}
-//-----------------------------------------------------------------------
+
int SpellDialog::AddToDictionaryExecute( sal_uInt16 nItemId, PopupMenu *pMenu )
{
m_pSentenceED->UndoActionStart( SPELLUNDO_CHANGE_GROUP );
@@ -947,7 +947,7 @@ int SpellDialog::AddToDictionaryExecute( sal_uInt16 nItemId, PopupMenu *pMenu )
return 0;
}
-//-----------------------------------------------------------------------
+
IMPL_LINK(SpellDialog, ModifyHdl, SentenceEditWindow_Impl*, pEd)
{
if (m_pSentenceED == pEd)
@@ -973,7 +973,7 @@ IMPL_LINK(SpellDialog, ModifyHdl, SentenceEditWindow_Impl*, pEd)
return 0;
};
-//-----------------------------------------------------------------------
+
IMPL_LINK_NOARG(SpellDialog, CancelHdl)
{
//apply changes and ignored text parts first - if there are any
@@ -982,7 +982,7 @@ IMPL_LINK_NOARG(SpellDialog, CancelHdl)
return 0;
}
-//-----------------------------------------------------------------------
+
bool SpellDialog::Notify( NotifyEvent& rNEvt )
{
/* #i38338#
@@ -1010,7 +1010,7 @@ bool SpellDialog::Notify( NotifyEvent& rNEvt )
return SfxModelessDialog::Notify(rNEvt);
}
-//-------------------------------------------------
+
void SpellDialog::InvalidateDialog()
{
if( bFocusLocked )
@@ -1043,7 +1043,7 @@ void SpellDialog::InvalidateDialog()
SfxModelessDialog::Deactivate();
}
-//-----------------------------------------------------------------------
+
bool SpellDialog::GetNextSentence_Impl(bool bUseSavedSentence, bool bRecheck)
{
bool bRet = false;
@@ -1185,7 +1185,7 @@ bool SpellDialog::ApplyChangeAllList_Impl(SpellPortions& rSentence, bool &bHasRe
return bRet;
}
-//-----------------------------------------------------------------------
+
SentenceEditWindow_Impl::SentenceEditWindow_Impl(Window * pParent, WinBits nBits)
: VclMultiLineEdit(pParent, nBits)
, m_nErrorStart(0)
@@ -1201,7 +1201,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT Window* SAL_CALL makeSentenceEditWindow(Window *
return new SentenceEditWindow_Impl(pParent, WB_BORDER|WB_VSCROLL|WB_IGNORETAB);
}
-//-----------------------------------------------------------------------
+
SentenceEditWindow_Impl::~SentenceEditWindow_Impl()
{
}
@@ -1545,7 +1545,7 @@ bool SentenceEditWindow_Impl::PreNotify( NotifyEvent& rNEvt )
return bChange || VclMultiLineEdit::PreNotify(rNEvt);
}
-//-----------------------------------------------------------------------
+
bool SentenceEditWindow_Impl::MarkNextError( bool bIgnoreCurrentError, com::sun::star::uno::Reference<com::sun::star::linguistic2::XSpellChecker1> xSpell )
{
if (bIgnoreCurrentError)
@@ -1637,7 +1637,7 @@ bool SentenceEditWindow_Impl::MarkNextError( bool bIgnoreCurrentError, com::sun:
return bRet;
}
-//-----------------------------------------------------------------------
+
void SentenceEditWindow_Impl::MoveErrorMarkTo(sal_uInt16 nStart, sal_uInt16 nEnd, bool bGrammarError)
{
TextEngine* pTextEngine = GetTextEngine();
@@ -1649,7 +1649,7 @@ void SentenceEditWindow_Impl::MoveErrorMarkTo(sal_uInt16 nStart, sal_uInt16 nEnd
m_nErrorEnd = nEnd;
}
-//-----------------------------------------------------------------------
+
void SentenceEditWindow_Impl::ChangeMarkedWord(const OUString& rNewWord, LanguageType eLanguage)
{
//calculate length changes
@@ -1712,13 +1712,13 @@ void SentenceEditWindow_Impl::ChangeMarkedWord(const OUString& rNewWord, Languag
pTextEngine->UndoActionEnd();
}
-//-------------------------------------------------
+
OUString SentenceEditWindow_Impl::GetErrorText() const
{
return GetTextEngine()->GetText(TextSelection(TextPaM(0, m_nErrorStart), TextPaM(0, m_nErrorEnd) ));
}
-//-----------------------------------------------------------------------
+
const SpellErrorDescription* SentenceEditWindow_Impl::GetAlternatives()
{
TextPaM aCursor(0, m_nErrorStart);
@@ -1727,7 +1727,7 @@ const SpellErrorDescription* SentenceEditWindow_Impl::GetAlternatives()
return pAttrib ? &pAttrib->GetErrorDescription() : 0;
}
-//-----------------------------------------------------------------------
+
void SentenceEditWindow_Impl::RestoreCurrentError()
{
TextPaM aCursor(0, m_nErrorStart);
@@ -1741,7 +1741,7 @@ void SentenceEditWindow_Impl::RestoreCurrentError()
}
}
-//-----------------------------------------------------------------------
+
void SentenceEditWindow_Impl::SetAlternatives( Reference< XSpellAlternatives> xAlt )
{
TextPaM aCursor(0, m_nErrorStart);
@@ -1765,20 +1765,20 @@ void SentenceEditWindow_Impl::SetAlternatives( Reference< XSpellAlternatives> xA
GetTextEngine()->SetAttrib( SpellErrorAttrib(aDesc), 0, m_nErrorStart, m_nErrorEnd );
}
-//-----------------------------------------------------------------------
+
void SentenceEditWindow_Impl::SetAttrib( const TextAttrib& rAttr, sal_uLong nPara, sal_uInt16 nStart, sal_uInt16 nEnd )
{
GetTextEngine()->SetAttrib(rAttr, nPara, nStart, nEnd);
}
-//-----------------------------------------------------------------------
+
void SentenceEditWindow_Impl::SetText( const OUString& rStr )
{
m_nErrorStart = m_nErrorEnd = 0;
GetTextEngine()->SetText(rStr);
}
-//-----------------------------------------------------------------------
+
struct LanguagePosition_Impl
{
sal_uInt16 nPosition;
@@ -1919,7 +1919,7 @@ svx::SpellPortions SentenceEditWindow_Impl::CreateSpellPortions( bool bSetIgnore
return aRet;
}
-//-----------------------------------------------------------------------
+
void SentenceEditWindow_Impl::Undo()
{
::svl::IUndoManager& rUndoMgr = GetTextEngine()->GetUndoManager();
@@ -1939,13 +1939,13 @@ void SentenceEditWindow_Impl::Undo()
GetSpellDialog()->UpdateBoxes_Impl();
}
-//-----------------------------------------------------------------------
+
void SentenceEditWindow_Impl::ResetUndo()
{
GetTextEngine()->ResetUndo();
}
-//-----------------------------------------------------------------------
+
void SentenceEditWindow_Impl::AddUndoAction( SfxUndoAction *pAction, sal_Bool bTryMerg )
{
::svl::IUndoManager& rUndoMgr = GetTextEngine()->GetUndoManager();
@@ -1953,25 +1953,25 @@ void SentenceEditWindow_Impl::AddUndoAction( SfxUndoAction *pAction, sal_Bool bT
GetSpellDialog()->m_pUndoPB->Enable();
}
-//-----------------------------------------------------------------------
+
sal_uInt16 SentenceEditWindow_Impl::GetUndoActionCount()
{
return GetTextEngine()->GetUndoManager().GetUndoActionCount();
}
-//-----------------------------------------------------------------------
+
void SentenceEditWindow_Impl::UndoActionStart( sal_uInt16 nId )
{
GetTextEngine()->UndoActionStart(nId);
}
-//-----------------------------------------------------------------------
+
void SentenceEditWindow_Impl::UndoActionEnd()
{
GetTextEngine()->UndoActionEnd();
}
-//-----------------------------------------------------------------------
+
void SentenceEditWindow_Impl::MoveErrorEnd(long nOffset)
{
if(nOffset > 0)
@@ -1980,7 +1980,7 @@ void SentenceEditWindow_Impl::MoveErrorEnd(long nOffset)
m_nErrorEnd = m_nErrorEnd -(sal_uInt16)- nOffset;
}
-//-----------------------------------------------------------------------
+
void SentenceEditWindow_Impl::SetUndoEditMode(bool bSet)
{
DBG_ASSERT(!bSet || m_bIsUndoEditMode != bSet, "SetUndoEditMode with equal values?");
diff --git a/cui/source/dialogs/commonlingui.cxx b/cui/source/dialogs/commonlingui.cxx
index 012895d388cf..a4b1ffab7dd5 100644
--- a/cui/source/dialogs/commonlingui.cxx
+++ b/cui/source/dialogs/commonlingui.cxx
@@ -30,7 +30,7 @@
// SvxClickInfoCtr
//=============================================================================
-//-----------------------------------------------------------------------------
+
SvxClickInfoCtr::SvxClickInfoCtr( Window* pParent, const ResId& rResId ) :
Control( pParent, rResId ),
aFixedInfo( this)
@@ -39,13 +39,13 @@ SvxClickInfoCtr::SvxClickInfoCtr( Window* pParent, const ResId& rResId ) :
aFixedInfo.Show();
}
-//-----------------------------------------------------------------------------
+
void SvxClickInfoCtr::MouseButtonDown( const MouseEvent& )
{
aActivateLink.Call(this);
}
-//-----------------------------------------------------------------------------
+
bool SvxClickInfoCtr::PreNotify( NotifyEvent& rNEvt )
{
if(rNEvt.GetType()==EVENT_GETFOCUS || rNEvt.GetType()==EVENT_MOUSEBUTTONDOWN)
@@ -56,19 +56,19 @@ bool SvxClickInfoCtr::PreNotify( NotifyEvent& rNEvt )
return Control::PreNotify(rNEvt);
}
-//-----------------------------------------------------------------------------
+
void SvxClickInfoCtr::SetText( const OUString& rStr )
{
aFixedInfo.SetText(rStr );
}
-//-----------------------------------------------------------------------------
+
OUString SvxClickInfoCtr::GetText() const
{
return aFixedInfo.GetText();
}
-//-----------------------------------------------------------------------------
+
SvxClickInfoCtr::~SvxClickInfoCtr()
{
}
@@ -76,7 +76,7 @@ SvxClickInfoCtr::~SvxClickInfoCtr()
//=============================================================================
// SvxCommonLinguisticControl
//=============================================================================
-//-----------------------------------------------------------------------------
+
SvxCommonLinguisticControl::SvxCommonLinguisticControl( ModalDialog* _pParent )
:Window( _pParent, CUI_RES( RID_SVX_WND_COMMON_LINGU ) )
,aWordText ( this, CUI_RES( FT_WORD ) )
@@ -100,7 +100,7 @@ SvxCommonLinguisticControl::SvxCommonLinguisticControl( ModalDialog* _pParent )
Show();
}
-// -----------------------------------------------------------------------
+
PushButton* SvxCommonLinguisticControl::implGetButton( ButtonType _eType ) const
{
const PushButton* pButton = NULL;
@@ -116,7 +116,7 @@ PushButton* SvxCommonLinguisticControl::implGetButton( ButtonType _eType ) cons
return const_cast< PushButton* >( pButton );
}
-// -----------------------------------------------------------------------
+
void SvxCommonLinguisticControl::SetButtonHandler( ButtonType _eType, const Link& _rHandler )
{
Button* pButton = GetButton( _eType );
@@ -124,7 +124,7 @@ void SvxCommonLinguisticControl::SetButtonHandler( ButtonType _eType, const Link
pButton->SetClickHdl( _rHandler );
}
-// -----------------------------------------------------------------------
+
void SvxCommonLinguisticControl::EnableButton( ButtonType _eType, sal_Bool _bEnable )
{
Button* pButton = GetButton( _eType );
@@ -132,7 +132,7 @@ void SvxCommonLinguisticControl::EnableButton( ButtonType _eType, sal_Bool _bEna
pButton->Enable( _bEnable );
}
-// -----------------------------------------------------------------------
+
void SvxCommonLinguisticControl::InsertControlGroup( Window& _rFirstGroupWindow, Window& _rLastGroupWindow, ControlGroup _eInsertAfter )
{
Window* pInsertAfter = NULL; // will be the last window of our own "undividable" group, after which we insert the foreign group
@@ -170,7 +170,7 @@ void SvxCommonLinguisticControl::InsertControlGroup( Window& _rFirstGroupWindow,
// (FirstWindow, LastWindow) was no valid control group
}
-//-----------------------------------------------------------------------------
+
void SvxCommonLinguisticControl::Paint( const Rectangle& rRect )
{
Window::Paint(rRect );
@@ -181,7 +181,7 @@ void SvxCommonLinguisticControl::Paint( const Rectangle& rRect )
aDecoView.DrawButton( aRect, BUTTON_DRAW_NOFILL );
}
-//-----------------------------------------------------------------------------
+
void SvxCommonLinguisticControl::Enlarge( sal_Int32 _nX, sal_Int32 _nY )
{
Size aSize;
diff --git a/cui/source/dialogs/cuicharmap.cxx b/cui/source/dialogs/cuicharmap.cxx
index 4159a31eaa33..207bef33cb98 100644
--- a/cui/source/dialogs/cuicharmap.cxx
+++ b/cui/source/dialogs/cuicharmap.cxx
@@ -104,34 +104,34 @@ SvxCharacterMap::SvxCharacterMap( Window* pParent, sal_Bool bOne_, const SfxItem
CreateOutputItemSet( pSet ? *pSet->GetPool() : SFX_APP()->GetPool() );
}
-// -----------------------------------------------------------------------
+
SvxCharacterMap::~SvxCharacterMap()
{
}
-// -----------------------------------------------------------------------
+
const Font& SvxCharacterMap::GetCharFont() const
{
return aFont;
}
-// -----------------------------------------------------------------------
+
void SvxCharacterMap::SetChar( sal_UCS4 c )
{
m_pShowSet->SelectCharacter( c );
}
-// -----------------------------------------------------------------------
+
sal_UCS4 SvxCharacterMap::GetChar() const
{
return m_pShowSet->GetSelectCharacter();
}
-// -----------------------------------------------------------------------
+
OUString SvxCharacterMap::GetCharacters() const
{
@@ -139,7 +139,7 @@ OUString SvxCharacterMap::GetCharacters() const
}
-// -----------------------------------------------------------------------
+
void SvxCharacterMap::DisableFontSelection()
{
@@ -182,7 +182,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT Window* SAL_CALL makeSvxShowText(Window *pParent
return new SvxShowText(pParent);
}
-// -----------------------------------------------------------------------
+
void SvxShowText::Paint( const Rectangle& )
{
@@ -266,7 +266,7 @@ void SvxShowText::Paint( const Rectangle& )
Control::SetFont(aOrigFont);
}
-// -----------------------------------------------------------------------
+
void SvxShowText::SetFont( const Font& rFont )
{
@@ -296,7 +296,7 @@ void SvxShowText::Resize()
SetFont(GetFont()); //force recalculation of size
}
-// -----------------------------------------------------------------------
+
void SvxShowText::SetText( const OUString& rText )
{
@@ -304,7 +304,7 @@ void SvxShowText::SetText( const OUString& rText )
Invalidate();
}
-// -----------------------------------------------------------------------
+
SvxShowText::~SvxShowText()
{}
@@ -382,7 +382,7 @@ void SvxCharacterMap::init()
m_pOKBtn->Enable();
}
-// -----------------------------------------------------------------------
+
void SvxCharacterMap::SetCharFont( const Font& rFont )
{
@@ -401,7 +401,7 @@ void SvxCharacterMap::SetCharFont( const Font& rFont )
ModalDialog::SetFont( aFont );
}
-// -----------------------------------------------------------------------
+
IMPL_LINK_NOARG(SvxCharacterMap, OKHdl)
{
@@ -430,7 +430,7 @@ void SvxCharacterMap::fillAllSubsets(ListBox &rListBox)
}
}
-// -----------------------------------------------------------------------
+
IMPL_LINK_NOARG(SvxCharacterMap, FontSelectHdl)
{
@@ -485,7 +485,7 @@ IMPL_LINK_NOARG(SvxCharacterMap, FontSelectHdl)
return 0;
}
-// -----------------------------------------------------------------------
+
IMPL_LINK_NOARG(SvxCharacterMap, SubsetSelectHdl)
{
@@ -500,7 +500,7 @@ IMPL_LINK_NOARG(SvxCharacterMap, SubsetSelectHdl)
return 0;
}
-// -----------------------------------------------------------------------
+
IMPL_LINK_NOARG(SvxCharacterMap, CharDoubleClickHdl)
{
@@ -513,7 +513,7 @@ IMPL_LINK_NOARG(SvxCharacterMap, CharDoubleClickHdl)
return 0;
}
-// -----------------------------------------------------------------------
+
IMPL_LINK_NOARG(SvxCharacterMap, CharSelectHdl)
{
@@ -535,7 +535,7 @@ IMPL_LINK_NOARG(SvxCharacterMap, CharSelectHdl)
return 0;
}
-// -----------------------------------------------------------------------
+
IMPL_LINK_NOARG(SvxCharacterMap, CharHighlightHdl)
{
@@ -574,7 +574,7 @@ IMPL_LINK_NOARG(SvxCharacterMap, CharHighlightHdl)
return 0;
}
-// -----------------------------------------------------------------------
+
IMPL_LINK_NOARG(SvxCharacterMap, CharPreSelectHdl)
{
@@ -591,7 +591,7 @@ IMPL_LINK_NOARG(SvxCharacterMap, CharPreSelectHdl)
return 0;
}
-// -----------------------------------------------------------------------
+
IMPL_LINK_NOARG(SvxCharacterMap, DeleteLastHdl)
{
diff --git a/cui/source/dialogs/cuigaldlg.cxx b/cui/source/dialogs/cuigaldlg.cxx
index dcd508d4f82d..b176f40b9568 100644
--- a/cui/source/dialogs/cuigaldlg.cxx
+++ b/cui/source/dialogs/cuigaldlg.cxx
@@ -52,9 +52,9 @@
#include <svx/dialmgr.hxx>
-// --------------
+
// - Namespaces -
-// --------------
+
using namespace ::ucbhelper;
using namespace ::rtl;
@@ -65,9 +65,9 @@ using namespace ::com::sun::star::ucb;
using namespace ::com::sun::star::ui::dialogs;
using namespace ::com::sun::star::uno;
-// ----------------
+
// - SearchThread -
-// ----------------
+
SearchThread::SearchThread( SearchProgress* pProgess,
TPGalleryThemeProperties* pBrowser,
@@ -79,13 +79,13 @@ SearchThread::SearchThread( SearchProgress* pProgess,
{
}
-// ------------------------------------------------------------------------
+
SearchThread::~SearchThread()
{
}
-// ------------------------------------------------------------------------
+
void SearchThread::execute()
{
@@ -114,7 +114,7 @@ void SearchThread::execute()
Application::PostUserEvent( LINK( mpProgress, SearchProgress, CleanUpHdl ) );
}
-// ------------------------------------------------------------------------
+
void SearchThread::ImplSearch( const INetURLObject& rStartURL,
const ::std::vector< OUString >& rFormats,
@@ -200,9 +200,9 @@ void SearchThread::ImplSearch( const INetURLObject& rStartURL,
}
}
-// ------------------
+
// - SearchProgress -
-// ------------------
+
SearchProgress::SearchProgress( Window* pParent, const INetURLObject& rStartURL )
: ModalDialog(pParent, "GallerySearchProgress", "cui/ui/gallerysearchprogress.ui")
@@ -216,7 +216,7 @@ SearchProgress::SearchProgress( Window* pParent, const INetURLObject& rStartURL
m_pBtnCancel->SetClickHdl( LINK( this, SearchProgress, ClickCancelBtn ) );
}
-// ------------------------------------------------------------------------
+
void SearchProgress::Terminate()
{
@@ -224,7 +224,7 @@ void SearchProgress::Terminate()
maSearchThread->terminate();
}
-// ------------------------------------------------------------------------
+
IMPL_LINK_NOARG(SearchProgress, ClickCancelBtn)
{
@@ -232,7 +232,7 @@ IMPL_LINK_NOARG(SearchProgress, ClickCancelBtn)
return 0L;
}
-// ------------------------------------------------------------------------
+
IMPL_LINK_NOARG(SearchProgress, CleanUpHdl)
{
@@ -245,7 +245,7 @@ IMPL_LINK_NOARG(SearchProgress, CleanUpHdl)
return 0L;
}
-// ------------------------------------------------------------------------
+
short SearchProgress::Execute()
{
@@ -255,7 +255,7 @@ short SearchProgress::Execute()
return RET_CANCEL;
}
-// ------------------------------------------------------------------------
+
void SearchProgress::StartExecuteModal( const Link& rEndDialogHdl )
{
@@ -266,9 +266,9 @@ void SearchProgress::StartExecuteModal( const Link& rEndDialogHdl )
ModalDialog::StartExecuteModal( rEndDialogHdl );
}
-// --------------
+
// - TakeThread -
-// --------------
+
TakeThread::TakeThread(
TakeProgress* pProgess,
@@ -282,13 +282,13 @@ TakeThread::TakeThread(
{
}
-// ------------------------------------------------------------------------
+
TakeThread::~TakeThread()
{
}
-// ------------------------------------------------------------------------
+
void TakeThread::execute()
{
@@ -334,9 +334,9 @@ void TakeThread::execute()
Application::PostUserEvent( LINK( mpProgress, TakeProgress, CleanUpHdl ) );
}
-// ----------------
+
// - TakeProgress -
-// ----------------
+
TakeProgress::TakeProgress( Window* pWindow ) :
ModalDialog ( pWindow, CUI_RES( RID_SVXDLG_GALLERY_TAKE_PROGRESS ) ),
@@ -349,7 +349,7 @@ TakeProgress::TakeProgress( Window* pWindow ) :
aBtnCancel.SetClickHdl( LINK( this, TakeProgress, ClickCancelBtn ) );
}
-// ------------------------------------------------------------------------
+
void TakeProgress::Terminate()
@@ -358,7 +358,7 @@ void TakeProgress::Terminate()
maTakeThread->terminate();
}
-// ------------------------------------------------------------------------
+
IMPL_LINK_NOARG(TakeProgress, ClickCancelBtn)
{
@@ -366,7 +366,7 @@ IMPL_LINK_NOARG(TakeProgress, ClickCancelBtn)
return 0L;
}
-// ------------------------------------------------------------------------
+
IMPL_LINK_NOARG(TakeProgress, CleanUpHdl)
{
@@ -420,7 +420,7 @@ IMPL_LINK_NOARG(TakeProgress, CleanUpHdl)
return 0L;
}
-// ------------------------------------------------------------------------
+
short TakeProgress::Execute()
{
@@ -430,7 +430,7 @@ short TakeProgress::Execute()
return RET_CANCEL;
}
-// ------------------------------------------------------------------------
+
void TakeProgress::StartExecuteModal( const Link& rEndDialogHdl )
{
@@ -441,9 +441,9 @@ void TakeProgress::StartExecuteModal( const Link& rEndDialogHdl )
ModalDialog::StartExecuteModal( rEndDialogHdl );
}
-// ---------------------
+
// - ActualizeProgress -
-// ---------------------
+
ActualizeProgress::ActualizeProgress( Window* pWindow, GalleryTheme* pThm ) :
ModalDialog ( pWindow, CUI_RES( RID_SVXDLG_GALLERY_ACTUALIZE_PROGRESS ) ),
@@ -457,7 +457,7 @@ ActualizeProgress::ActualizeProgress( Window* pWindow, GalleryTheme* pThm ) :
aBtnCancel.SetClickHdl( LINK( this, ActualizeProgress, ClickCancelBtn ) );
}
-// ------------------------------------------------------------------------
+
short ActualizeProgress::Execute()
{
@@ -477,7 +477,7 @@ short ActualizeProgress::Execute()
return nRet;
}
-// ------------------------------------------------------------------------
+
IMPL_LINK_NOARG(ActualizeProgress, ClickCancelBtn)
{
@@ -487,7 +487,7 @@ IMPL_LINK_NOARG(ActualizeProgress, ClickCancelBtn)
return 0L;
}
-// ------------------------------------------------------------------------
+
IMPL_LINK( ActualizeProgress, TimeoutHdl, Timer*, _pTimer )
{
@@ -503,7 +503,7 @@ IMPL_LINK( ActualizeProgress, TimeoutHdl, Timer*, _pTimer )
return 0;
}
-// ------------------------------------------------------------------------
+
IMPL_LINK( ActualizeProgress, ActualizeHdl, INetURLObject*, pURL )
{
@@ -531,9 +531,9 @@ TitleDialog::TitleDialog(Window* pParent, const OUString& rOldTitle)
m_pEdit->GrabFocus();
}
-// -------------------
+
// - GalleryIdDialog -
-// -------------------
+
GalleryIdDialog::GalleryIdDialog( Window* pParent, GalleryTheme* _pThm )
: ModalDialog(pParent, "GalleryThemeIDDialog", "cui/ui/gallerythemeiddialog.ui")
@@ -552,7 +552,7 @@ GalleryIdDialog::GalleryIdDialog( Window* pParent, GalleryTheme* _pThm )
m_pBtnOk->SetClickHdl( LINK( this, GalleryIdDialog, ClickOkHdl ) );
}
-// -----------------------------------------------------------------------------
+
IMPL_LINK_NOARG(GalleryIdDialog, ClickOkHdl)
{
@@ -586,9 +586,9 @@ IMPL_LINK_NOARG(GalleryIdDialog, ClickOkHdl)
}
-// --------------------------
+
// - GalleryThemeProperties -
-// --------------------------
+
GalleryThemeProperties::GalleryThemeProperties(Window* pParent,
ExchangeData* _pData, SfxItemSet* pItemSet)
@@ -614,7 +614,7 @@ GalleryThemeProperties::GalleryThemeProperties(Window* pParent,
SetText( aText );
}
-// ------------------------------------------------------------------------
+
void GalleryThemeProperties::PageCreated( sal_uInt16 nId, SfxTabPage &rPage )
{
@@ -624,9 +624,9 @@ void GalleryThemeProperties::PageCreated( sal_uInt16 nId, SfxTabPage &rPage )
( (TPGalleryThemeProperties&) rPage ).SetXChgData( pData );
}
-// -------------------------
+
// - TPGalleryThemeGeneral -
-// -------------------------
+
TPGalleryThemeGeneral::TPGalleryThemeGeneral( Window* pParent, const SfxItemSet& rSet ) :
SfxTabPage ( pParent, CUI_RES( RID_SVXTABPAGE_GALLERY_GENERAL ), rSet ),
@@ -652,7 +652,7 @@ TPGalleryThemeGeneral::TPGalleryThemeGeneral( Window* pParent, const SfxItemSet&
aEdtMSName.SetAccessibleRelationLabeledBy( &aFiMSImage );
}
-// ------------------------------------------------------------------------
+
void TPGalleryThemeGeneral::SetXChgData( ExchangeData* _pData )
{
@@ -711,7 +711,7 @@ void TPGalleryThemeGeneral::SetXChgData( ExchangeData* _pData )
aFiMSImage.SetImage( Image( Bitmap( CUI_RES( nId ) ), COL_LIGHTMAGENTA ) );
}
-// ------------------------------------------------------------------------
+
sal_Bool TPGalleryThemeGeneral::FillItemSet( SfxItemSet& /*rSet*/ )
{
@@ -719,16 +719,16 @@ sal_Bool TPGalleryThemeGeneral::FillItemSet( SfxItemSet& /*rSet*/ )
return sal_True;
}
-// ------------------------------------------------------------------------
+
SfxTabPage* TPGalleryThemeGeneral::Create( Window* pParent, const SfxItemSet& rSet )
{
return new TPGalleryThemeGeneral( pParent, rSet );
}
-// ----------------------------
+
// - TPGalleryThemeProperties -
-// ----------------------------
+
TPGalleryThemeProperties::TPGalleryThemeProperties( Window* pWindow, const SfxItemSet& rSet ) :
SfxTabPage ( pWindow, CUI_RES( RID_SVXTABPAGE_GALLERYTHEME_FILES ), rSet ),
@@ -755,7 +755,7 @@ TPGalleryThemeProperties::TPGalleryThemeProperties( Window* pWindow, const SfxIt
aLbxFound.SetAccessibleRelationLabeledBy(&aLbxFound);
}
-// ------------------------------------------------------------------------
+
void TPGalleryThemeProperties::SetXChgData( ExchangeData* _pData )
{
@@ -781,7 +781,7 @@ void TPGalleryThemeProperties::SetXChgData( ExchangeData* _pData )
aCbxPreview.Disable();
}
-// ------------------------------------------------------------------------
+
void TPGalleryThemeProperties::StartSearchFiles( const OUString& _rFolderURL, short _nDlgResult )
{
@@ -795,7 +795,7 @@ void TPGalleryThemeProperties::StartSearchFiles( const OUString& _rFolderURL, sh
nCurFilterPos = aCbbFileType.GetEntryPos( aCbbFileType.GetText() );
}
-// ------------------------------------------------------------------------
+
TPGalleryThemeProperties::~TPGalleryThemeProperties()
{
@@ -807,14 +807,14 @@ TPGalleryThemeProperties::~TPGalleryThemeProperties()
}
}
-// ------------------------------------------------------------------------
+
SfxTabPage* TPGalleryThemeProperties::Create( Window* pParent, const SfxItemSet& rSet )
{
return new TPGalleryThemeProperties( pParent, rSet );
}
-// ------------------------------------------------------------------------
+
OUString TPGalleryThemeProperties::addExtension( const OUString& _rDisplayText, const OUString& _rExtension )
{
@@ -833,7 +833,7 @@ OUString TPGalleryThemeProperties::addExtension( const OUString& _rDisplayText,
return sRet;
}
-// ------------------------------------------------------------------------
+
void TPGalleryThemeProperties::FillFilterList()
{
@@ -975,7 +975,7 @@ void TPGalleryThemeProperties::FillFilterList()
aCbbFileType.SetText( pFilterEntry->aFilterName );
}
-// ------------------------------------------------------------------------
+
IMPL_LINK_NOARG(TPGalleryThemeProperties, SelectFileTypeHdl)
{
@@ -992,7 +992,7 @@ IMPL_LINK_NOARG(TPGalleryThemeProperties, SelectFileTypeHdl)
return 0L;
}
-// ------------------------------------------------------------------------
+
void TPGalleryThemeProperties::SearchFiles()
{
@@ -1008,7 +1008,7 @@ void TPGalleryThemeProperties::SearchFiles()
pProgress->StartExecuteModal( LINK( this, TPGalleryThemeProperties, EndSearchProgressHdl ) );
}
-// ------------------------------------------------------------------------
+
IMPL_LINK_NOARG(TPGalleryThemeProperties, ClickSearchHdl)
{
@@ -1049,7 +1049,7 @@ IMPL_LINK_NOARG(TPGalleryThemeProperties, ClickSearchHdl)
return 0L;
}
-// ------------------------------------------------------------------------
+
void TPGalleryThemeProperties::TakeFiles()
{
@@ -1064,7 +1064,7 @@ void TPGalleryThemeProperties::TakeFiles()
}
}
-// ------------------------------------------------------------------------
+
IMPL_LINK_NOARG(TPGalleryThemeProperties, ClickPreviewHdl)
{
@@ -1086,7 +1086,7 @@ IMPL_LINK_NOARG(TPGalleryThemeProperties, ClickPreviewHdl)
return 0;
}
-// ------------------------------------------------------------------------
+
void TPGalleryThemeProperties::DoPreview()
{
@@ -1115,7 +1115,7 @@ void TPGalleryThemeProperties::DoPreview()
}
}
-// ------------------------------------------------------------------------
+
IMPL_LINK_NOARG(TPGalleryThemeProperties, ClickTakeHdl)
{
@@ -1142,7 +1142,7 @@ IMPL_LINK_NOARG(TPGalleryThemeProperties, ClickTakeHdl)
return 0L;
}
-// ------------------------------------------------------------------------
+
IMPL_LINK_NOARG(TPGalleryThemeProperties, ClickTakeAllHdl)
{
@@ -1156,7 +1156,7 @@ IMPL_LINK_NOARG(TPGalleryThemeProperties, ClickTakeAllHdl)
return 0L;
}
-// ------------------------------------------------------------------------
+
IMPL_LINK_NOARG(TPGalleryThemeProperties, SelectFoundHdl)
{
@@ -1189,7 +1189,7 @@ IMPL_LINK_NOARG(TPGalleryThemeProperties, SelectFoundHdl)
return 0;
}
-// ------------------------------------------------------------------------
+
IMPL_LINK_NOARG(TPGalleryThemeProperties, DClickFoundHdl)
{
@@ -1204,7 +1204,7 @@ IMPL_LINK_NOARG(TPGalleryThemeProperties, DClickFoundHdl)
return 0;
}
-// ------------------------------------------------------------------------
+
IMPL_LINK_NOARG(TPGalleryThemeProperties, PreviewTimerHdl)
{
@@ -1213,7 +1213,7 @@ IMPL_LINK_NOARG(TPGalleryThemeProperties, PreviewTimerHdl)
return 0L;
}
-// ------------------------------------------------------------------------
+
IMPL_LINK_NOARG(TPGalleryThemeProperties, EndSearchProgressHdl)
{
@@ -1234,7 +1234,7 @@ IMPL_LINK_NOARG(TPGalleryThemeProperties, EndSearchProgressHdl)
return 0L;
}
-// ------------------------------------------------------------------------
+
IMPL_LINK( TPGalleryThemeProperties, DialogClosedHdl, ::com::sun::star::ui::dialogs::DialogClosedEvent*, pEvt )
{
diff --git a/cui/source/dialogs/cuigrfflt.cxx b/cui/source/dialogs/cuigrfflt.cxx
index c67d06439f47..ae2ada60750b 100644
--- a/cui/source/dialogs/cuigrfflt.cxx
+++ b/cui/source/dialogs/cuigrfflt.cxx
@@ -54,7 +54,7 @@ Size GraphicPreviewWindow::GetOptimalSize() const
return LogicToPixel(Size(81, 73), MAP_APPFONT);
}
-// -----------------------------------------------------------------------------
+
void GraphicPreviewWindow::Paint( const Rectangle& rRect )
{
@@ -78,7 +78,7 @@ void GraphicPreviewWindow::Paint( const Rectangle& rRect )
}
}
-// -----------------------------------------------------------------------------
+
void GraphicPreviewWindow::SetPreview( const Graphic& rGraphic )
{
@@ -154,7 +154,7 @@ GraphicFilterDialog::GraphicFilterDialog(Window* pParent,
mpPreview->init(&rGraphic, maModifyHdl);
}
-// -----------------------------------------------------------------------------
+
IMPL_LINK_NOARG(GraphicFilterDialog, ImplPreviewTimeoutHdl)
{
@@ -165,7 +165,7 @@ IMPL_LINK_NOARG(GraphicFilterDialog, ImplPreviewTimeoutHdl)
return 0;
}
-// -----------------------------------------------------------------------------
+
IMPL_LINK_NOARG(GraphicFilterDialog, ImplModifyHdl)
{
@@ -178,9 +178,9 @@ IMPL_LINK_NOARG(GraphicFilterDialog, ImplModifyHdl)
return 0;
}
-// ----------------
+
// - FilterMosaic -
-// ----------------
+
GraphicFilterMosaic::GraphicFilterMosaic( Window* pParent, const Graphic& rGraphic,
sal_uInt16 nTileWidth, sal_uInt16 nTileHeight, sal_Bool bEnhanceEdges )
@@ -205,7 +205,7 @@ GraphicFilterMosaic::GraphicFilterMosaic( Window* pParent, const Graphic& rGraph
mpMtrWidth->GrabFocus();
}
-// -----------------------------------------------------------------------------
+
Graphic GraphicFilterMosaic::GetFilteredGraphic( const Graphic& rGraphic,
double fScaleX, double fScaleY )
@@ -243,9 +243,9 @@ Graphic GraphicFilterMosaic::GetFilteredGraphic( const Graphic& rGraphic,
return aRet;
}
-// ------------------
+
// - GraphicFilterSmooth -
-// ------------------
+
GraphicFilterSmooth::GraphicFilterSmooth( Window* pParent, const Graphic& rGraphic, double nRadius)
: GraphicFilterDialog(pParent, "SmoothDialog",
@@ -258,7 +258,7 @@ GraphicFilterSmooth::GraphicFilterSmooth( Window* pParent, const Graphic& rGraph
mpMtrRadius->GrabFocus();
}
-// -----------------------------------------------------------------------------
+
Graphic GraphicFilterSmooth::GetFilteredGraphic( const Graphic& rGraphic, double /*fScaleX*/, double /*fScaleY*/ )
{
@@ -287,9 +287,9 @@ Graphic GraphicFilterSmooth::GetFilteredGraphic( const Graphic& rGraphic, double
return aRet;
}
-// ------------------
+
// - GraphicFilterSolarize -
-// ------------------
+
GraphicFilterSolarize::GraphicFilterSolarize( Window* pParent, const Graphic& rGraphic,
sal_uInt8 cGreyThreshold, sal_Bool bInvert )
@@ -306,7 +306,7 @@ GraphicFilterSolarize::GraphicFilterSolarize( Window* pParent, const Graphic& rG
mpCbxInvert->SetToggleHdl( GetModifyHdl() );
}
-// -----------------------------------------------------------------------------
+
Graphic GraphicFilterSolarize::GetFilteredGraphic( const Graphic& rGraphic,
double /*fScaleX*/, double /*fScaleY*/ )
@@ -342,9 +342,9 @@ Graphic GraphicFilterSolarize::GetFilteredGraphic( const Graphic& rGraphic,
return aRet;
}
-// ----------------------
+
// - GraphicFilterSepia -
-// ----------------------
+
GraphicFilterSepia::GraphicFilterSepia( Window* pParent, const Graphic& rGraphic,
sal_uInt16 nSepiaPercent )
@@ -357,7 +357,7 @@ GraphicFilterSepia::GraphicFilterSepia( Window* pParent, const Graphic& rGraphic
mpMtrSepia->SetModifyHdl( GetModifyHdl() );
}
-// -----------------------------------------------------------------------------
+
Graphic GraphicFilterSepia::GetFilteredGraphic( const Graphic& rGraphic,
double /*fScaleX*/, double /*fScaleY*/ )
@@ -383,9 +383,9 @@ Graphic GraphicFilterSepia::GetFilteredGraphic( const Graphic& rGraphic,
return aRet;
}
-// -----------------------
+
// - GraphicFilterPoster -
-// -----------------------
+
GraphicFilterPoster::GraphicFilterPoster(Window* pParent, const Graphic& rGraphic,
sal_uInt16 nPosterCount)
@@ -400,7 +400,7 @@ GraphicFilterPoster::GraphicFilterPoster(Window* pParent, const Graphic& rGraphi
mpNumPoster->SetModifyHdl( GetModifyHdl() );
}
-// -----------------------------------------------------------------------------
+
Graphic GraphicFilterPoster::GetFilteredGraphic( const Graphic& rGraphic,
double /*fScaleX*/, double /*fScaleY*/ )
@@ -426,9 +426,9 @@ Graphic GraphicFilterPoster::GetFilteredGraphic( const Graphic& rGraphic,
return aRet;
}
-// -----------------------
+
// - GraphicFilterEmboss -
-// -----------------------
+
void EmbossControl::MouseButtonDown( const MouseEvent& rEvt )
{
@@ -450,7 +450,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT Window* SAL_CALL makeEmbossControl(Window *pPare
return new EmbossControl(pParent);
}
-// -----------------------------------------------------------------------------
+
GraphicFilterEmboss::GraphicFilterEmboss(Window* pParent,
const Graphic& rGraphic, RECT_POINT eLightSource)
@@ -463,7 +463,7 @@ GraphicFilterEmboss::GraphicFilterEmboss(Window* pParent,
mpCtlLight->GrabFocus();
}
-// -----------------------------------------------------------------------------
+
Graphic GraphicFilterEmboss::GetFilteredGraphic( const Graphic& rGraphic,
double /*fScaleX*/, double /*fScaleY*/ )
diff --git a/cui/source/dialogs/cuihyperdlg.cxx b/cui/source/dialogs/cuihyperdlg.cxx
index 0f1efdaf8b50..666863ce0537 100644
--- a/cui/source/dialogs/cuihyperdlg.cxx
+++ b/cui/source/dialogs/cuihyperdlg.cxx
@@ -66,7 +66,7 @@ void SvxHlinkCtrl::StateChanged( sal_uInt16 nSID, SfxItemState eState,
-// -----------------------------------------------------------------------
+
diff --git a/cui/source/dialogs/hangulhanjadlg.cxx b/cui/source/dialogs/hangulhanjadlg.cxx
index ededbf44c363..d0bdd78a68e6 100644
--- a/cui/source/dialogs/hangulhanjadlg.cxx
+++ b/cui/source/dialogs/hangulhanjadlg.cxx
@@ -53,7 +53,7 @@ namespace svx
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::container;
- //-------------------------------------------------------------------------
+
namespace
{
class FontSwitch
@@ -103,7 +103,7 @@ namespace svx
::vcl::ControlLayoutData* _pLayoutData = NULL );
};
- //-------------------------------------------------------------------------
+
PseudoRubyText::PseudoRubyText( const OUString& _rPrimary, const OUString& _rSecondary, const RubyPosition _ePosition )
:m_sPrimaryText( _rPrimary )
,m_sSecondaryText( _rSecondary )
@@ -111,7 +111,7 @@ namespace svx
{
}
- //-------------------------------------------------------------------------
+
void PseudoRubyText::Paint( OutputDevice& _rDevice, const Rectangle& _rRect, sal_uInt16 _nTextStyle,
Rectangle* _pPrimaryLocation, Rectangle* _pSecondaryLocation, ::vcl::ControlLayoutData* _pLayoutData )
{
@@ -220,7 +220,7 @@ namespace svx
virtual void Paint( const Rectangle& _rRect );
};
- //-------------------------------------------------------------------------
+
RubyRadioButton::RubyRadioButton( Window* _pParent, const ResId& _rId,
const OUString& _rSecondary, const PseudoRubyText::RubyPosition _ePosition )
:RadioButton( _pParent, _rId )
@@ -228,7 +228,7 @@ namespace svx
{
}
- //-------------------------------------------------------------------------
+
void RubyRadioButton::Paint( const Rectangle& )
{
HideFocus();
@@ -300,7 +300,7 @@ namespace svx
//=========================================================================
//= SuggestionSet
//=========================================================================
- //-------------------------------------------------------------------------
+
SuggestionSet::SuggestionSet( Window* pParent )
: ValueSet( pParent, pParent->GetStyle() | WB_BORDER )
@@ -334,7 +334,7 @@ namespace svx
//=========================================================================
//= SuggestionDisplay
//=========================================================================
- //-------------------------------------------------------------------------
+
SuggestionDisplay::SuggestionDisplay( Window* pParent, const ResId& rResId )
: Control( pParent, rResId )
@@ -498,7 +498,7 @@ namespace svx
//=========================================================================
//= HangulHanjaConversionDialog
//=========================================================================
- //-------------------------------------------------------------------------
+
HangulHanjaConversionDialog::HangulHanjaConversionDialog( Window* _pParent, HHC::ConversionDirection _ePrimaryDirection )
:ModalDialog( _pParent, CUI_RES( RID_SVX_MDLG_HANGULHANJA ) )
,m_pPlayground( new SvxCommonLinguisticControl( this ) )
@@ -607,12 +607,12 @@ namespace svx
m_aSuggestions.SetHelpIds();
}
- //-------------------------------------------------------------------------
+
HangulHanjaConversionDialog::~HangulHanjaConversionDialog( )
{
}
- //-------------------------------------------------------------------------
+
void HangulHanjaConversionDialog::FillSuggestions( const ::com::sun::star::uno::Sequence< OUString >& _rSuggestions )
{
m_aSuggestions.Clear();
@@ -634,43 +634,43 @@ namespace svx
OnSuggestionModified( &m_pPlayground->GetWordInputControl() );
}
- //-------------------------------------------------------------------------
+
void HangulHanjaConversionDialog::SetOptionsChangedHdl( const Link& _rHdl )
{
m_aOptionsChangedLink = _rHdl;
}
- //-------------------------------------------------------------------------
+
void HangulHanjaConversionDialog::SetIgnoreHdl( const Link& _rHdl )
{
m_pPlayground->SetButtonHandler( SvxCommonLinguisticControl::eIgnore, _rHdl );
}
- //-------------------------------------------------------------------------
+
void HangulHanjaConversionDialog::SetIgnoreAllHdl( const Link& _rHdl )
{
m_pPlayground->SetButtonHandler( SvxCommonLinguisticControl::eIgnoreAll, _rHdl );
}
- //-------------------------------------------------------------------------
+
void HangulHanjaConversionDialog::SetChangeHdl( const Link& _rHdl )
{
m_pPlayground->SetButtonHandler( SvxCommonLinguisticControl::eChange, _rHdl );
}
- //-------------------------------------------------------------------------
+
void HangulHanjaConversionDialog::SetChangeAllHdl( const Link& _rHdl )
{
m_pPlayground->SetButtonHandler( SvxCommonLinguisticControl::eChangeAll, _rHdl );
}
- //-------------------------------------------------------------------------
+
void HangulHanjaConversionDialog::SetFindHdl( const Link& _rHdl )
{
m_aFind.SetClickHdl( _rHdl );
}
- //-------------------------------------------------------------------------
+
void HangulHanjaConversionDialog::SetConversionFormatChangedHdl( const Link& _rHdl )
{
m_aSimpleConversion.SetClickHdl( _rHdl );
@@ -682,13 +682,13 @@ namespace svx
m_pHangulBelow->SetClickHdl( _rHdl );
}
- //-------------------------------------------------------------------------
+
void HangulHanjaConversionDialog::SetClickByCharacterHdl( const Link& _rHdl )
{
m_aClickByCharacterLink = _rHdl;
}
- //-------------------------------------------------------------------------
+
IMPL_LINK_NOARG(HangulHanjaConversionDialog, OnSuggestionSelected)
{
m_pPlayground->GetWordInputControl().SetText( m_aSuggestions.GetSelectEntry() );
@@ -696,7 +696,7 @@ namespace svx
return 0L;
}
- //-------------------------------------------------------------------------
+
IMPL_LINK_NOARG(HangulHanjaConversionDialog, OnSuggestionModified)
{
m_aFind.Enable( m_pPlayground->GetWordInputControl().GetSavedValue() != m_pPlayground->GetWordInputControl().GetText() );
@@ -708,7 +708,7 @@ namespace svx
return 0L;
}
- //-------------------------------------------------------------------------
+
IMPL_LINK( HangulHanjaConversionDialog, ClickByCharacterHdl, CheckBox *, pBox )
{
m_aClickByCharacterLink.Call(pBox);
@@ -719,7 +719,7 @@ namespace svx
return 0L;
}
- //-------------------------------------------------------------------------
+
IMPL_LINK( HangulHanjaConversionDialog, OnConversionDirectionClicked, CheckBox *, pBox )
{
CheckBox *pOtherBox = 0;
@@ -738,7 +738,7 @@ namespace svx
return 0L;
}
- //-------------------------------------------------------------------------
+
IMPL_LINK_NOARG(HangulHanjaConversionDialog, OnClose)
{
Close();
@@ -753,19 +753,19 @@ namespace svx
return 0L;
}
- //-------------------------------------------------------------------------
+
OUString HangulHanjaConversionDialog::GetCurrentString( ) const
{
return m_pPlayground->GetCurrentText( );
}
- //-------------------------------------------------------------------------
+
void HangulHanjaConversionDialog::FocusSuggestion( )
{
m_pPlayground->GetWordInputControl().GrabFocus();
}
- //-------------------------------------------------------------------------
+
namespace
{
void lcl_modifyWindowStyle( Window* _pWin, WinBits _nSet, WinBits _nReset )
@@ -776,7 +776,7 @@ namespace svx
}
}
- //-------------------------------------------------------------------------
+
void HangulHanjaConversionDialog::SetCurrentString( const OUString& _rNewString,
const Sequence< OUString >& _rSuggestions, bool _bOriginatesFromDocument )
{
@@ -821,20 +821,20 @@ namespace svx
}
}
- //-------------------------------------------------------------------------
+
OUString HangulHanjaConversionDialog::GetCurrentSuggestion( ) const
{
return m_pPlayground->GetWordInputControl().GetText();
}
- //-------------------------------------------------------------------------
+
void HangulHanjaConversionDialog::SetByCharacter( bool _bByCharacter )
{
m_aReplaceByChar.Check( _bByCharacter );
m_aSuggestions.DisplayListBox( !_bByCharacter );
}
- //-------------------------------------------------------------------------
+
void HangulHanjaConversionDialog::SetConversionDirectionState(
bool _bTryBothDirections,
HHC::ConversionDirection _ePrimaryConversionDirection )
@@ -854,13 +854,13 @@ namespace svx
}
}
- //-------------------------------------------------------------------------
+
bool HangulHanjaConversionDialog::GetUseBothDirections( ) const
{
return !m_aHangulOnly.IsChecked() && !m_aHanjaOnly.IsChecked();
}
- //-------------------------------------------------------------------------
+
HHC::ConversionDirection HangulHanjaConversionDialog::GetDirection(
HHC::ConversionDirection eDefaultDirection ) const
{
@@ -872,7 +872,7 @@ namespace svx
return eDirection;
}
- //-------------------------------------------------------------------------
+
void HangulHanjaConversionDialog::SetConversionFormat( HHC::ConversionFormat _eType )
{
switch ( _eType )
@@ -889,7 +889,7 @@ namespace svx
}
}
- //-------------------------------------------------------------------------
+
HHC::ConversionFormat HangulHanjaConversionDialog::GetConversionFormat( ) const
{
if ( m_aSimpleConversion.IsChecked() )
@@ -911,7 +911,7 @@ namespace svx
return HHC::eSimpleConversion;
}
- //-------------------------------------------------------------------------
+
void HangulHanjaConversionDialog::EnableRubySupport( bool bVal )
{
m_pHanjaAbove->Enable( bVal );
@@ -924,7 +924,7 @@ namespace svx
//=========================================================================
//= HangulHanjaOptionsDialog
//=========================================================================
- //-------------------------------------------------------------------------
+
void HangulHanjaOptionsDialog::Init( void )
{
@@ -1174,7 +1174,7 @@ namespace svx
//=========================================================================
//= HangulHanjaNewDictDialog
//=========================================================================
- //-------------------------------------------------------------------------
+
IMPL_LINK_NOARG(HangulHanjaNewDictDialog, OKHdl)
{
@@ -1219,7 +1219,7 @@ namespace svx
//=========================================================================
//= HangulHanjaEditDictDialog
//=========================================================================
- //-------------------------------------------------------------------------
+
class SuggestionList
{
diff --git a/cui/source/dialogs/iconcdlg.cxx b/cui/source/dialogs/iconcdlg.cxx
index 9b812960cfbe..a88ea1a55e43 100644
--- a/cui/source/dialogs/iconcdlg.cxx
+++ b/cui/source/dialogs/iconcdlg.cxx
@@ -76,7 +76,7 @@ IconChoicePage::IconChoicePage( Window *pParent, const ResId &rResId,
SetStyle ( GetStyle() | WB_DIALOGCONTROL | WB_HIDE );
}
-// -----------------------------------------------------------------------
+
IconChoicePage::~IconChoicePage()
{
@@ -92,7 +92,7 @@ void IconChoicePage::ActivatePage( const SfxItemSet& )
{
}
-// -----------------------------------------------------------------------
+
int IconChoicePage::DeactivatePage( SfxItemSet* )
{
@@ -109,14 +109,14 @@ void IconChoicePage::FillUserData()
{
}
-// -----------------------------------------------------------------------
+
sal_Bool IconChoicePage::IsReadOnly() const
{
return sal_False;
}
-// -----------------------------------------------------------------------
+
sal_Bool IconChoicePage::QueryClose()
{
@@ -152,7 +152,7 @@ void IconChoicePage::ImplInitSettings()
}
}
-// -----------------------------------------------------------------------
+
void IconChoicePage::StateChanged( StateChangedType nType )
{
@@ -165,7 +165,7 @@ void IconChoicePage::StateChanged( StateChangedType nType )
}
}
-// -----------------------------------------------------------------------
+
void IconChoicePage::DataChanged( const DataChangedEvent& rDCEvt )
{
@@ -248,7 +248,7 @@ IconChoiceDialog::IconChoiceDialog ( Window* pParent, const ResId &rResId,
SetPosSizeCtrls ( sal_True );
}
-// -----------------------------------------------------------------------
+
IconChoiceDialog ::~IconChoiceDialog ()
{
@@ -396,7 +396,7 @@ void IconChoiceDialog::ShowPageImpl ( IconChoicePageData* pData )
pData->pPage->Show();
}
-// -----------------------------------------------------------------------
+
void IconChoiceDialog::HidePageImpl ( IconChoicePageData* pData )
{
@@ -404,7 +404,7 @@ void IconChoiceDialog::HidePageImpl ( IconChoicePageData* pData )
pData->pPage->Hide();
}
-// -----------------------------------------------------------------------
+
void IconChoiceDialog::ShowPage( sal_uInt16 nId )
{
@@ -680,7 +680,7 @@ IMPL_LINK_NOARG(IconChoiceDialog, OkHdl)
return 0;
}
-// -----------------------------------------------------------------------
+
IMPL_LINK_NOARG(IconChoiceDialog, ResetHdl)
{
@@ -702,7 +702,7 @@ IMPL_LINK_NOARG(IconChoiceDialog, ResetHdl)
return 0;
}
-// -----------------------------------------------------------------------
+
IMPL_LINK_NOARG(IconChoiceDialog, CancelHdl)
{
@@ -774,7 +774,7 @@ void IconChoiceDialog::ActivatePageImpl ()
}
-// -----------------------------------------------------------------------
+
sal_Bool IconChoiceDialog::DeActivatePageImpl ()
{
@@ -841,7 +841,7 @@ sal_Bool IconChoiceDialog::DeActivatePageImpl ()
return sal_False;
}
-// -----------------------------------------------------------------------
+
void IconChoiceDialog::ResetPageImpl ()
{
@@ -912,7 +912,7 @@ const sal_uInt16* IconChoiceDialog::GetInputRanges( const SfxItemPool& rPool )
return pRanges;
}
-// -----------------------------------------------------------------------
+
void IconChoiceDialog::SetInputSet( const SfxItemSet* pInSet )
{
@@ -927,14 +927,14 @@ void IconChoiceDialog::SetInputSet( const SfxItemSet* pInSet )
}
}
-// -----------------------------------------------------------------------
+
void IconChoiceDialog::PageCreated( sal_uInt16 /*nId*/, IconChoicePage& /*rPage*/ )
{
// not interested in
}
-// -----------------------------------------------------------------------
+
SfxItemSet* IconChoiceDialog::CreateInputItemSet( sal_uInt16 )
{
@@ -959,7 +959,7 @@ short IconChoiceDialog::Execute()
return Dialog::Execute();
}
-// -----------------------------------------------------------------------
+
void IconChoiceDialog::Start( sal_Bool bShow )
{
@@ -974,7 +974,7 @@ void IconChoiceDialog::Start( sal_Bool bShow )
}
-// -----------------------------------------------------------------------
+
sal_Bool IconChoiceDialog::QueryClose()
{
@@ -991,7 +991,7 @@ sal_Bool IconChoiceDialog::QueryClose()
return bRet;
}
-// -----------------------------------------------------------------------
+
void IconChoiceDialog::Start_Impl()
{
@@ -1029,7 +1029,7 @@ void IconChoiceDialog::Start_Impl()
ActivatePageImpl();
}
-// -----------------------------------------------------------------------
+
const SfxItemSet* IconChoiceDialog::GetRefreshedSet()
{
@@ -1097,7 +1097,7 @@ sal_Bool IconChoiceDialog::OK_Impl()
return bEnd;
}
-// -----------------------------------------------------------------------
+
short IconChoiceDialog::Ok()
{
@@ -1146,7 +1146,7 @@ short IconChoiceDialog::Ok()
return _bModified ? RET_OK : RET_CANCEL;
}
-// -----------------------------------------------------------------------
+
void IconChoiceDialog::FocusOnIcon( sal_uInt16 nId )
{
diff --git a/cui/source/dialogs/insdlg.cxx b/cui/source/dialogs/insdlg.cxx
index 98df52dadfde..b18821088f1f 100644
--- a/cui/source/dialogs/insdlg.cxx
+++ b/cui/source/dialogs/insdlg.cxx
@@ -100,7 +100,7 @@ InsertObjectDialog_Impl::InsertObjectDialog_Impl(Window * pParent, const OString
{
}
-// -----------------------------------------------------------------------
+
IMPL_LINK_NOARG_INLINE_START(SvInsertOleDlg, DoubleClickHdl)
{
@@ -109,7 +109,7 @@ IMPL_LINK_NOARG_INLINE_START(SvInsertOleDlg, DoubleClickHdl)
}
IMPL_LINK_INLINE_END( SvInsertOleDlg, DoubleClickHdl, ListBox *, pListBox )
-// -----------------------------------------------------------------------
+
IMPL_LINK_NOARG(SvInsertOleDlg, BrowseHdl)
{
@@ -140,7 +140,7 @@ IMPL_LINK_NOARG(SvInsertOleDlg, BrowseHdl)
return 0;
}
-// -----------------------------------------------------------------------
+
IMPL_LINK_NOARG(SvInsertOleDlg, RadioHdl)
{
@@ -157,14 +157,14 @@ IMPL_LINK_NOARG(SvInsertOleDlg, RadioHdl)
return 0;
}
-// -----------------------------------------------------------------------
+
void SvInsertOleDlg::SelectDefault()
{
m_pLbObjecttype->SelectEntryPos(0);
}
-// -----------------------------------------------------------------------
+
SvInsertOleDlg::SvInsertOleDlg
(
Window* pParent,
@@ -382,7 +382,7 @@ IMPL_LINK_NOARG(SvInsertPlugInDialog, BrowseHdl)
return 0;
}
-// -----------------------------------------------------------------------
+
SvInsertPlugInDialog::SvInsertPlugInDialog(Window* pParent,
const uno::Reference < embed::XStorage >& xStorage)
@@ -400,7 +400,7 @@ SvInsertPlugInDialog::~SvInsertPlugInDialog()
delete m_pURL;
}
-// -----------------------------------------------------------------------
+
static void Plugin_ImplFillCommandSequence( const OUString& aCommands, uno::Sequence< beans::PropertyValue >& aCommandSequence )
{
@@ -692,7 +692,7 @@ short SfxInsertFloatingFrameDialog::Execute()
return nRet;
}
-//------------------------------------------------------------------------------
+
IMPL_STATIC_LINK( SfxInsertFloatingFrameDialog, CheckHdl, CheckBox*, pCB )
{
@@ -715,7 +715,7 @@ IMPL_STATIC_LINK( SfxInsertFloatingFrameDialog, CheckHdl, CheckBox*, pCB )
return 0L;
}
-//------------------------------------------------------------------------------
+
IMPL_STATIC_LINK( SfxInsertFloatingFrameDialog, OpenHdl, PushButton*, EMPTYARG )
{
diff --git a/cui/source/dialogs/multifil.cxx b/cui/source/dialogs/multifil.cxx
index 0eca236620c3..a0b10a2f973b 100644
--- a/cui/source/dialogs/multifil.cxx
+++ b/cui/source/dialogs/multifil.cxx
@@ -124,7 +124,7 @@ IMPL_LINK( SvxMultiFileDialog, AddHdl_Impl, PushButton *, pBtn )
return 0;
}
-// -----------------------------------------------------------------------
+
IMPL_LINK_NOARG(SvxMultiFileDialog, DelHdl_Impl)
{
@@ -143,7 +143,7 @@ IMPL_LINK_NOARG(SvxMultiFileDialog, DelHdl_Impl)
return 0;
}
-// -----------------------------------------------------------------------
+
SvxMultiFileDialog::SvxMultiFileDialog( Window* pParent, sal_Bool bEmptyAllowed ) :
@@ -157,7 +157,7 @@ SvxMultiFileDialog::SvxMultiFileDialog( Window* pParent, sal_Bool bEmptyAllowed
aDelBtn.Enable();
}
-// -----------------------------------------------------------------------
+
SvxMultiFileDialog::~SvxMultiFileDialog()
{
diff --git a/cui/source/dialogs/multipat.cxx b/cui/source/dialogs/multipat.cxx
index 1fa83cb323d4..21233dd573d9 100644
--- a/cui/source/dialogs/multipat.cxx
+++ b/cui/source/dialogs/multipat.cxx
@@ -65,7 +65,7 @@ IMPL_LINK_NOARG(SvxMultiPathDialog, SelectHdl_Impl)
return 0;
}
-// -----------------------------------------------------------------------
+
IMPL_LINK( SvxMultiPathDialog, CheckHdl_Impl, svx::SvxRadioButtonListBox *, pBox )
{
@@ -76,7 +76,7 @@ IMPL_LINK( SvxMultiPathDialog, CheckHdl_Impl, svx::SvxRadioButtonListBox *, pBox
return 0;
}
-// -----------------------------------------------------------------------
+
IMPL_LINK_NOARG(SvxMultiPathDialog, AddHdl_Impl)
{
@@ -128,7 +128,7 @@ IMPL_LINK_NOARG(SvxMultiPathDialog, AddHdl_Impl)
return 0;
}
-// -----------------------------------------------------------------------
+
IMPL_LINK_NOARG(SvxMultiPathDialog, DelHdl_Impl)
{
@@ -174,7 +174,7 @@ IMPL_LINK_NOARG(SvxMultiPathDialog, DelHdl_Impl)
return 0;
}
-// -----------------------------------------------------------------------
+
SvxMultiPathDialog::SvxMultiPathDialog( Window* pParent, sal_Bool bEmptyAllowed ) :
@@ -214,7 +214,7 @@ SvxMultiPathDialog::SvxMultiPathDialog( Window* pParent, sal_Bool bEmptyAllowed
aDelBtn.SetAccessibleRelationMemberOf(&aPathLB);
}
-// -----------------------------------------------------------------------
+
SvxMultiPathDialog::~SvxMultiPathDialog()
{
@@ -230,7 +230,7 @@ SvxMultiPathDialog::~SvxMultiPathDialog()
delete pImpl;
}
-// -----------------------------------------------------------------------
+
OUString SvxMultiPathDialog::GetPath() const
{
@@ -268,7 +268,7 @@ OUString SvxMultiPathDialog::GetPath() const
return sNewPath;
}
-// -----------------------------------------------------------------------
+
void SvxMultiPathDialog::SetPath( const OUString& rPath )
{
@@ -313,7 +313,7 @@ void SvxMultiPathDialog::SetPath( const OUString& rPath )
SelectHdl_Impl( NULL );
}
-// -----------------------------------------------------------------------
+
void SvxMultiPathDialog::SetClassPathMode()
{
@@ -322,14 +322,14 @@ void SvxMultiPathDialog::SetClassPathMode()
aPathFL.SetText( CUI_RES( RID_SVXSTR_ARCHIVE_HEADLINE ) );
}
-// -----------------------------------------------------------------------
+
sal_Bool SvxMultiPathDialog::IsClassPathMode() const
{
return pImpl->bIsClassPathMode;
}
-// -----------------------------------------------------------------------
+
void SvxMultiPathDialog::EnableRadioButtonMode()
{
diff --git a/cui/source/dialogs/postdlg.cxx b/cui/source/dialogs/postdlg.cxx
index e4ba4c047b6a..d430bdb75c45 100644
--- a/cui/source/dialogs/postdlg.cxx
+++ b/cui/source/dialogs/postdlg.cxx
@@ -121,7 +121,7 @@ SvxPostItDialog::SvxPostItDialog(Window* pParent, const SfxItemSet& rCoreSet,
SetText( get<FixedText>("alttitle")->GetText() );
}
-// -----------------------------------------------------------------------
+
SvxPostItDialog::~SvxPostItDialog()
{
@@ -129,7 +129,7 @@ SvxPostItDialog::~SvxPostItDialog()
pOutSet = 0;
}
-// -----------------------------------------------------------------------
+
void SvxPostItDialog::ShowLastAuthor(const OUString& rAuthor, const OUString& rDate)
{
@@ -139,7 +139,7 @@ void SvxPostItDialog::ShowLastAuthor(const OUString& rAuthor, const OUString& rD
m_pLastEditFT->SetText( sTxt );
}
-// -----------------------------------------------------------------------
+
sal_uInt16* SvxPostItDialog::GetRanges()
{
@@ -152,7 +152,7 @@ sal_uInt16* SvxPostItDialog::GetRanges()
return pRanges;
}
-// -----------------------------------------------------------------------
+
void SvxPostItDialog::EnableTravel(sal_Bool bNext, sal_Bool bPrev)
{
@@ -160,7 +160,7 @@ void SvxPostItDialog::EnableTravel(sal_Bool bNext, sal_Bool bPrev)
m_pNextBtn->Enable(bNext);
}
-// -----------------------------------------------------------------------
+
IMPL_LINK_NOARG_INLINE_START(SvxPostItDialog, PrevHdl)
{
@@ -169,7 +169,7 @@ IMPL_LINK_NOARG_INLINE_START(SvxPostItDialog, PrevHdl)
}
IMPL_LINK_NOARG_INLINE_END(SvxPostItDialog, PrevHdl)
-// -----------------------------------------------------------------------
+
IMPL_LINK_NOARG_INLINE_START(SvxPostItDialog, NextHdl)
{
@@ -178,7 +178,7 @@ IMPL_LINK_NOARG_INLINE_START(SvxPostItDialog, NextHdl)
}
IMPL_LINK_NOARG_INLINE_END(SvxPostItDialog, NextHdl)
-// -----------------------------------------------------------------------
+
IMPL_LINK_NOARG(SvxPostItDialog, Stamp)
{
@@ -208,7 +208,7 @@ IMPL_LINK_NOARG(SvxPostItDialog, Stamp)
return 0;
}
-// -----------------------------------------------------------------------
+
IMPL_LINK_NOARG(SvxPostItDialog, OKHdl)
{
diff --git a/cui/source/dialogs/scriptdlg.cxx b/cui/source/dialogs/scriptdlg.cxx
index b47fa2e4fa51..5b22625109ab 100644
--- a/cui/source/dialogs/scriptdlg.cxx
+++ b/cui/source/dialogs/scriptdlg.cxx
@@ -423,9 +423,9 @@ void SFTreeListBox::ExpandedHdl()
{
}
-// ----------------------------------------------------------------------------
+
// CuiInputDialog ------------------------------------------------------------
-// ----------------------------------------------------------------------------
+
CuiInputDialog::CuiInputDialog(Window * pParent, sal_uInt16 nMode )
: ModalDialog(pParent, "NewLibDialog",
"cui/ui/newlibdialog.ui")
@@ -451,9 +451,9 @@ CuiInputDialog::CuiInputDialog(Window * pParent, sal_uInt16 nMode )
}
}
-// ----------------------------------------------------------------------------
+
// ScriptOrgDialog ------------------------------------------------------------
-// ----------------------------------------------------------------------------
+
SvxScriptOrgDialog::SvxScriptOrgDialog( Window* pParent, OUString language )
: SfxModalDialog(pParent, "ScriptOrganizerDialog",
"cui/ui/scriptorganizer.ui")
diff --git a/cui/source/dialogs/showcols.cxx b/cui/source/dialogs/showcols.cxx
index d6d1ab001413..b16642e7b72f 100644
--- a/cui/source/dialogs/showcols.cxx
+++ b/cui/source/dialogs/showcols.cxx
@@ -34,7 +34,7 @@
// FmShowColsDialog
//==========================================================================
DBG_NAME(FmShowColsDialog)
-//--------------------------------------------------------------------------
+
FmShowColsDialog::FmShowColsDialog(Window* pParent)
: ModalDialog(pParent, "ShowColDialog", "cui/ui/showcoldialog.ui")
{
@@ -46,7 +46,7 @@ FmShowColsDialog::FmShowColsDialog(Window* pParent)
m_pOK->SetClickHdl( LINK( this, FmShowColsDialog, OnClickedOk ) );
}
-//--------------------------------------------------------------------------
+
IMPL_LINK_NOARG(FmShowColsDialog, OnClickedOk)
{
DBG_ASSERT(m_xColumns.is(), "FmShowColsDialog::OnClickedOk : you should call SetColumns before executing the dialog !");
@@ -74,7 +74,7 @@ IMPL_LINK_NOARG(FmShowColsDialog, OnClickedOk)
return 0L;
}
-//--------------------------------------------------------------------------
+
void FmShowColsDialog::SetColumns(const ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexContainer>& xCols)
{
DBG_ASSERT(xCols.is(), "FmShowColsDialog::SetColumns : invalid columns !");
diff --git a/cui/source/dialogs/srchxtra.cxx b/cui/source/dialogs/srchxtra.cxx
index 16a043428910..d13ce270845e 100644
--- a/cui/source/dialogs/srchxtra.cxx
+++ b/cui/source/dialogs/srchxtra.cxx
@@ -171,7 +171,7 @@ SvxSearchAttributeDialog::SvxSearchAttributeDialog(Window* pParent,
m_pAttrLB->SelectEntryPos( 0 );
}
-// -----------------------------------------------------------------------
+
IMPL_LINK_NOARG(SvxSearchAttributeDialog, OKHdl)
{
diff --git a/cui/source/dialogs/zoom.cxx b/cui/source/dialogs/zoom.cxx
index 019e43c0b46b..e369d03ef2fa 100644
--- a/cui/source/dialogs/zoom.cxx
+++ b/cui/source/dialogs/zoom.cxx
@@ -48,7 +48,7 @@ sal_uInt16 SvxZoomDialog::GetFactor() const
return SPECIAL_FACTOR;
}
-// -----------------------------------------------------------------------
+
void SvxZoomDialog::SetFactor( sal_uInt16 nNewFactor, sal_uInt16 nBtnId )
{
@@ -91,7 +91,7 @@ void SvxZoomDialog::SetFactor( sal_uInt16 nNewFactor, sal_uInt16 nBtnId )
}
}
-// -----------------------------------------------------------------------
+
void SvxZoomDialog::HideButton( sal_uInt16 nBtnId )
{
@@ -114,7 +114,7 @@ void SvxZoomDialog::HideButton( sal_uInt16 nBtnId )
}
}
-// -----------------------------------------------------------------------
+
void SvxZoomDialog::SetLimits( sal_uInt16 nMin, sal_uInt16 nMax )
{
@@ -125,7 +125,7 @@ void SvxZoomDialog::SetLimits( sal_uInt16 nMin, sal_uInt16 nMax )
m_pUserEdit->SetLast( nMax );
}
-// -----------------------------------------------------------------------
+
SvxZoomDialog::SvxZoomDialog( Window* pParent, const SfxItemSet& rCoreSet )
: SfxModalDialog(pParent, "ZoomDialog", "cui/ui/zoomdialog.ui")
@@ -285,7 +285,7 @@ SvxZoomDialog::SvxZoomDialog( Window* pParent, const SfxItemSet& rCoreSet )
}
}
-// -----------------------------------------------------------------------
+
SvxZoomDialog::~SvxZoomDialog()
{
@@ -293,7 +293,7 @@ SvxZoomDialog::~SvxZoomDialog()
pOutSet = 0;
}
-// -----------------------------------------------------------------------
+
IMPL_LINK( SvxZoomDialog, UserHdl, RadioButton *, pBtn )
{
@@ -309,7 +309,7 @@ IMPL_LINK( SvxZoomDialog, UserHdl, RadioButton *, pBtn )
return 0;
}
-// -----------------------------------------------------------------------
+
IMPL_LINK_NOARG(SvxZoomDialog, SpinHdl)
{
@@ -319,7 +319,7 @@ IMPL_LINK_NOARG(SvxZoomDialog, SpinHdl)
return 0;
}
-// -----------------------------------------------------------------------
+
IMPL_LINK( SvxZoomDialog, ViewLayoutUserHdl, RadioButton *, pBtn )
{
@@ -351,7 +351,7 @@ IMPL_LINK( SvxZoomDialog, ViewLayoutUserHdl, RadioButton *, pBtn )
return 0;
}
-// -----------------------------------------------------------------------
+
IMPL_LINK( SvxZoomDialog, ViewLayoutSpinHdl, NumericField *, pEdt )
{
@@ -371,7 +371,7 @@ IMPL_LINK( SvxZoomDialog, ViewLayoutSpinHdl, NumericField *, pEdt )
return 0;
}
-// -----------------------------------------------------------------------
+
IMPL_LINK( SvxZoomDialog, ViewLayoutCheckHdl, CheckBox *, pChk )
{
@@ -383,7 +383,7 @@ IMPL_LINK( SvxZoomDialog, ViewLayoutCheckHdl, CheckBox *, pChk )
return 0;
}
-// -----------------------------------------------------------------------
+
IMPL_LINK( SvxZoomDialog, OKHdl, Button *, pBtn )
{