This patch removes bogus comments found in the envfmt.cxx file
Signed-off-by: Prashant Shah <pshah.mumbai@gmail.com>
---
sw/source/ui/envelp/envfmt.cxx | 36 ------------------------------------
1 files changed, 0 insertions(+), 36 deletions(-)
diff --git a/sw/source/ui/envelp/envfmt.cxx b/sw/source/ui/envelp/envfmt.cxx
index d723b10..3066c72 100644
--- a/sw/source/ui/envelp/envfmt.cxx
+++ b/sw/source/ui/envelp/envfmt.cxx
@@ -78,9 +78,6 @@ static PopupMenu *pMenu;
static long lUserW = 5669; // 10 cm
static long lUserH = 5669; // 10 cm
-// --------------------------------------------------------------------------
-
-
SwEnvFmtPage::SwEnvFmtPage(Window* pParent, const SfxItemSet& rSet) :
SfxTabPage(pParent, SW_RES(TP_ENV_FMT), rSet),
@@ -186,9 +183,6 @@ SwEnvFmtPage::SwEnvFmtPage(Window* pParent, const SfxItemSet& rSet) :
}
-// --------------------------------------------------------------------------
-
-
__EXPORT SwEnvFmtPage::~SwEnvFmtPage()
{
aAddrEditButton.SetPopupMenu(0);
@@ -196,9 +190,6 @@ __EXPORT SwEnvFmtPage::~SwEnvFmtPage()
delete ::pMenu;
}
-// --------------------------------------------------------------------------
-
-
IMPL_LINK_INLINE_START( SwEnvFmtPage, ModifyHdl, Edit *, pEdit )
{
long lWVal = static_cast< long >(GetFldVal(aSizeWidthField ));
@@ -234,9 +225,6 @@ IMPL_LINK_INLINE_START( SwEnvFmtPage, ModifyHdl, Edit *, pEdit )
}
IMPL_LINK_INLINE_END( SwEnvFmtPage, ModifyHdl, Edit *, pEdit )
-// --------------------------------------------------------------------------
-
-
IMPL_LINK( SwEnvFmtPage, EditHdl, MenuButton *, pButton )
{
SwWrtShell* pSh = GetParent()->pSh;
@@ -438,9 +426,6 @@ SfxItemSet *SwEnvFmtPage::GetCollItemSet(SwTxtFmtColl* pColl, BOOL bSender)
return pAddrSet;
}
-// --------------------------------------------------------------------------
-
-
IMPL_LINK( SwEnvFmtPage, FormatHdl, ListBox *, EMPTYARG )
{
long lWidth;
@@ -483,9 +468,6 @@ IMPL_LINK( SwEnvFmtPage, FormatHdl, ListBox *, EMPTYARG )
return 0;
}
-// --------------------------------------------------------------------------
-
-
void SwEnvFmtPage::SetMinMax()
{
long lWVal = static_cast< long >(GetFldVal(aSizeWidthField ));
@@ -523,17 +505,11 @@ void SwEnvFmtPage::SetMinMax()
aSizeHeightField.Reformat();
}
-// --------------------------------------------------------------------------
-
-
SfxTabPage* __EXPORT SwEnvFmtPage::Create(Window* pParent, const SfxItemSet& rSet)
{
return new SwEnvFmtPage(pParent, rSet);
}
-// ----------------------------------------------------------------------------
-
-
void __EXPORT SwEnvFmtPage::ActivatePage(const SfxItemSet& rSet)
{
SfxItemSet aSet(rSet);
@@ -541,9 +517,6 @@ void __EXPORT SwEnvFmtPage::ActivatePage(const SfxItemSet& rSet)
Reset(aSet);
}
-// ----------------------------------------------------------------------------
-
-
int __EXPORT SwEnvFmtPage::DeactivatePage(SfxItemSet* _pSet)
{
if( _pSet )
@@ -551,9 +524,6 @@ int __EXPORT SwEnvFmtPage::DeactivatePage(SfxItemSet* _pSet)
return SfxTabPage::LEAVE_PAGE;
}
-// --------------------------------------------------------------------------
-
-
void SwEnvFmtPage::FillItem(SwEnvItem& rItem)
{
rItem.lAddrFromLeft = static_cast< sal_Int32 >(GetFldVal(aAddrLeftField));
@@ -578,9 +548,6 @@ void SwEnvFmtPage::FillItem(SwEnvItem& rItem)
}
}
-// --------------------------------------------------------------------------
-
-
BOOL __EXPORT SwEnvFmtPage::FillItemSet(SfxItemSet& rSet)
{
FillItem(GetParent()->aEnvItem);
@@ -588,9 +555,6 @@ BOOL __EXPORT SwEnvFmtPage::FillItemSet(SfxItemSet& rSet)
return TRUE;
}
-// --------------------------------------------------------------------------
-
-
void __EXPORT SwEnvFmtPage::Reset(const SfxItemSet& rSet)
{
const SwEnvItem& rItem = (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.