summaryrefslogtreecommitdiff
path: root/vcl/unx/gtk/a11y
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 /vcl/unx/gtk/a11y
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 'vcl/unx/gtk/a11y')
-rw-r--r--vcl/unx/gtk/a11y/atkbridge.cxx2
-rw-r--r--vcl/unx/gtk/a11y/atkfactory.cxx6
-rw-r--r--vcl/unx/gtk/a11y/atkfactory.hxx2
-rw-r--r--vcl/unx/gtk/a11y/atkhypertext.cxx2
-rw-r--r--vcl/unx/gtk/a11y/atkutil.cxx6
-rw-r--r--vcl/unx/gtk/a11y/atkutil.hxx2
-rw-r--r--vcl/unx/gtk/a11y/atkwindow.cxx4
-rw-r--r--vcl/unx/gtk/a11y/atkwindow.hxx4
-rw-r--r--vcl/unx/gtk/a11y/atkwrapper.cxx2
-rw-r--r--vcl/unx/gtk/a11y/atkwrapper.hxx2
10 files changed, 16 insertions, 16 deletions
diff --git a/vcl/unx/gtk/a11y/atkbridge.cxx b/vcl/unx/gtk/a11y/atkbridge.cxx
index c82b1e18ddb2..e3ffdc668c09 100644
--- a/vcl/unx/gtk/a11y/atkbridge.cxx
+++ b/vcl/unx/gtk/a11y/atkbridge.cxx
@@ -25,7 +25,7 @@
#include "atkwindow.hxx"
#include <stdio.h>
-bool InitAtkBridge(void)
+bool InitAtkBridge()
{
#if !GTK_CHECK_VERSION(3,0,0)
const char* pVersion = atk_get_toolkit_version();
diff --git a/vcl/unx/gtk/a11y/atkfactory.cxx b/vcl/unx/gtk/a11y/atkfactory.cxx
index d3cb30ad94c4..fb0cc7741799 100644
--- a/vcl/unx/gtk/a11y/atkfactory.cxx
+++ b/vcl/unx/gtk/a11y/atkfactory.cxx
@@ -49,7 +49,7 @@ atk_noop_object_wrapper_class_init(AtkNoOpObjectClass *klass)
}
static GType
-atk_noop_object_wrapper_get_type(void)
+atk_noop_object_wrapper_get_type()
{
static GType type = 0;
@@ -93,7 +93,7 @@ atk_noop_object_wrapper_new()
*/
static GType
-wrapper_factory_get_accessible_type(void)
+wrapper_factory_get_accessible_type()
{
return atk_object_wrapper_get_type();
}
@@ -148,7 +148,7 @@ wrapper_factory_class_init( AtkObjectFactoryClass *klass )
}
GType
-wrapper_factory_get_type (void)
+wrapper_factory_get_type()
{
static GType t = 0;
diff --git a/vcl/unx/gtk/a11y/atkfactory.hxx b/vcl/unx/gtk/a11y/atkfactory.hxx
index dcd6f84938a5..c7a8add0b0d6 100644
--- a/vcl/unx/gtk/a11y/atkfactory.hxx
+++ b/vcl/unx/gtk/a11y/atkfactory.hxx
@@ -26,7 +26,7 @@
extern "C" {
-GType wrapper_factory_get_type (void);
+GType wrapper_factory_get_type();
} // extern "C"
diff --git a/vcl/unx/gtk/a11y/atkhypertext.cxx b/vcl/unx/gtk/a11y/atkhypertext.cxx
index 909ee30a8063..9b01e6b5bf5e 100644
--- a/vcl/unx/gtk/a11y/atkhypertext.cxx
+++ b/vcl/unx/gtk/a11y/atkhypertext.cxx
@@ -155,7 +155,7 @@ hyper_link_class_init (AtkHyperlinkClass *klass)
}
static GType
-hyper_link_get_type (void)
+hyper_link_get_type()
{
static GType type = 0;
diff --git a/vcl/unx/gtk/a11y/atkutil.cxx b/vcl/unx/gtk/a11y/atkutil.cxx
index 5ffa45a4c03c..c7a1221cd340 100644
--- a/vcl/unx/gtk/a11y/atkutil.cxx
+++ b/vcl/unx/gtk/a11y/atkutil.cxx
@@ -683,7 +683,7 @@ static Link g_aEventListenerLink( NULL, WindowEventHandler );
extern "C" {
static G_CONST_RETURN gchar *
-ooo_atk_util_get_toolkit_name (void)
+ooo_atk_util_get_toolkit_name()
{
return "VCL";
}
@@ -691,7 +691,7 @@ ooo_atk_util_get_toolkit_name (void)
/*****************************************************************************/
static G_CONST_RETURN gchar *
-ooo_atk_util_get_toolkit_version (void)
+ooo_atk_util_get_toolkit_version()
{
return LIBO_VERSION_DOTTED;
}
@@ -722,7 +722,7 @@ ooo_atk_util_class_init (AtkUtilClass *)
/*****************************************************************************/
GType
-ooo_atk_util_get_type (void)
+ooo_atk_util_get_type()
{
static GType type = 0;
diff --git a/vcl/unx/gtk/a11y/atkutil.hxx b/vcl/unx/gtk/a11y/atkutil.hxx
index f61a4bd1c595..89cb61aeed33 100644
--- a/vcl/unx/gtk/a11y/atkutil.hxx
+++ b/vcl/unx/gtk/a11y/atkutil.hxx
@@ -24,7 +24,7 @@
#define OOO_TYPE_ATK_UTIL ooo_atk_util_get_type()
-GType ooo_atk_util_get_type (void);
+GType ooo_atk_util_get_type();
#endif
diff --git a/vcl/unx/gtk/a11y/atkwindow.cxx b/vcl/unx/gtk/a11y/atkwindow.cxx
index 84ef89198fe9..2e0bcdc5f055 100644
--- a/vcl/unx/gtk/a11y/atkwindow.cxx
+++ b/vcl/unx/gtk/a11y/atkwindow.cxx
@@ -273,7 +273,7 @@ ooo_window_wrapper_class_init (AtkObjectClass *klass, gpointer)
/*****************************************************************************/
GType
-ooo_window_wrapper_get_type (void)
+ooo_window_wrapper_get_type()
{
static GType type = 0;
@@ -310,7 +310,7 @@ ooo_window_wrapper_get_type (void)
return type;
}
-void restore_gail_window_vtable (void)
+void restore_gail_window_vtable()
{
AtkObjectClass *atk_class;
gpointer data;
diff --git a/vcl/unx/gtk/a11y/atkwindow.hxx b/vcl/unx/gtk/a11y/atkwindow.hxx
index 40dd4e83a256..f2cdbee7b46f 100644
--- a/vcl/unx/gtk/a11y/atkwindow.hxx
+++ b/vcl/unx/gtk/a11y/atkwindow.hxx
@@ -24,8 +24,8 @@
#define OOO_TYPE_WINDOW_WRAPPER ooo_window_wrapper_get_type()
-GType ooo_window_wrapper_get_type (void);
-void restore_gail_window_vtable (void);
+GType ooo_window_wrapper_get_type();
+void restore_gail_window_vtable();
#endif
diff --git a/vcl/unx/gtk/a11y/atkwrapper.cxx b/vcl/unx/gtk/a11y/atkwrapper.cxx
index e2fc450d2918..30cfa9c05074 100644
--- a/vcl/unx/gtk/a11y/atkwrapper.cxx
+++ b/vcl/unx/gtk/a11y/atkwrapper.cxx
@@ -656,7 +656,7 @@ atk_object_wrapper_init (AtkObjectWrapper *wrapper,
} // extern "C"
GType
-atk_object_wrapper_get_type (void)
+atk_object_wrapper_get_type()
{
static GType type = 0;
diff --git a/vcl/unx/gtk/a11y/atkwrapper.hxx b/vcl/unx/gtk/a11y/atkwrapper.hxx
index 5886674f1d1d..95625ad4bca8 100644
--- a/vcl/unx/gtk/a11y/atkwrapper.hxx
+++ b/vcl/unx/gtk/a11y/atkwrapper.hxx
@@ -72,7 +72,7 @@ struct _AtkObjectWrapperClass
AtkObjectClass aParentClass;
};
-GType atk_object_wrapper_get_type (void) G_GNUC_CONST;
+GType atk_object_wrapper_get_type() G_GNUC_CONST;
AtkObject * atk_object_wrapper_ref(
const ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible >& rxAccessible,
bool create = true );