summaryrefslogtreecommitdiffstats
path: root/src/extension/input.cpp
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-06-19 13:55:58 +0000
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-06-19 13:55:58 +0000
commit884fe02952017ac219cd23f9407d27ed4d8a8620 (patch)
treea86d66e240ae1e72007ba75b23757c71d5a9a28c /src/extension/input.cpp
parentRun clang-tidy’s modernize-use-emplace pass. (diff)
downloadinkscape-884fe02952017ac219cd23f9407d27ed4d8a8620.tar.gz
inkscape-884fe02952017ac219cd23f9407d27ed4d8a8620.zip
Run clang-tidy’s modernize-redundant-void-arg pass.
Diffstat (limited to 'src/extension/input.cpp')
-rw-r--r--src/extension/input.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/extension/input.cpp b/src/extension/input.cpp
index 3fb330998..a13b6c4ea 100644
--- a/src/extension/input.cpp
+++ b/src/extension/input.cpp
@@ -98,7 +98,7 @@ Input::Input (Inkscape::XML::Node * in_repr, Implementation::Implementation * in
\return None
\brief Destroys an Input extension
*/
-Input::~Input (void)
+Input::~Input ()
{
g_free(mimetype);
g_free(extension);
@@ -117,7 +117,7 @@ Input::~Input (void)
class' check function which also checks out the implementation.
*/
bool
-Input::check (void)
+Input::check ()
{
if (extension == nullptr)
return FALSE;
@@ -162,7 +162,7 @@ Input::open (const gchar *uri)
\brief Get the mime-type that describes this extension
*/
gchar *
-Input::get_mimetype(void)
+Input::get_mimetype()
{
return mimetype;
}
@@ -172,7 +172,7 @@ Input::get_mimetype(void)
\brief Get the filename extension for this extension
*/
gchar *
-Input::get_extension(void)
+Input::get_extension()
{
return extension;
}
@@ -182,7 +182,7 @@ Input::get_extension(void)
\brief Get the name of the filetype supported
*/
gchar *
-Input::get_filetypename(void)
+Input::get_filetypename()
{
if (filetypename != nullptr)
return filetypename;
@@ -195,7 +195,7 @@ Input::get_filetypename(void)
\brief Get the tooltip for more information on the filetype
*/
gchar *
-Input::get_filetypetooltip(void)
+Input::get_filetypetooltip()
{
return filetypetooltip;
}