summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-04-14 12:44:47 +0200
committerNoel Grandin <noel@peralex.com>2015-04-15 11:47:12 +0200
commit71b809959bb8f775d83dc52628448bb8b8322b28 (patch)
treef9aa4308050eb7d55611068602c0cf0e3c1b3690 /forms
parent135907f2061550624ee1859745d94eee01849070 (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 'forms')
-rw-r--r--forms/source/component/Filter.cxx6
-rw-r--r--forms/source/component/Filter.hxx2
2 files changed, 4 insertions, 4 deletions
diff --git a/forms/source/component/Filter.cxx b/forms/source/component/Filter.cxx
index 2cfd52d406e5..d3246b9062db 100644
--- a/forms/source/component/Filter.cxx
+++ b/forms/source/component/Filter.cxx
@@ -679,7 +679,7 @@ namespace frm
}
- OUString SAL_CALL OFilterControl::getSelectedText( void ) throw(RuntimeException, std::exception)
+ OUString SAL_CALL OFilterControl::getSelectedText() throw(RuntimeException, std::exception)
{
OUString aSelected;
Reference< XTextComponent > xText( getPeer(), UNO_QUERY );
@@ -698,7 +698,7 @@ namespace frm
}
- ::com::sun::star::awt::Selection SAL_CALL OFilterControl::getSelection( void ) throw(::com::sun::star::uno::RuntimeException, std::exception)
+ ::com::sun::star::awt::Selection SAL_CALL OFilterControl::getSelection() throw(::com::sun::star::uno::RuntimeException, std::exception)
{
::com::sun::star::awt::Selection aSel;
Reference< XTextComponent > xText( getPeer(), UNO_QUERY );
@@ -708,7 +708,7 @@ namespace frm
}
- sal_Bool SAL_CALL OFilterControl::isEditable( void ) throw(RuntimeException, std::exception)
+ sal_Bool SAL_CALL OFilterControl::isEditable() throw(RuntimeException, std::exception)
{
Reference< XTextComponent > xText( getPeer(), UNO_QUERY );
return xText.is() && xText->isEditable();
diff --git a/forms/source/component/Filter.hxx b/forms/source/component/Filter.hxx
index 1513f86c6565..337d726cebe1 100644
--- a/forms/source/component/Filter.hxx
+++ b/forms/source/component/Filter.hxx
@@ -94,7 +94,7 @@ namespace frm
virtual void SAL_CALL createPeer( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XToolkit > & rxToolkit, const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowPeer > & rParentPeer ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
// ::com::sun::star::lang::XComponent
- virtual void SAL_CALL dispose(void) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
+ virtual void SAL_CALL dispose() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
// ::com::sun::star::awt::XTextComponent
virtual void SAL_CALL addTextListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XTextListener > & l ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;