diff options
Diffstat (limited to 'svtools/source/dialogs')
-rw-r--r-- | svtools/source/dialogs/addresstemplate.cxx | 1 | ||||
-rw-r--r-- | svtools/source/dialogs/colrdlg.cxx | 7 | ||||
-rw-r--r-- | svtools/source/dialogs/prnsetup.cxx | 16 | ||||
-rw-r--r-- | svtools/source/dialogs/wizardmachine.cxx | 1 | ||||
-rw-r--r-- | svtools/source/dialogs/wizdlg.cxx | 26 |
5 files changed, 0 insertions, 51 deletions
diff --git a/svtools/source/dialogs/addresstemplate.cxx b/svtools/source/dialogs/addresstemplate.cxx index 8c5386a893fa..5865140fa089 100644 --- a/svtools/source/dialogs/addresstemplate.cxx +++ b/svtools/source/dialogs/addresstemplate.cxx @@ -502,7 +502,6 @@ void AssignmentPersistentData::ImplCommit() // = AddressBookSourceDialog - AddressBookSourceDialog::AddressBookSourceDialog(vcl::Window* _pParent, const Reference< XComponentContext >& _rxORB ) : ModalDialog(_pParent, "AddressTemplateDialog", "svt/ui/addresstemplatedialog.ui") diff --git a/svtools/source/dialogs/colrdlg.cxx b/svtools/source/dialogs/colrdlg.cxx index 70bed42125d7..483515c26c67 100644 --- a/svtools/source/dialogs/colrdlg.cxx +++ b/svtools/source/dialogs/colrdlg.cxx @@ -37,8 +37,6 @@ using namespace ::com::sun::star::beans; using namespace ::com::sun::star::ui::dialogs; - - SvColorDialog::SvColorDialog( vcl::Window* pWindow ) : mpParent( pWindow ) , meMode( svtools::ColorPickerMode_SELECT ) @@ -55,17 +53,12 @@ void SvColorDialog::SetColor( const Color& rColor ) } - - - - void SvColorDialog::SetMode( sal_Int16 eMode ) { meMode = eMode; } - short SvColorDialog::Execute() { short ret = 0; diff --git a/svtools/source/dialogs/prnsetup.cxx b/svtools/source/dialogs/prnsetup.cxx index 7a3cbf3b214f..25401950732c 100644 --- a/svtools/source/dialogs/prnsetup.cxx +++ b/svtools/source/dialogs/prnsetup.cxx @@ -24,7 +24,6 @@ #include <vcl/print.hxx> - void ImplFillPrnDlgListBox( const Printer* pPrinter, ListBox* pBox, PushButton* pPropBtn ) { @@ -44,7 +43,6 @@ void ImplFillPrnDlgListBox( const Printer* pPrinter, } - void ImplFreePrnDlgListBox( ListBox* pBox, bool bClear ) { if ( bClear ) @@ -52,7 +50,6 @@ void ImplFreePrnDlgListBox( ListBox* pBox, bool bClear ) } - Printer* ImplPrnDlgListBoxSelect( ListBox* pBox, PushButton* pPropBtn, Printer* pPrinter, Printer* pTempPrinterIn ) { @@ -92,7 +89,6 @@ Printer* ImplPrnDlgListBoxSelect( ListBox* pBox, PushButton* pPropBtn, } - Printer* ImplPrnDlgUpdatePrinter( Printer* pPrinter, Printer* pTempPrinterIn ) { VclPtr<Printer> pTempPrinter( pTempPrinterIn ); @@ -112,7 +108,6 @@ Printer* ImplPrnDlgUpdatePrinter( Printer* pPrinter, Printer* pTempPrinterIn ) } - void ImplPrnDlgUpdateQueueInfo( ListBox* pBox, QueueInfo& rInfo ) { if ( pBox->GetSelectEntryPos() != LISTBOX_ENTRY_NOTFOUND ) @@ -124,7 +119,6 @@ void ImplPrnDlgUpdateQueueInfo( ListBox* pBox, QueueInfo& rInfo ) } - static OUString ImplPrnDlgAddString(const OUString& rStr, const OUString& rAddStr) { OUString aStr(rStr); @@ -134,14 +128,12 @@ static OUString ImplPrnDlgAddString(const OUString& rStr, const OUString& rAddSt } - static OUString ImplPrnDlgAddResString(const OUString& rStr, sal_uInt16 nResId) { return ImplPrnDlgAddString(rStr, SVT_RESSTR(nResId)); } - OUString ImplPrnDlgGetStatusText( const QueueInfo& rInfo ) { OUString aStr; @@ -217,7 +209,6 @@ OUString ImplPrnDlgGetStatusText( const QueueInfo& rInfo ) } - PrinterSetupDialog::PrinterSetupDialog(vcl::Window* pParent) : ModalDialog(pParent, "PrinterSetupDialog", "svt/ui/printersetupdialog.ui") @@ -244,7 +235,6 @@ PrinterSetupDialog::PrinterSetupDialog(vcl::Window* pParent) } - PrinterSetupDialog::~PrinterSetupDialog() { disposeOnce(); @@ -292,7 +282,6 @@ void PrinterSetupDialog::ImplSetInfo() } - IMPL_LINK_NOARG_TYPED(PrinterSetupDialog, ImplStatusHdl, Timer *, void) { QueueInfo aInfo; @@ -301,7 +290,6 @@ IMPL_LINK_NOARG_TYPED(PrinterSetupDialog, ImplStatusHdl, Timer *, void) } - IMPL_LINK_NOARG_TYPED(PrinterSetupDialog, ImplPropertiesHdl, Button*, void) { if ( !mpTempPrinter ) @@ -310,7 +298,6 @@ IMPL_LINK_NOARG_TYPED(PrinterSetupDialog, ImplPropertiesHdl, Button*, void) } - IMPL_LINK_NOARG_TYPED(PrinterSetupDialog, ImplChangePrinterHdl, ListBox&, void) { mpTempPrinter = ImplPrnDlgListBoxSelect(m_pLbName, m_pBtnProperties, @@ -319,7 +306,6 @@ IMPL_LINK_NOARG_TYPED(PrinterSetupDialog, ImplChangePrinterHdl, ListBox&, void) } - bool PrinterSetupDialog::Notify( NotifyEvent& rNEvt ) { if ( (rNEvt.GetType() == MouseNotifyEvent::GETFOCUS) && IsReallyVisible() ) @@ -329,7 +315,6 @@ bool PrinterSetupDialog::Notify( NotifyEvent& rNEvt ) } - void PrinterSetupDialog::DataChanged( const DataChangedEvent& rDCEvt ) { if ( rDCEvt.GetType() == DataChangedEventType::PRINTER ) @@ -348,7 +333,6 @@ void PrinterSetupDialog::DataChanged( const DataChangedEvent& rDCEvt ) } - short PrinterSetupDialog::Execute() { if ( !mpPrinter || mpPrinter->IsPrinting() || mpPrinter->IsJobActive() ) diff --git a/svtools/source/dialogs/wizardmachine.cxx b/svtools/source/dialogs/wizardmachine.cxx index ec4ce04f06e9..b39fba449589 100644 --- a/svtools/source/dialogs/wizardmachine.cxx +++ b/svtools/source/dialogs/wizardmachine.cxx @@ -30,7 +30,6 @@ namespace svt { - //= WizardPageImplData struct WizardPageImplData diff --git a/svtools/source/dialogs/wizdlg.cxx b/svtools/source/dialogs/wizdlg.cxx index ee6f7ec44dec..f04fcb9da442 100644 --- a/svtools/source/dialogs/wizdlg.cxx +++ b/svtools/source/dialogs/wizdlg.cxx @@ -23,14 +23,12 @@ #include <svtools/wizdlg.hxx> - #define WIZARDDIALOG_BUTTON_OFFSET_Y 6 #define WIZARDDIALOG_BUTTON_DLGOFFSET_X 6 #define WIZARDDIALOG_VIEW_DLGOFFSET_X 6 #define WIZARDDIALOG_VIEW_DLGOFFSET_Y 6 - struct ImplWizPageData { ImplWizPageData* mpNext; @@ -38,7 +36,6 @@ struct ImplWizPageData }; - struct ImplWizButtonData { ImplWizButtonData* mpNext; @@ -47,7 +44,6 @@ struct ImplWizButtonData }; - void WizardDialog::ImplInitData() { mpFirstPage = nullptr; @@ -72,14 +68,12 @@ void WizardDialog::SetLeftAlignedButtonCount( sal_Int16 _nCount ) } - void WizardDialog::SetEmptyViewMargin() { mbEmptyViewMargin = true; } - void WizardDialog::ImplCalcSize( Size& rSize ) { // ButtonBar-Hoehe berechnen @@ -247,8 +241,6 @@ long WizardDialog::LogicalCoordinateToPixel(int iCoordinate){ } - - void WizardDialog::ImplPosTabPage() { if ( !mpCurTabPage ) @@ -304,7 +296,6 @@ void WizardDialog::ImplPosTabPage() } - void WizardDialog::ImplShowTabPage( TabPage* pTabPage ) { if ( mpCurTabPage == pTabPage ) @@ -327,7 +318,6 @@ void WizardDialog::ImplShowTabPage( TabPage* pTabPage ) } - TabPage* WizardDialog::ImplGetPage( sal_uInt16 nLevel ) const { sal_uInt16 nTempLevel = 0; @@ -353,7 +343,6 @@ WizardDialog::WizardDialog( vcl::Window* pParent, WinBits nStyle ) : } - WizardDialog::WizardDialog( vcl::Window* pParent, const OUString& rID, const OUString& rUIXMLDescription ) : ModalDialog( pParent, rID, rUIXMLDescription ) { @@ -385,7 +374,6 @@ void WizardDialog::dispose() } - void WizardDialog::Resize() { if ( IsReallyShown() && !IsInInitShow() ) @@ -398,7 +386,6 @@ void WizardDialog::Resize() } - void WizardDialog::StateChanged( StateChangedType nType ) { if ( nType == StateChangedType::InitShow ) @@ -436,7 +423,6 @@ void WizardDialog::StateChanged( StateChangedType nType ) } - bool WizardDialog::Notify( NotifyEvent& rNEvt ) { if ( (rNEvt.GetType() == MouseNotifyEvent::KEYINPUT) && mpPrevBtn && mpNextBtn ) @@ -482,28 +468,24 @@ bool WizardDialog::Notify( NotifyEvent& rNEvt ) } - void WizardDialog::ActivatePage() { maActivateHdl.Call( this ); } - bool WizardDialog::DeactivatePage() { return true; } - bool WizardDialog::ShowNextPage() { return ShowPage( mnCurLevel+1 ); } - bool WizardDialog::ShowPrevPage() { if ( !mnCurLevel ) @@ -512,7 +494,6 @@ bool WizardDialog::ShowPrevPage() } - bool WizardDialog::ShowPage( sal_uInt16 nLevel ) { if ( DeactivatePage() ) @@ -527,7 +508,6 @@ bool WizardDialog::ShowPage( sal_uInt16 nLevel ) } - bool WizardDialog::Finish( long nResult ) { if ( DeactivatePage() ) @@ -546,7 +526,6 @@ bool WizardDialog::Finish( long nResult ) } - void WizardDialog::AddPage( TabPage* pPage ) { ImplWizPageData* pNewPageData = new ImplWizPageData; @@ -565,7 +544,6 @@ void WizardDialog::AddPage( TabPage* pPage ) } - void WizardDialog::RemovePage( TabPage* pPage ) { ImplWizPageData* pPrevPageData = nullptr; @@ -592,7 +570,6 @@ void WizardDialog::RemovePage( TabPage* pPage ) } - void WizardDialog::SetPage( sal_uInt16 nLevel, TabPage* pPage ) { sal_uInt16 nTempLevel = 0; @@ -615,7 +592,6 @@ void WizardDialog::SetPage( sal_uInt16 nLevel, TabPage* pPage ) } - TabPage* WizardDialog::GetPage( sal_uInt16 nLevel ) const { sal_uInt16 nTempLevel = 0; @@ -632,7 +608,6 @@ TabPage* WizardDialog::GetPage( sal_uInt16 nLevel ) const } - void WizardDialog::AddButton( Button* pButton, long nOffset ) { ImplWizButtonData* pNewBtnData = new ImplWizButtonData; @@ -652,7 +627,6 @@ void WizardDialog::AddButton( Button* pButton, long nOffset ) } - void WizardDialog::RemoveButton( Button* pButton ) { ImplWizButtonData* pPrevBtnData = nullptr; |