diff options
author | Chris Laplante <mostthingsweb@gmail.com> | 2014-04-21 19:28:47 -0400 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2014-04-24 04:39:51 +0000 |
commit | ba39f1bf9b29f58b7593f01d552a4f1a42a637cb (patch) | |
tree | ab251de2ca0dbb92ab843bfa73c674adebb0ebf5 /sw/source/ui/chrdlg | |
parent | bff954c0c4e5f9acf18bfd9ae796bc5a937b7ff6 (diff) |
Finish cleaning up ASCII art in the sw module
Change-Id: If4f11093b791902514dee8e216c92f66b075211d
Reviewed-on: https://gerrit.libreoffice.org/9117
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
Diffstat (limited to 'sw/source/ui/chrdlg')
-rw-r--r-- | sw/source/ui/chrdlg/drpcps.cxx | 39 | ||||
-rw-r--r-- | sw/source/ui/chrdlg/swuiccoll.cxx | 16 |
2 files changed, 1 insertions, 54 deletions
diff --git a/sw/source/ui/chrdlg/drpcps.cxx b/sw/source/ui/chrdlg/drpcps.cxx index 513b8d905ee9..8a3cc7c90e39 100644 --- a/sw/source/ui/chrdlg/drpcps.cxx +++ b/sw/source/ui/chrdlg/drpcps.cxx @@ -54,8 +54,6 @@ using namespace css; using namespace css::uno; using namespace css::lang; -// Globals ****************************************************************** - static sal_uInt16 aPageRg[] = { RES_PARATR_DROP, RES_PARATR_DROP, 0 @@ -181,10 +179,7 @@ void SwDropCapsPict::InitPrinter( void ) _InitPrinter(); } -/**************************************************************************** - Create Default-String from character-count (A, AB, ABC, ...) -****************************************************************************/ - +// Create Default-String from character-count (A, AB, ABC, ...) OUString GetDefaultString(sal_uInt16 nChars) { OUString aStr; @@ -341,10 +336,6 @@ void SwDropCapsPict::UpdatePaintSettings( void ) Invalidate(); } -/**************************************************************************** -Pict: Paint-Overload -****************************************************************************/ - void SwDropCapsPict::Paint(const Rectangle &/*rRect*/) { if (!IsVisible()) @@ -588,20 +579,12 @@ int SwDropCapsPage::DeactivatePage(SfxItemSet * _pSet) return LEAVE_PAGE; } -/**************************************************************************** -Page: Factory -****************************************************************************/ - SfxTabPage* SwDropCapsPage::Create(Window *pParent, const SfxItemSet &rSet) { return new SwDropCapsPage(pParent, rSet); } -/**************************************************************************** -Page: FillItemSet-Overload -****************************************************************************/ - bool SwDropCapsPage::FillItemSet(SfxItemSet &rSet) { if(bModified) @@ -609,10 +592,6 @@ bool SwDropCapsPage::FillItemSet(SfxItemSet &rSet) return bModified; } -/**************************************************************************** -Page: Reset-Overload -****************************************************************************/ - void SwDropCapsPage::Reset(const SfxItemSet &rSet) { // Characters, lines, gap and text @@ -661,10 +640,6 @@ void SwDropCapsPage::Reset(const SfxItemSet &rSet) bModified = sal_False; } -/**************************************************************************** -Page: CheckBox's Click-Handler -****************************************************************************/ - IMPL_LINK_NOARG(SwDropCapsPage, ClickHdl) { sal_Bool bChecked = m_pDropCapsBox->IsChecked(); @@ -695,10 +670,6 @@ IMPL_LINK_NOARG(SwDropCapsPage, ClickHdl) return 0; } -/**************************************************************************** -Page: CheckBox's Click-Handler -****************************************************************************/ - IMPL_LINK_NOARG(SwDropCapsPage, WholeWordHdl) { m_pDropCapsField->Enable( !m_pWholeWordCB->IsChecked() ); @@ -711,10 +682,6 @@ IMPL_LINK_NOARG(SwDropCapsPage, WholeWordHdl) return 0; } -/**************************************************************************** -Page: SpinFields' Modify-Handler -****************************************************************************/ - IMPL_LINK( SwDropCapsPage, ModifyHdl, Edit *, pEdit ) { OUString sPreview; @@ -770,10 +737,6 @@ IMPL_LINK( SwDropCapsPage, ModifyHdl, Edit *, pEdit ) return 0; } -/**************************************************************************** -Page: Template-Box' Select-Handler. -*****************************************************************************/ - IMPL_LINK_NOARG_INLINE_START(SwDropCapsPage, SelectHdl) { m_pPict->UpdatePaintSettings(); diff --git a/sw/source/ui/chrdlg/swuiccoll.cxx b/sw/source/ui/chrdlg/swuiccoll.cxx index 6a85aa051dc4..cc09b4069bc1 100644 --- a/sw/source/ui/chrdlg/swuiccoll.cxx +++ b/sw/source/ui/chrdlg/swuiccoll.cxx @@ -122,10 +122,6 @@ SwCondCollPage::SwCondCollPage(Window *pParent, const SfxItemSet &rSet) } -/**************************************************************************** -Page: Dtor -****************************************************************************/ - SwCondCollPage::~SwCondCollPage() { for(sal_uInt16 i = 0; i < m_pFilterLB->GetEntryCount(); ++i) @@ -141,19 +137,11 @@ int SwCondCollPage::DeactivatePage(SfxItemSet * _pSet) return LEAVE_PAGE; } -/**************************************************************************** -Page: Factory -****************************************************************************/ - SfxTabPage* SwCondCollPage::Create(Window *pParent, const SfxItemSet &rSet) { return new SwCondCollPage(pParent, rSet); } -/**************************************************************************** -Page: FillItemSet-Overload -****************************************************************************/ - bool SwCondCollPage::FillItemSet(SfxItemSet &rSet) { sal_Bool bModified = sal_True; @@ -167,10 +155,6 @@ bool SwCondCollPage::FillItemSet(SfxItemSet &rSet) return bModified; } -/**************************************************************************** -Page: Reset-Overload -****************************************************************************/ - void SwCondCollPage::Reset(const SfxItemSet &/*rSet*/) { if(bNewTemplate) |