diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2016-02-09 18:16:42 +1100 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2016-02-09 08:18:05 +0000 |
commit | a238b1f8d304bf1e2ffb357937f3ec888ee8ac89 (patch) | |
tree | 083c0582d4bf80e313ed256ca476ba8f69c7f7a6 /svtools/source/dialogs/wizdlg.cxx | |
parent | 538f276ae0414ea34ede6090b5f56e8fecd6fc65 (diff) |
Remove excess newlines
A ridiculously fast way of doing this is:
for i in $(pcregrep -l -M -r --include='.*[hc]xx$' \
--exclude-dir=workdir --exclude-dir=instdir '^
{3,}' .)
do
perl -0777 -i -pe 's/^
{3,}/
/gm' $i
done
Change-Id: Iebb93eccbee9e4fc5c4380474ba595858a27ac2c
Reviewed-on: https://gerrit.libreoffice.org/22224
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Diffstat (limited to 'svtools/source/dialogs/wizdlg.cxx')
-rw-r--r-- | svtools/source/dialogs/wizdlg.cxx | 26 |
1 files changed, 0 insertions, 26 deletions
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; |