summaryrefslogtreecommitdiff
path: root/cui/source/tabpages/autocdlg.cxx
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2012-08-07 15:30:37 +0200
committerThomas Arnhold <thomas@arnhold.org>2012-08-07 18:08:29 +0200
commitadc49a81e940cb84724288a4453b6711f283219f (patch)
treedc86287afb936e3459bc9217480884ab5bd48ea2 /cui/source/tabpages/autocdlg.cxx
parent7435558847c7bbe9160e0ca6fb1a6115a34555fe (diff)
remove empty ascii boxes and stuff
Change-Id: Ied91b5b298f0cfad0d3408c3cbb87c7bd1b83247
Diffstat (limited to 'cui/source/tabpages/autocdlg.cxx')
-rw-r--r--cui/source/tabpages/autocdlg.cxx55
1 files changed, 0 insertions, 55 deletions
diff --git a/cui/source/tabpages/autocdlg.cxx b/cui/source/tabpages/autocdlg.cxx
index b770c8c19341..0fb65f24ef47 100644
--- a/cui/source/tabpages/autocdlg.cxx
+++ b/cui/source/tabpages/autocdlg.cxx
@@ -346,11 +346,6 @@ public:
SvLBoxEntry* pEntry);
};
-/*********************************************************************/
-/* */
-/*********************************************************************/
-
-
void OfaImpBrwString::Paint( const Point& rPos, SvLBox& rDev, sal_uInt16 /*nFlags*/,
SvLBoxEntry* pEntry )
{
@@ -483,10 +478,6 @@ OfaSwAutoFmtOptionsPage::OfaSwAutoFmtOptionsPage( Window* pParent,
aEditPB.SetClickHdl(LINK(this, OfaSwAutoFmtOptionsPage, EditHdl));
}
-/*********************************************************************/
-/* */
-/*********************************************************************/
-
SvLBoxEntry* OfaSwAutoFmtOptionsPage::CreateEntry(String& rTxt, sal_uInt16 nCol)
{
SvLBoxEntry* pEntry = new SvLBoxEntry;
@@ -514,11 +505,6 @@ SvLBoxEntry* OfaSwAutoFmtOptionsPage::CreateEntry(String& rTxt, sal_uInt16 nCol)
return pEntry;
}
-/*********************************************************************/
-/* */
-/*********************************************************************/
-
-
OfaSwAutoFmtOptionsPage::~OfaSwAutoFmtOptionsPage()
{
delete (ImpUserData*) aCheckLB.GetUserData( REPLACE_BULLETS );
@@ -527,20 +513,12 @@ OfaSwAutoFmtOptionsPage::~OfaSwAutoFmtOptionsPage()
delete pCheckButtonData;
}
-/*********************************************************************/
-/* */
-/*********************************************************************/
-
SfxTabPage* OfaSwAutoFmtOptionsPage::Create( Window* pParent,
const SfxItemSet& rAttrSet)
{
return new OfaSwAutoFmtOptionsPage(pParent, rAttrSet);
}
-/*********************************************************************/
-/* */
-/*********************************************************************/
-
sal_Bool OfaSwAutoFmtOptionsPage::FillItemSet( SfxItemSet& )
{
sal_Bool bModified = sal_False;
@@ -662,11 +640,6 @@ void OfaSwAutoFmtOptionsPage::ActivatePage( const SfxItemSet& )
((OfaAutoCorrDlg*)GetTabDialog())->EnableLanguage(sal_False);
}
-/*********************************************************************/
-/* */
-/*********************************************************************/
-
-
void OfaSwAutoFmtOptionsPage::Reset( const SfxItemSet& )
{
SvxAutoCorrect* pAutoCorrect = SvxAutoCorrCfg::Get().GetAutoCorrect();
@@ -747,20 +720,12 @@ void OfaSwAutoFmtOptionsPage::Reset( const SfxItemSet& )
aCheckLB.SetUpdateMode(sal_True);
}
-/*********************************************************************/
-/* */
-/*********************************************************************/
-
IMPL_LINK(OfaSwAutoFmtOptionsPage, SelectHdl, OfaACorrCheckListBox*, pBox)
{
aEditPB.Enable(0 != pBox->FirstSelected()->GetUserData());
return 0;
}
-/*********************************************************************/
-/* */
-/*********************************************************************/
-
IMPL_LINK_NOARG(OfaSwAutoFmtOptionsPage, EditHdl)
{
sal_uLong nSelEntryPos = aCheckLB.GetSelectEntryPos();
@@ -799,10 +764,6 @@ IMPL_LINK_NOARG(OfaSwAutoFmtOptionsPage, EditHdl)
return 0;
}
-/*********************************************************************/
-/* */
-/*********************************************************************/
-
void OfaACorrCheckListBox::SetTabs()
{
SvxSimpleTable::SetTabs();
@@ -822,10 +783,6 @@ void OfaACorrCheckListBox::SetTabs()
}
}
-/*********************************************************************/
-/* */
-/*********************************************************************/
-
void OfaACorrCheckListBox::CheckEntryPos(sal_uLong nPos, sal_uInt16 nCol, sal_Bool bChecked)
{
if ( nPos < GetEntryCount() )
@@ -836,19 +793,11 @@ void OfaACorrCheckListBox::CheckEntryPos(sal_uLong nPos, sal_uInt16 nCol, sal_Bo
SvButtonState( SV_BUTTON_UNCHECKED ) );
}
-/*********************************************************************/
-/* */
-/*********************************************************************/
-
sal_Bool OfaACorrCheckListBox::IsChecked(sal_uLong nPos, sal_uInt16 nCol)
{
return GetCheckButtonState( GetEntry(nPos), nCol ) == SV_BUTTON_CHECKED;
}
-/*********************************************************************/
-/* */
-/*********************************************************************/
-
void OfaACorrCheckListBox::SetCheckButtonState( SvLBoxEntry* pEntry, sal_uInt16 nCol, SvButtonState eState)
{
SvLBoxButton* pItem = (SvLBoxButton*)(pEntry->GetItem(nCol + 1));
@@ -874,10 +823,6 @@ void OfaACorrCheckListBox::SetCheckButtonState( SvLBoxEntry* pEntry, sal_uInt16
}
}
-/*********************************************************************/
-/* */
-/*********************************************************************/
-
SvButtonState OfaACorrCheckListBox::GetCheckButtonState( SvLBoxEntry* pEntry, sal_uInt16 nCol ) const
{
SvButtonState eState = SV_BUTTON_UNCHECKED;