diff options
| author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2018-06-19 13:55:58 +0000 |
|---|---|---|
| committer | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2018-06-19 13:55:58 +0000 |
| commit | 884fe02952017ac219cd23f9407d27ed4d8a8620 (patch) | |
| tree | a86d66e240ae1e72007ba75b23757c71d5a9a28c /src/extension/output.cpp | |
| parent | Run clang-tidy’s modernize-use-emplace pass. (diff) | |
| download | inkscape-884fe02952017ac219cd23f9407d27ed4d8a8620.tar.gz inkscape-884fe02952017ac219cd23f9407d27ed4d8a8620.zip | |
Run clang-tidy’s modernize-redundant-void-arg pass.
Diffstat (limited to 'src/extension/output.cpp')
| -rw-r--r-- | src/extension/output.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/extension/output.cpp b/src/extension/output.cpp index d6f95c19a..5a39a2403 100644 --- a/src/extension/output.cpp +++ b/src/extension/output.cpp @@ -95,7 +95,7 @@ Output::Output (Inkscape::XML::Node * in_repr, Implementation::Implementation * /** \brief Destroy an output extension */ -Output::~Output (void) +Output::~Output () { g_free(mimetype); g_free(extension); @@ -113,7 +113,7 @@ Output::~Output (void) class' check function which also checks out the implementation. */ bool -Output::check (void) +Output::check () { if (extension == nullptr) return FALSE; @@ -128,7 +128,7 @@ Output::check (void) \brief Get the mime-type that describes this extension */ gchar * -Output::get_mimetype(void) +Output::get_mimetype() { return mimetype; } @@ -138,7 +138,7 @@ Output::get_mimetype(void) \brief Get the filename extension for this extension */ gchar * -Output::get_extension(void) +Output::get_extension() { return extension; } @@ -148,7 +148,7 @@ Output::get_extension(void) \brief Get the name of the filetype supported */ gchar * -Output::get_filetypename(void) +Output::get_filetypename() { if (filetypename != nullptr) return filetypename; @@ -161,7 +161,7 @@ Output::get_filetypename(void) \brief Get the tooltip for more information on the filetype */ gchar * -Output::get_filetypetooltip(void) +Output::get_filetypetooltip() { return filetypetooltip; } @@ -173,7 +173,7 @@ Output::get_filetypetooltip(void) Calls the implementation to get the preferences. */ bool -Output::prefs (void) +Output::prefs () { if (!loaded()) set_state(Extension::STATE_LOADED); |
