vcl/unx/gtk4/convert3to4.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 2029fb151855fba2f812403fbb96b0db1965bcf6 Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Tue Feb 15 08:09:32 2022 +0100 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Tue Feb 15 10:04:01 2022 +0100 loplugin:fakebool ("use 'bool' instead of 'gboolean' (aka 'int')") Change-Id: I9a2e830ecf22f65a8313985a07c98d4e92ea5688 Change-Id: I2cf51ce0ad6107339c8ec18592c952c829a7af42 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129951 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> diff --git a/vcl/unx/gtk4/convert3to4.cxx b/vcl/unx/gtk4/convert3to4.cxx index 89d08fce3632..56684197cc9a 100644 --- a/vcl/unx/gtk4/convert3to4.cxx +++ b/vcl/unx/gtk4/convert3to4.cxx @@ -1493,7 +1493,7 @@ void builder_add_from_gtk3_file(GtkBuilder* pBuilder, const OUString& rUri) if (!nRead) break; // fprintf(stderr, "text is %s\n", reinterpret_cast<const gchar*>(bytes.getArray())); - auto rc = gtk_builder_add_from_string( + bool rc = gtk_builder_add_from_string( pBuilder, reinterpret_cast<const gchar*>(bytes.getArray()), nRead, &err); if (!rc) {