diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-11-12 21:53:31 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-11-13 15:06:42 +0100 |
commit | 913d34ec6b8fdb2796f76ce90fee51ade2051189 (patch) | |
tree | 261aefa505e7d71ad38c9d5b2ae0cfe92e9738c8 /vcl/unx/gtk3/gtk3glomenu.cxx | |
parent | eea0879cdf1b40e6ce424dd97b58e2a84846ad79 (diff) |
Extend loplugin:salbool to loplugin:fakebool
...checking for unnecessary uses of more "fake bool" types.
In the past, some of the checks involving the types of variables or data
members, or the return types of functions, issued warnings that required
surrounding code to be changed too (e.g., when changing the signature of a
function whose address was taken). These checks have been tightened now to not
warn in such cases (which avoids warnings that require changes to additional
code, or changes that might even be impossible to make, at the cost of being
less aggressive about removing all unnecessary uses of those "fake bool" types).
Change-Id: I70eb75039817cda34ed611387ee27dc5f36a3e2e
Reviewed-on: https://gerrit.libreoffice.org/82554
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'vcl/unx/gtk3/gtk3glomenu.cxx')
-rw-r--r-- | vcl/unx/gtk3/gtk3glomenu.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/gtk3/gtk3glomenu.cxx b/vcl/unx/gtk3/gtk3glomenu.cxx index d6ac0d0a89ae..a82c6946422c 100644 --- a/vcl/unx/gtk3/gtk3glomenu.cxx +++ b/vcl/unx/gtk3/gtk3glomenu.cxx @@ -52,7 +52,7 @@ g_lo_menu_struct_item_init (struct item *menu_item) * - no consecutive '-' * - not longer than 1024 chars */ -static gboolean +static bool valid_attribute_name (const gchar *name) { gint i; |