This patch removes bogus comments found in the envprt.cxx file Signed-off-by: Prashant Shah <pshah.mum...@gmail.com> --- sw/source/ui/envelp/envprt.cxx | 44 ---------------------------------------- 1 files changed, 0 insertions(+), 44 deletions(-)
diff --git a/sw/source/ui/envelp/envprt.cxx b/sw/source/ui/envelp/envprt.cxx index b7c155a..08348c6 100644 --- a/sw/source/ui/envelp/envprt.cxx +++ b/sw/source/ui/envelp/envprt.cxx @@ -44,10 +44,6 @@ #include "envprt.hrc" - - - - SwEnvPrtPage::SwEnvPrtPage(Window* pParent, const SfxItemSet& rSet) : SfxTabPage(pParent, SW_RES(TP_ENV_PRT), rSet), @@ -90,18 +86,10 @@ SwEnvPrtPage::SwEnvPrtPage(Window* pParent, const SfxItemSet& rSet) : } -// -------------------------------------------------------------------------- - - - SwEnvPrtPage::~SwEnvPrtPage() { } -// -------------------------------------------------------------------------- - - - IMPL_LINK( SwEnvPrtPage, ClickHdl, Button *, EMPTYARG ) { sal_Bool bHC = GetSettings().GetStyleSettings().GetHighContrastMode(); @@ -128,10 +116,6 @@ IMPL_LINK( SwEnvPrtPage, ClickHdl, Button *, EMPTYARG ) return 0; } -// -------------------------------------------------------------------------- - - - IMPL_LINK( SwEnvPrtPage, ButtonHdl, Button *, pBtn ) { if (pBtn == &aPrtSetup) @@ -150,10 +134,6 @@ IMPL_LINK( SwEnvPrtPage, ButtonHdl, Button *, pBtn ) return 0; } -// -------------------------------------------------------------------------- - - - IMPL_LINK( SwEnvPrtPage, AlignHdl, ToolBox *, EMPTYARG ) { if (aAlignBox.GetCurItemId()) @@ -171,29 +151,17 @@ IMPL_LINK( SwEnvPrtPage, AlignHdl, ToolBox *, EMPTYARG ) return 0; } -// -------------------------------------------------------------------------- - - - SfxTabPage* SwEnvPrtPage::Create(Window* pParent, const SfxItemSet& rSet) { return new SwEnvPrtPage(pParent, rSet); } -// -------------------------------------------------------------------------- - - - void SwEnvPrtPage::ActivatePage(const SfxItemSet&) { if (pPrt) aPrinterInfo.SetText(pPrt->GetName()); } -// -------------------------------------------------------------------------- - - - int SwEnvPrtPage::DeactivatePage(SfxItemSet* _pSet) { if( _pSet ) @@ -201,10 +169,6 @@ int SwEnvPrtPage::DeactivatePage(SfxItemSet* _pSet) return SfxTabPage::LEAVE_PAGE; } -// -------------------------------------------------------------------------- - - - void SwEnvPrtPage::FillItem(SwEnvItem& rItem) { USHORT nID = 0; @@ -218,10 +182,6 @@ void SwEnvPrtPage::FillItem(SwEnvItem& rItem) rItem.lShiftDown = static_cast< sal_Int32 >(GetFldVal(aDownField )); } -// -------------------------------------------------------------------------- - - - BOOL SwEnvPrtPage::FillItemSet(SfxItemSet& rSet) { FillItem(GetParent()->aEnvItem); @@ -229,10 +189,6 @@ BOOL SwEnvPrtPage::FillItemSet(SfxItemSet& rSet) return TRUE; } -// ---------------------------------------------------------------------------- - - - void SwEnvPrtPage::Reset(const SfxItemSet& rSet) { // SfxItemSet aSet(rSet);
_______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice