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

New commits:
commit 7763190f7ec27b733bfb83c3f1a5a5fdb3e43763
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Tue Nov 7 09:26:25 2023 +0100
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Tue Nov 7 10:28:39 2023 +0100

    loplugin:unnecessaryparen
    
    Change-Id: Ic236de610c956c81f7eb8b0c27cee0b0ed6910ed
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159055
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sberg...@redhat.com>

diff --git a/vcl/unx/gtk4/a11y.cxx b/vcl/unx/gtk4/a11y.cxx
index b60e3d0676de..482c3aef3487 100644
--- a/vcl/unx/gtk4/a11y.cxx
+++ b/vcl/unx/gtk4/a11y.cxx
@@ -493,7 +493,7 @@ lo_accessible_new(GdkDisplay* pDisplay, GtkAccessible* 
pParent,
         gtk_accessible_update_property(GTK_ACCESSIBLE(ret), 
GTK_ACCESSIBLE_PROPERTY_ORIENTATION,
                                        GTK_ORIENTATION_HORIZONTAL, -1);
     }
-    else if ((nStates & 
com::sun::star::accessibility::AccessibleStateType::VERTICAL))
+    else if (nStates & 
com::sun::star::accessibility::AccessibleStateType::VERTICAL)
     {
         gtk_accessible_update_property(GTK_ACCESSIBLE(ret), 
GTK_ACCESSIBLE_PROPERTY_ORIENTATION,
                                        GTK_ORIENTATION_VERTICAL, -1);

Reply via email to