diff options
author | Noel Grandin <noel@peralex.com> | 2015-04-14 12:44:47 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-04-15 11:47:12 +0200 |
commit | 71b809959bb8f775d83dc52628448bb8b8322b28 (patch) | |
tree | f9aa4308050eb7d55611068602c0cf0e3c1b3690 /sc/source/ui/sidebar | |
parent | 135907f2061550624ee1859745d94eee01849070 (diff) |
remove unnecessary use of void in function declarations
ie.
void f(void);
becomes
void f();
I used the following command to make the changes:
git grep -lP '\(\s*void\s*\)' -- *.cxx \
| xargs perl -pi -w -e 's/(\w+)\s*\(\s*void\s*\)/$1\(\)/g;'
and ran it for both .cxx and .hxx files.
Change-Id: I314a1b56e9c14d10726e32841736b0ad5eef8ddd
Diffstat (limited to 'sc/source/ui/sidebar')
-rw-r--r-- | sc/source/ui/sidebar/CellAppearancePropertyPanel.cxx | 4 | ||||
-rw-r--r-- | sc/source/ui/sidebar/CellAppearancePropertyPanel.hxx | 4 | ||||
-rw-r--r-- | sc/source/ui/sidebar/CellBorderStyleControl.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/sidebar/CellBorderStyleControl.hxx | 2 | ||||
-rw-r--r-- | sc/source/ui/sidebar/CellBorderStylePopup.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/sidebar/CellBorderStylePopup.hxx | 2 | ||||
-rw-r--r-- | sc/source/ui/sidebar/CellLineStylePopup.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/sidebar/CellLineStylePopup.hxx | 2 | ||||
-rw-r--r-- | sc/source/ui/sidebar/ScPanelFactory.cxx | 4 |
9 files changed, 12 insertions, 12 deletions
diff --git a/sc/source/ui/sidebar/CellAppearancePropertyPanel.cxx b/sc/source/ui/sidebar/CellAppearancePropertyPanel.cxx index af0bfe8fbe90..38c0154d3785 100644 --- a/sc/source/ui/sidebar/CellAppearancePropertyPanel.cxx +++ b/sc/source/ui/sidebar/CellAppearancePropertyPanel.cxx @@ -56,7 +56,7 @@ svx::sidebar::PopupControl* CellAppearancePropertyPanel::CreateCellLineStylePopu return new CellLineStyleControl(pParent, *this); } -void CellAppearancePropertyPanel::EndCellLineStylePopupMode(void) +void CellAppearancePropertyPanel::EndCellLineStylePopupMode() { if(mpCellLineStylePopup.get()) { @@ -69,7 +69,7 @@ svx::sidebar::PopupControl* CellAppearancePropertyPanel::CreateCellBorderStylePo return new CellBorderStyleControl(pParent, *this); } -void CellAppearancePropertyPanel::EndCellBorderStylePopupMode(void) +void CellAppearancePropertyPanel::EndCellBorderStylePopupMode() { if(mpCellBorderStylePopup.get()) { diff --git a/sc/source/ui/sidebar/CellAppearancePropertyPanel.hxx b/sc/source/ui/sidebar/CellAppearancePropertyPanel.hxx index f8da7a59bfb9..eb9e7dc45eb7 100644 --- a/sc/source/ui/sidebar/CellAppearancePropertyPanel.hxx +++ b/sc/source/ui/sidebar/CellAppearancePropertyPanel.hxx @@ -139,11 +139,11 @@ private: // for CellLineStyle popup svx::sidebar::PopupControl* CreateCellLineStylePopupControl(svx::sidebar::PopupContainer* pParent); - void EndCellLineStylePopupMode(void); + void EndCellLineStylePopupMode(); // for CellBorderStyle popup svx::sidebar::PopupControl* CreateCellBorderStylePopupControl(svx::sidebar::PopupContainer* pParent); - void EndCellBorderStylePopupMode(void); + void EndCellBorderStylePopupMode(); // constructor/destuctor CellAppearancePropertyPanel( diff --git a/sc/source/ui/sidebar/CellBorderStyleControl.cxx b/sc/source/ui/sidebar/CellBorderStyleControl.cxx index 08f7417bea08..ad6507dcda71 100644 --- a/sc/source/ui/sidebar/CellBorderStyleControl.cxx +++ b/sc/source/ui/sidebar/CellBorderStyleControl.cxx @@ -56,7 +56,7 @@ CellBorderStyleControl::CellBorderStyleControl(vcl::Window* pParent, CellAppeara FreeResource(); } -CellBorderStyleControl::~CellBorderStyleControl(void) +CellBorderStyleControl::~CellBorderStyleControl() { delete[] mpImageList; } diff --git a/sc/source/ui/sidebar/CellBorderStyleControl.hxx b/sc/source/ui/sidebar/CellBorderStyleControl.hxx index 7cf04e2d68fd..cf0db80ae3ef 100644 --- a/sc/source/ui/sidebar/CellBorderStyleControl.hxx +++ b/sc/source/ui/sidebar/CellBorderStyleControl.hxx @@ -47,7 +47,7 @@ private: public: CellBorderStyleControl(vcl::Window* pParent, CellAppearancePropertyPanel& rPanel); - virtual ~CellBorderStyleControl(void); + virtual ~CellBorderStyleControl(); }; } } // end of namespace svx::sidebar diff --git a/sc/source/ui/sidebar/CellBorderStylePopup.cxx b/sc/source/ui/sidebar/CellBorderStylePopup.cxx index ae491f611005..1a27c25e6a55 100644 --- a/sc/source/ui/sidebar/CellBorderStylePopup.cxx +++ b/sc/source/ui/sidebar/CellBorderStylePopup.cxx @@ -29,7 +29,7 @@ CellBorderStylePopup::CellBorderStylePopup ( { } -CellBorderStylePopup::~CellBorderStylePopup (void) +CellBorderStylePopup::~CellBorderStylePopup() { } diff --git a/sc/source/ui/sidebar/CellBorderStylePopup.hxx b/sc/source/ui/sidebar/CellBorderStylePopup.hxx index de5b3727cafd..62899d555ae8 100644 --- a/sc/source/ui/sidebar/CellBorderStylePopup.hxx +++ b/sc/source/ui/sidebar/CellBorderStylePopup.hxx @@ -30,7 +30,7 @@ public : CellBorderStylePopup( vcl::Window* pParent, const ::boost::function<svx::sidebar::PopupControl*(svx::sidebar::PopupContainer*)>& rControlCreator); - virtual ~CellBorderStylePopup(void); + virtual ~CellBorderStylePopup(); }; } } // end of namespace sc::sidebar diff --git a/sc/source/ui/sidebar/CellLineStylePopup.cxx b/sc/source/ui/sidebar/CellLineStylePopup.cxx index 1409037bb5b2..a65cc219a3f5 100644 --- a/sc/source/ui/sidebar/CellLineStylePopup.cxx +++ b/sc/source/ui/sidebar/CellLineStylePopup.cxx @@ -29,7 +29,7 @@ CellLineStylePopup::CellLineStylePopup ( { } -CellLineStylePopup::~CellLineStylePopup (void) +CellLineStylePopup::~CellLineStylePopup() { } diff --git a/sc/source/ui/sidebar/CellLineStylePopup.hxx b/sc/source/ui/sidebar/CellLineStylePopup.hxx index cfca1afe76b7..757a86a8af2c 100644 --- a/sc/source/ui/sidebar/CellLineStylePopup.hxx +++ b/sc/source/ui/sidebar/CellLineStylePopup.hxx @@ -30,7 +30,7 @@ public : CellLineStylePopup( vcl::Window* pParent, const ::boost::function<svx::sidebar::PopupControl*(svx::sidebar::PopupContainer*)>& rControlCreator); - virtual ~CellLineStylePopup(void); + virtual ~CellLineStylePopup(); void SetLineStyleSelect(sal_uInt16 out, sal_uInt16 in, sal_uInt16 dis); }; diff --git a/sc/source/ui/sidebar/ScPanelFactory.cxx b/sc/source/ui/sidebar/ScPanelFactory.cxx index b0d4c8fdd4ed..cb1c23852bdc 100644 --- a/sc/source/ui/sidebar/ScPanelFactory.cxx +++ b/sc/source/ui/sidebar/ScPanelFactory.cxx @@ -67,12 +67,12 @@ css::uno::Sequence<OUString> SAL_CALL ScPanelFactory::getSupportedServiceNames_s } -ScPanelFactory::ScPanelFactory (void) +ScPanelFactory::ScPanelFactory() : PanelFactoryInterfaceBase(m_aMutex) { } -ScPanelFactory::~ScPanelFactory (void) +ScPanelFactory::~ScPanelFactory() { } |