From 0ce0c369aa8880dff9fe874ba85ec6f52ee37ddf Mon Sep 17 00:00:00 2001 From: Alexander Wilms Date: Sat, 22 Feb 2014 21:20:15 +0100 Subject: Remove unneccessary comments MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb Reviewed-on: https://gerrit.libreoffice.org/8182 Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- padmin/source/adddlg.cxx | 14 +++++++------- padmin/source/pamain.cxx | 6 +++--- padmin/source/prtsetup.cxx | 40 ++++++++++++++++++++-------------------- padmin/source/titlectrl.cxx | 12 ++++++------ 4 files changed, 36 insertions(+), 36 deletions(-) (limited to 'padmin') diff --git a/padmin/source/adddlg.cxx b/padmin/source/adddlg.cxx index 8943f367cf07..122a2b788732 100644 --- a/padmin/source/adddlg.cxx +++ b/padmin/source/adddlg.cxx @@ -93,7 +93,7 @@ void APChooseDevicePage::fill( PrinterInfo& rInfo ) rInfo.m_aFeatures = ""; } -//-------------------------------------------------------------------- + APChooseDriverPage::APChooseDriverPage( AddPrinterDialog* pParent ) : APTabPage( pParent, PaResId( RID_ADDP_PAGE_CHOOSEDRIVER ) ), @@ -304,7 +304,7 @@ IMPL_LINK( APChooseDriverPage, ClickBtnHdl, PushButton*, pButton ) return 0; } -//-------------------------------------------------------------------- + APNamePage::APNamePage( AddPrinterDialog* pParent, const OUString& rInitName, DeviceKind::type eKind ) : APTabPage( pParent, PaResId( RID_ADDP_PAGE_NAME ) ), @@ -352,7 +352,7 @@ void APNamePage::fill( PrinterInfo& rInfo ) rInfo.m_aPrinterName = m_aNameEdt.GetText(); } -//-------------------------------------------------------------------- + APCommandPage::APCommandPage( AddPrinterDialog* pParent, DeviceKind::type eKind ) : APTabPage( pParent, PaResId( RID_ADDP_PAGE_COMMAND ) ), @@ -468,7 +468,7 @@ void APCommandPage::fill( PrinterInfo& rInfo ) rInfo.m_aCommand = m_aCommandBox.GetText(); } -//-------------------------------------------------------------------- + APOldPrinterPage::APOldPrinterPage( AddPrinterDialog* pParent ) : APTabPage( pParent, PaResId( RID_ADDP_PAGE_OLDPRINTERS ) ), @@ -656,7 +656,7 @@ void APOldPrinterPage::fill( PrinterInfo& ) { } -//-------------------------------------------------------------------- + APFaxDriverPage::APFaxDriverPage( AddPrinterDialog* pParent ) : APTabPage( pParent, PaResId( RID_ADDP_PAGE_FAXDRIVER ) ), @@ -688,7 +688,7 @@ void APFaxDriverPage::fill( PrinterInfo& rInfo ) } } -//-------------------------------------------------------------------- + APPdfDriverPage::APPdfDriverPage( AddPrinterDialog* pParent ) : APTabPage( pParent, PaResId( RID_ADDP_PAGE_PDFDRIVER ) ), @@ -722,7 +722,7 @@ void APPdfDriverPage::fill( PrinterInfo& rInfo ) rInfo.m_aDriverName = "ADISTILL"; } -//-------------------------------------------------------------------- + AddPrinterDialog::AddPrinterDialog( Window* pParent ) : ModalDialog( pParent, PaResId( RID_ADD_PRINTER_DIALOG ) ), diff --git a/padmin/source/pamain.cxx b/padmin/source/pamain.cxx index 2ed6b5bb7715..68937760558b 100644 --- a/padmin/source/pamain.cxx +++ b/padmin/source/pamain.cxx @@ -66,7 +66,7 @@ OUString MyApp::ReadStringHook( const OUString& rStr ) }; -// ----------------------------------------------------------------------- + sal_uInt16 MyApp::Exception( sal_uInt16 nError ) { @@ -85,9 +85,9 @@ int MyApp::Main() EnableAutoHelpId(); - //------------------------------------------------- + // create the global service-manager - //------------------------------------------------- + Reference< XComponentContext > xCtx; Reference< XMultiServiceFactory > xFactory; try diff --git a/padmin/source/prtsetup.cxx b/padmin/source/prtsetup.cxx index 67ab55740003..9e4d6ccee07a 100644 --- a/padmin/source/prtsetup.cxx +++ b/padmin/source/prtsetup.cxx @@ -68,7 +68,7 @@ void RTSDialog::insertAllPPDValues( ListBox& rBox, const PPDParser* pParser, con rBox.SelectEntry( m_aInvalidString ); } -// -------------------------------------------------------------------------- + /* * RTSDialog @@ -108,7 +108,7 @@ RTSDialog::RTSDialog( const PrinterInfo& rJobData, const OUString& rPrinter, boo ActivatePage(m_pTabControl); } -// -------------------------------------------------------------------------- + RTSDialog::~RTSDialog() { @@ -118,7 +118,7 @@ RTSDialog::~RTSDialog() delete m_pCommandPage; } -// -------------------------------------------------------------------------- + IMPL_LINK( RTSDialog, ActivatePage, TabControl*, pTabCtrl ) { @@ -152,7 +152,7 @@ IMPL_LINK( RTSDialog, ActivatePage, TabControl*, pTabCtrl ) return 0; } -// -------------------------------------------------------------------------- + IMPL_LINK( RTSDialog, ClickButton, Button*, pButton ) { @@ -187,7 +187,7 @@ IMPL_LINK( RTSDialog, ClickButton, Button*, pButton ) return 0; } -// -------------------------------------------------------------------------- + /* * RTSPaperPage @@ -225,13 +225,13 @@ RTSPaperPage::RTSPaperPage(RTSDialog* pParent) update(); } -// -------------------------------------------------------------------------- + RTSPaperPage::~RTSPaperPage() { } -// -------------------------------------------------------------------------- + void RTSPaperPage::update() { @@ -278,7 +278,7 @@ void RTSPaperPage::update() } } -// -------------------------------------------------------------------------- + IMPL_LINK( RTSPaperPage, SelectHdl, ListBox*, pBox ) { @@ -312,7 +312,7 @@ IMPL_LINK( RTSPaperPage, SelectHdl, ListBox*, pBox ) return 0; } -// -------------------------------------------------------------------------- + /* * RTSDevicePage @@ -398,13 +398,13 @@ RTSDevicePage::RTSDevicePage( RTSDialog* pParent ) } } -// -------------------------------------------------------------------------- + RTSDevicePage::~RTSDevicePage() { } -// -------------------------------------------------------------------------- + void RTSDevicePage::update() { @@ -434,7 +434,7 @@ sal_uLong RTSDevicePage::getColorDevice() return 0; } -// ------------------------------------------------------------------ + sal_uLong RTSDevicePage::getLevel() { @@ -444,7 +444,7 @@ sal_uLong RTSDevicePage::getLevel() return nLevel < 10 ? nLevel-1 : 0; } -// ------------------------------------------------------------------ + sal_uLong RTSDevicePage::getPDFDevice() { @@ -456,7 +456,7 @@ sal_uLong RTSDevicePage::getPDFDevice() return -1; //explicitly PS } -// ------------------------------------------------------------------ + IMPL_LINK( RTSDevicePage, SelectHdl, ListBox*, pBox ) { @@ -478,7 +478,7 @@ IMPL_LINK( RTSDevicePage, SelectHdl, ListBox*, pBox ) return 0; } -// ------------------------------------------------------------------ + void RTSDevicePage::FillValueBox( const PPDKey* pKey ) { @@ -503,7 +503,7 @@ void RTSDevicePage::FillValueBox( const PPDKey* pKey ) m_pPPDValueBox->SelectEntryPos( m_pPPDValueBox->GetEntryPos( (void*)pValue ) ); } -// -------------------------------------------------------------------------- + /* * RTSOtherPage @@ -536,13 +536,13 @@ RTSOtherPage::RTSOtherPage( RTSDialog* pParent ) : initValues(); } -// ------------------------------------------------------------------ + RTSOtherPage::~RTSOtherPage() { } -// ------------------------------------------------------------------ + void RTSOtherPage::initValues() { @@ -573,7 +573,7 @@ void RTSOtherPage::initValues() m_aCommentEdt.SetText( m_pParent->m_aJobData.m_aComment ); } -// ------------------------------------------------------------------ + void RTSOtherPage::save() { @@ -599,7 +599,7 @@ void RTSOtherPage::save() m_pParent->m_aJobData.m_aComment = m_aCommentEdt.GetText(); } -// ------------------------------------------------------------------ + IMPL_LINK( RTSOtherPage, ClickBtnHdl, Button*, pButton ) { diff --git a/padmin/source/titlectrl.cxx b/padmin/source/titlectrl.cxx index 5d2cfb50a984..5185d4a45141 100644 --- a/padmin/source/titlectrl.cxx +++ b/padmin/source/titlectrl.cxx @@ -30,13 +30,13 @@ TitleImage::TitleImage( Window* pParent, const ResId& rResId ) : SetFont( aFont ); } -// ----------------------------------------------------------------------- + TitleImage::~TitleImage() { } -// ----------------------------------------------------------------------- + void TitleImage::arrange() { @@ -51,7 +51,7 @@ void TitleImage::arrange() m_aTextPos.Y() = ( aCtrlSize.Height() - aTextSize.Height() ) / 2; } -// ----------------------------------------------------------------------- + void TitleImage::Paint( const Rectangle& ) { @@ -65,7 +65,7 @@ void TitleImage::Paint( const Rectangle& ) DrawText( m_aTextPos, m_aText ); } -// ----------------------------------------------------------------------- + void TitleImage::SetText( const OUString& rText ) { @@ -74,7 +74,7 @@ void TitleImage::SetText( const OUString& rText ) Invalidate(); } -// ----------------------------------------------------------------------- + void TitleImage::SetImage( const Image& rImage ) { @@ -83,7 +83,7 @@ void TitleImage::SetImage( const Image& rImage ) Invalidate(); } -// ----------------------------------------------------------------------- + void TitleImage::SetBackgroundColor( const Color& rColor ) { -- cgit v1.2.3