diff options
-rw-r--r-- | avmedia/source/vlc/wrapper/Common.cxx | 4 | ||||
-rw-r--r-- | connectivity/source/drivers/evoab2/EApi.cxx | 2 | ||||
-rw-r--r-- | extensions/source/propctrlr/propertycomposer.cxx | 2 | ||||
-rw-r--r-- | hwpfilter/source/lexer.cxx | 6 | ||||
-rw-r--r-- | libreofficekit/source/gtk/tilebuffer.cxx | 2 | ||||
-rw-r--r-- | salhelper/source/dynload.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/docshell/impex.cxx | 2 | ||||
-rw-r--r-- | sdext/source/presenter/PresenterProtocolHandler.cxx | 2 | ||||
-rw-r--r-- | svx/source/accessibility/DescriptionGenerator.cxx | 2 | ||||
-rw-r--r-- | sw/source/ui/frmdlg/column.cxx | 2 | ||||
-rw-r--r-- | toolkit/source/awt/vclxspinbutton.cxx | 2 | ||||
-rw-r--r-- | unotools/source/ucbhelper/ucblockbytes.cxx | 10 | ||||
-rw-r--r-- | vcl/unx/gtk/a11y/atkwrapper.cxx | 2 |
13 files changed, 17 insertions, 23 deletions
diff --git a/avmedia/source/vlc/wrapper/Common.cxx b/avmedia/source/vlc/wrapper/Common.cxx index 8eb23be81c75..cadf00250ccb 100644 --- a/avmedia/source/vlc/wrapper/Common.cxx +++ b/avmedia/source/vlc/wrapper/Common.cxx @@ -13,8 +13,8 @@ namespace { const char AVMEDIA_NO_ERROR[] = "No error"; - const char* ( *libvlc_get_version ) (void); - char * ( * libvlc_errmsg ) (void); + const char* ( *libvlc_get_version ) (); + char * ( * libvlc_errmsg ) (); } namespace avmedia diff --git a/connectivity/source/drivers/evoab2/EApi.cxx b/connectivity/source/drivers/evoab2/EApi.cxx index 81db0b0d83df..1830cae593af 100644 --- a/connectivity/source/drivers/evoab2/EApi.cxx +++ b/connectivity/source/drivers/evoab2/EApi.cxx @@ -34,7 +34,7 @@ static const char *eBookLibNames[] = { "libebook.so.8" // evolution-2.0 }; -typedef void (*SymbolFunc) (void); +typedef void (*SymbolFunc) (); #define SYM_MAP(a) { #a, reinterpret_cast<SymbolFunc *>(&a) } struct ApiMap diff --git a/extensions/source/propctrlr/propertycomposer.cxx b/extensions/source/propctrlr/propertycomposer.cxx index e37313db1f6e..63d4c72790e4 100644 --- a/extensions/source/propctrlr/propertycomposer.cxx +++ b/extensions/source/propctrlr/propertycomposer.cxx @@ -250,7 +250,7 @@ namespace pcr } - static void uniteStringArrays( const PropertyComposer::HandlerArray& _rHandlers, Sequence< OUString > (SAL_CALL XPropertyHandler::*pGetter)( void ), + static void uniteStringArrays( const PropertyComposer::HandlerArray& _rHandlers, Sequence< OUString > (SAL_CALL XPropertyHandler::*pGetter)( ), Sequence< OUString >& /* [out] */ _rUnion ) { std::set< OUString > aUnitedBag; diff --git a/hwpfilter/source/lexer.cxx b/hwpfilter/source/lexer.cxx index 6595a5ae4cb8..4ee3c4c4a47a 100644 --- a/hwpfilter/source/lexer.cxx +++ b/hwpfilter/source/lexer.cxx @@ -191,7 +191,7 @@ static int yy_did_buffer_switch_on_eof; static void yyrestart YY_PROTO(( FILE *input_file )); static void yy_switch_to_buffer YY_PROTO(( YY_BUFFER_STATE new_buffer )); -static void yy_load_buffer_state YY_PROTO(( void )); +static void yy_load_buffer_state YY_PROTO(( )); static YY_BUFFER_STATE yy_create_buffer YY_PROTO(( FILE *file, int size )); static void yy_delete_buffer YY_PROTO(( YY_BUFFER_STATE b )); static void yy_init_buffer YY_PROTO(( YY_BUFFER_STATE b, FILE *file )); @@ -210,9 +210,9 @@ static FILE *yyin = nullptr, *yyout = nullptr; typedef int yy_state_type; #define yytext_ptr yytext -static yy_state_type yy_get_previous_state YY_PROTO(( void )); +static yy_state_type yy_get_previous_state YY_PROTO(( )); static yy_state_type yy_try_NUL_trans YY_PROTO(( yy_state_type current_state )); -static int yy_get_next_buffer YY_PROTO(( void )); +static int yy_get_next_buffer YY_PROTO(( )); static void yy_fatal_error YY_PROTO(( yyconst char msg[] )); /* Done after the current pattern has been matched and before the diff --git a/libreofficekit/source/gtk/tilebuffer.cxx b/libreofficekit/source/gtk/tilebuffer.cxx index f81d0bfbfd0a..9085ba06ac2c 100644 --- a/libreofficekit/source/gtk/tilebuffer.cxx +++ b/libreofficekit/source/gtk/tilebuffer.cxx @@ -116,7 +116,7 @@ void LOEvent::destroy(void* pMemory) } GQuark -LOKTileBufferErrorQuark(void) +LOKTileBufferErrorQuark() { return g_quark_from_static_string("lok-tilebuffer-error"); } diff --git a/salhelper/source/dynload.cxx b/salhelper/source/dynload.cxx index b3a9e00322ae..09f678e1cbc3 100644 --- a/salhelper/source/dynload.cxx +++ b/salhelper/source/dynload.cxx @@ -23,7 +23,7 @@ namespace salhelper { -typedef void* (*ApiInitFunction) (void); +typedef void* (*ApiInitFunction) (); ORealDynamicLoader::ORealDynamicLoader(ORealDynamicLoader ** ppSetToZeroInDestructor_, const rtl::OUString& moduleName, diff --git a/sc/source/ui/docshell/impex.cxx b/sc/source/ui/docshell/impex.cxx index 72107fdd3363..7adfa5030b11 100644 --- a/sc/source/ui/docshell/impex.cxx +++ b/sc/source/ui/docshell/impex.cxx @@ -2328,7 +2328,7 @@ ScFormatFilterPlugin* ScFilterCreate(); #endif -typedef ScFormatFilterPlugin * (*FilterFn)(void); +typedef ScFormatFilterPlugin * (*FilterFn)(); ScFormatFilterPlugin &ScFormatFilter::Get() { static ScFormatFilterPlugin *plugin; diff --git a/sdext/source/presenter/PresenterProtocolHandler.cxx b/sdext/source/presenter/PresenterProtocolHandler.cxx index f25e7255cd3f..6311f322cbce 100644 --- a/sdext/source/presenter/PresenterProtocolHandler.cxx +++ b/sdext/source/presenter/PresenterProtocolHandler.cxx @@ -176,7 +176,7 @@ class PresenterProtocolHandler::Dispatch public PresenterDispatchInterfaceBase { public: - typedef void (PresenterProtocolHandler::Dispatch::* Action)(void); + typedef void (PresenterProtocolHandler::Dispatch::* Action)(); /** Create a new Dispatch object. When the given command name (rsURLPath) is not known then an empty reference is returned. diff --git a/svx/source/accessibility/DescriptionGenerator.cxx b/svx/source/accessibility/DescriptionGenerator.cxx index bac63a4c22f3..f21e3a5b2f8b 100644 --- a/svx/source/accessibility/DescriptionGenerator.cxx +++ b/svx/source/accessibility/DescriptionGenerator.cxx @@ -114,7 +114,7 @@ void DescriptionGenerator::Initialize (const OUString& sPrefix) } -OUString DescriptionGenerator::operator() (void) +OUString DescriptionGenerator::operator() () { msDescription.append('.'); return msDescription.makeStringAndClear(); diff --git a/sw/source/ui/frmdlg/column.cxx b/sw/source/ui/frmdlg/column.cxx index 1888b02f0edf..44891cf372b1 100644 --- a/sw/source/ui/frmdlg/column.cxx +++ b/sw/source/ui/frmdlg/column.cxx @@ -318,7 +318,7 @@ IMPL_LINK_NOARG(SwColumnDlg, OkHdl, weld::Button&, void) m_xDialog->response(RET_OK); } -SfxItemSet* SwColumnDlg::EvalCurrentSelection(void) +SfxItemSet* SwColumnDlg::EvalCurrentSelection() { SfxItemSet* pSet = nullptr; diff --git a/toolkit/source/awt/vclxspinbutton.cxx b/toolkit/source/awt/vclxspinbutton.cxx index 2288524e8496..d0231442108e 100644 --- a/toolkit/source/awt/vclxspinbutton.cxx +++ b/toolkit/source/awt/vclxspinbutton.cxx @@ -95,7 +95,7 @@ namespace toolkit namespace { typedef void (SpinButton::*SetSpinButtonValue) (long); - typedef long (SpinButton::*GetSpinButtonValue) (void) const; + typedef long (SpinButton::*GetSpinButtonValue) () const; void lcl_setSpinButtonValue(vcl::Window* _pWindow, SetSpinButtonValue _pSetter, sal_Int32 _nValue ) diff --git a/unotools/source/ucbhelper/ucblockbytes.cxx b/unotools/source/ucbhelper/ucblockbytes.cxx index 8f8343a56870..04bb3225a515 100644 --- a/unotools/source/ucbhelper/ucblockbytes.cxx +++ b/unotools/source/ucbhelper/ucblockbytes.cxx @@ -342,10 +342,7 @@ public: const Reference< XStream >& aStream ) override; - virtual Reference<XStream> SAL_CALL - getStream ( - void - ) override + virtual Reference<XStream> SAL_CALL getStream () override { osl::MutexGuard aGuard(m_aMutex); return m_xStream; @@ -371,10 +368,7 @@ public: const Reference<XInputStream> &rxInputStream ) override; - virtual Reference<XInputStream> SAL_CALL - getInputStream ( - void - ) override + virtual Reference<XInputStream> SAL_CALL getInputStream() override { osl::MutexGuard aGuard(m_aMutex); return m_xStream; diff --git a/vcl/unx/gtk/a11y/atkwrapper.cxx b/vcl/unx/gtk/a11y/atkwrapper.cxx index 02bb04cc18b5..875d5a26fb9f 100644 --- a/vcl/unx/gtk/a11y/atkwrapper.cxx +++ b/vcl/unx/gtk/a11y/atkwrapper.cxx @@ -693,7 +693,7 @@ isOfType( uno::XInterface *pInterface, const uno::Type & rType ) } extern "C" { -typedef GType (* GetGIfaceType ) (void); +typedef GType (* GetGIfaceType ) (); } const struct { const char *name; |