summaryrefslogtreecommitdiff
path: root/filter/source
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 /filter/source
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 'filter/source')
-rw-r--r--filter/source/graphicfilter/itiff/itiff.cxx4
-rw-r--r--filter/source/xsltdialog/typedetectionimport.cxx2
-rw-r--r--filter/source/xsltdialog/typedetectionimport.hxx2
-rw-r--r--filter/source/xsltdialog/xmlfilterdialogcomponent.cxx2
4 files changed, 5 insertions, 5 deletions
diff --git a/filter/source/graphicfilter/itiff/itiff.cxx b/filter/source/graphicfilter/itiff/itiff.cxx
index c34bc0b8aec7..718fad56d67c 100644
--- a/filter/source/graphicfilter/itiff/itiff.cxx
+++ b/filter/source/graphicfilter/itiff/itiff.cxx
@@ -112,7 +112,7 @@ private:
sal_uLong GetBits( const sal_uInt8 * pSrc, sal_uLong nBitsPos, sal_uLong nBitsCount );
// fetches BitsCount bits from pSrc[..] at the position nBitsPos
- void MakePalCol( void );
+ void MakePalCol();
// Create the bitmap from the temporary bitmap pMap
// and partly deletes pMap while doing this.
@@ -1069,7 +1069,7 @@ bool TIFFReader::ConvertScanline( sal_uLong nY )
-void TIFFReader::MakePalCol( void )
+void TIFFReader::MakePalCol()
{
if ( nDstBitsPerPixel <= 8 )
{
diff --git a/filter/source/xsltdialog/typedetectionimport.cxx b/filter/source/xsltdialog/typedetectionimport.cxx
index 386ab1b2b59f..1efd61d9c9e6 100644
--- a/filter/source/xsltdialog/typedetectionimport.cxx
+++ b/filter/source/xsltdialog/typedetectionimport.cxx
@@ -50,7 +50,7 @@ TypeDetectionImporter::TypeDetectionImporter()
{
}
-TypeDetectionImporter::~TypeDetectionImporter (void )
+TypeDetectionImporter::~TypeDetectionImporter()
{
}
diff --git a/filter/source/xsltdialog/typedetectionimport.hxx b/filter/source/xsltdialog/typedetectionimport.hxx
index a755dbc26f6a..2a0a269dde20 100644
--- a/filter/source/xsltdialog/typedetectionimport.hxx
+++ b/filter/source/xsltdialog/typedetectionimport.hxx
@@ -62,7 +62,7 @@ class TypeDetectionImporter : public cppu::WeakImplHelper1 < com::sun::star::xml
{
public:
TypeDetectionImporter();
- virtual ~TypeDetectionImporter( void );
+ virtual ~TypeDetectionImporter();
static void doImport( const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext >& rxContext, com::sun::star::uno::Reference < com::sun::star::io::XInputStream > xOS, XMLFilterVector& rFilters );
diff --git a/filter/source/xsltdialog/xmlfilterdialogcomponent.cxx b/filter/source/xsltdialog/xmlfilterdialogcomponent.cxx
index fd570b7ef2c5..4ca2d999d1b6 100644
--- a/filter/source/xsltdialog/xmlfilterdialogcomponent.cxx
+++ b/filter/source/xsltdialog/xmlfilterdialogcomponent.cxx
@@ -213,7 +213,7 @@ OUString SAL_CALL XMLFilterDialogComponent::getImplementationName() throw(com::s
namespace { struct lcl_ImplId : public rtl::Static< ::cppu::OImplementationId, lcl_ImplId > {}; }
-Sequence< sal_Int8 > SAL_CALL XMLFilterDialogComponent::getImplementationId( void ) throw( RuntimeException, std::exception )
+Sequence< sal_Int8 > SAL_CALL XMLFilterDialogComponent::getImplementationId() throw( RuntimeException, std::exception )
{
return css::uno::Sequence<sal_Int8>();
}