Date: prev next · Thread: first prev next last
2010 Archives by date, by thread · List index



This patch removes bogus comments found in the envlop1.cxx file

Signed-off-by: Prashant Shah <pshah.mumbai@gmail.com>
---
 sw/source/ui/envelp/envlop1.cxx |   71 ---------------------------------------
 1 files changed, 0 insertions(+), 71 deletions(-)

diff --git a/sw/source/ui/envelp/envlop1.cxx b/sw/source/ui/envelp/envlop1.cxx
index 12b0f1f..0341708 100644
--- a/sw/source/ui/envelp/envlop1.cxx
+++ b/sw/source/ui/envelp/envlop1.cxx
@@ -65,8 +65,6 @@ using namespace ::rtl;
 //impl in envimg.cxx
 extern SW_DLLPUBLIC String MakeSender();
 
-// --------------------------------------------------------------------------
-
 SwEnvPreview::SwEnvPreview(SfxTabPage* pParent, const ResId& rResID) :
 
     Window(pParent, rResID)
@@ -75,15 +73,10 @@ SwEnvPreview::SwEnvPreview(SfxTabPage* pParent, const ResId& rResID) :
     SetMapMode(MapMode(MAP_PIXEL));
 }
 
-// --------------------------------------------------------------------------
-
-
-
 SwEnvPreview::~SwEnvPreview()
 {
 }
 
-// ----------------------------------------------------------------------------
 void SwEnvPreview::DataChanged( const DataChangedEvent& rDCEvt )
 {
     Window::DataChanged( rDCEvt );
@@ -91,8 +84,6 @@ void SwEnvPreview::DataChanged( const DataChangedEvent& rDCEvt )
         SetBackground( GetSettings().GetStyleSettings().GetDialogColor() );
 }
 
-// ----------------------------------------------------------------------------
-
 void SwEnvPreview::Paint(const Rectangle &)
 {
     const StyleSettings& rSettings = GetSettings().GetStyleSettings();
@@ -154,10 +145,6 @@ void SwEnvPreview::Paint(const Rectangle &)
     DrawRect(Rectangle(Point(nStmpX, nStmpY), Size(nStmpW, nStmpH)));
 }
 
-// --------------------------------------------------------------------------
-
-
-
 SwEnvDlg::SwEnvDlg(Window* pParent, const SfxItemSet& rSet,
                     SwWrtShell* pWrtSh, Printer* pPrt, BOOL bInsert) :
 
@@ -186,20 +173,12 @@ SwEnvDlg::SwEnvDlg(Window* pParent, const SfxItemSet& rSet,
     AddTabPage(TP_ENV_PRT, SwEnvPrtPage::Create, 0);
 }
 
-// --------------------------------------------------------------------------
-
-
-
 SwEnvDlg::~SwEnvDlg()
 {
     delete pAddresseeSet;
     delete pSenderSet;
 }
 
-// --------------------------------------------------------------------------
-
-
-
 void SwEnvDlg::PageCreated(USHORT nId, SfxTabPage &rPage)
 {
     if (nId == TP_ENV_PRT)
@@ -208,8 +187,6 @@ void SwEnvDlg::PageCreated(USHORT nId, SfxTabPage &rPage)
     }
 }
 
-// --------------------------------------------------------------------------
-
 short SwEnvDlg::Ok()
 {
     short nRet = SfxTabDialog::Ok();
@@ -231,10 +208,6 @@ short SwEnvDlg::Ok()
     return nRet;
 }
 
-// --------------------------------------------------------------------------
-
-
-
 SwEnvPage::SwEnvPage(Window* pParent, const SfxItemSet& rSet) :
 
     SfxTabPage(pParent, SW_RES(TP_ENV_ENV), rSet),
@@ -271,18 +244,10 @@ SwEnvPage::SwEnvPage(Window* pParent, const SfxItemSet& rSet) :
     InitDatabaseBox();
 }
 
-// --------------------------------------------------------------------------
-
-
-
 SwEnvPage::~SwEnvPage()
 {
 }
 
-// --------------------------------------------------------------------------
-
-
-
 IMPL_LINK( SwEnvPage, DatabaseHdl, ListBox *, pListBox )
 {
     SwWait aWait( *pSh->GetView().GetDocShell(), TRUE );
@@ -300,10 +265,6 @@ IMPL_LINK( SwEnvPage, DatabaseHdl, ListBox *, pListBox )
     return 0;
 }
 
-// --------------------------------------------------------------------------
-
-
-
 IMPL_LINK( SwEnvPage, FieldHdl, Button *, EMPTYARG )
 {
     String aStr ( '<' );
@@ -324,10 +285,6 @@ IMPL_LINK( SwEnvPage, FieldHdl, Button *, EMPTYARG )
     return 0;
 }
 
-// --------------------------------------------------------------------------
-
-
-
 IMPL_LINK( SwEnvPage, SenderHdl, Button *, EMPTYARG )
 {
     const BOOL bEnable = aSenderBox.IsChecked();
@@ -343,10 +300,6 @@ IMPL_LINK( SwEnvPage, SenderHdl, Button *, EMPTYARG )
     return 0;
 }
 
-// --------------------------------------------------------------------------
-
-
-
 void SwEnvPage::InitDatabaseBox()
 {
     if (pSh->GetNewDBMgr())
@@ -371,19 +324,11 @@ void SwEnvPage::InitDatabaseBox()
     }
 }
 
-// --------------------------------------------------------------------------
-
-
-
 SfxTabPage* SwEnvPage::Create(Window* pParent, const SfxItemSet& rSet)
 {
     return new SwEnvPage(pParent, rSet);
 }
 
-// --------------------------------------------------------------------------
-
-
-
 void SwEnvPage::ActivatePage(const SfxItemSet& rSet)
 {
     SfxItemSet aSet(rSet);
@@ -391,10 +336,6 @@ void SwEnvPage::ActivatePage(const SfxItemSet& rSet)
     Reset(aSet);
 }
 
-// --------------------------------------------------------------------------
-
-
-
 int SwEnvPage::DeactivatePage(SfxItemSet* _pSet)
 {
     FillItem(GetParent()->aEnvItem);
@@ -403,10 +344,6 @@ int SwEnvPage::DeactivatePage(SfxItemSet* _pSet)
     return SfxTabPage::LEAVE_PAGE;
 }
 
-// --------------------------------------------------------------------------
-
-
-
 void SwEnvPage::FillItem(SwEnvItem& rItem)
 {
     rItem.aAddrText = aAddrEdit  .GetText();
@@ -414,10 +351,6 @@ void SwEnvPage::FillItem(SwEnvItem& rItem)
     rItem.aSendText = aSenderEdit.GetText();
 }
 
-// --------------------------------------------------------------------------
-
-
-
 BOOL SwEnvPage::FillItemSet(SfxItemSet& rSet)
 {
     FillItem(GetParent()->aEnvItem);
@@ -425,10 +358,6 @@ BOOL SwEnvPage::FillItemSet(SfxItemSet& rSet)
     return TRUE;
 }
 
-// ----------------------------------------------------------------------------
-
-
-
 void SwEnvPage::Reset(const SfxItemSet& rSet)
 {
     SwEnvItem aItem = (const SwEnvItem&) rSet.Get(FN_ENVELOP);

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.