vcl/unx/gtk3/gtkinst.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 32334811f09592d669576de00af778c86f637f3e
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Mon Nov 15 08:11:49 2021 +0100
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Mon Nov 15 11:14:41 2021 +0100

    loplugin:fakebool
    
    ..."use "bool" instead of 'gboolean' (aka 'int')" after Clang 14 trunk
    
<https://github.com/llvm/llvm-project/commit/4d8fff477e024698facd89741cc6cf996708d598>
    "[clang] retain type sugar in auto / template argument deduction".  
Arguably,
    the plugin should not warn about uses of `auto`, but then again there is a 
very
    similar case a few lines above that already uses `bool` instead of `auto`, 
so
    clean this one up as well.
    
    Change-Id: I62afa5ed30c192df7fa45aeb7d4a160712fa3794
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125215
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sberg...@redhat.com>

diff --git a/vcl/unx/gtk3/gtkinst.cxx b/vcl/unx/gtk3/gtkinst.cxx
index 56126820b94f..bb34db67447c 100644
--- a/vcl/unx/gtk3/gtkinst.cxx
+++ b/vcl/unx/gtk3/gtkinst.cxx
@@ -15037,7 +15037,7 @@ public:
     {
         GtkInstanceTreeIter& rGtkIter = 
static_cast<GtkInstanceTreeIter&>(rIter);
         GtkTreeIter tmp;
-        auto ret = gtk_tree_model_iter_parent(m_pTreeModel, &tmp, 
&rGtkIter.iter);
+        bool ret = gtk_tree_model_iter_parent(m_pTreeModel, &tmp, 
&rGtkIter.iter);
         rGtkIter.iter = tmp;
         return ret;
     }

Reply via email to