vcl/unx/gtk3/a11y/atkselection.cxx |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit beb3d232f0d2987c09e2963c49329575a4e66048
Author:     Michael Weghorn <m.wegh...@posteo.de>
AuthorDate: Wed Aug 31 08:46:41 2022 +0200
Commit:     Michael Weghorn <m.wegh...@posteo.de>
CommitDate: Wed Aug 31 12:33:27 2022 +0200

    gtk3 a11y: Use name of the actually called methods in SAL_WARN
    
    The previously used ones look like copy-paste errors.
    
    Change-Id: I58eebff657f01cc1b0fb9acd661603cc41a09ce6
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139072
    Tested-by: Jenkins
    Reviewed-by: Michael Weghorn <m.wegh...@posteo.de>

diff --git a/vcl/unx/gtk3/a11y/atkselection.cxx 
b/vcl/unx/gtk3/a11y/atkselection.cxx
index 22d515f1b6fa..6b64c25f4fee 100644
--- a/vcl/unx/gtk3/a11y/atkselection.cxx
+++ b/vcl/unx/gtk3/a11y/atkselection.cxx
@@ -76,7 +76,7 @@ selection_clear_selection( AtkSelection *selection )
         }
     }
     catch(const uno::Exception&) {
-        g_warning( "Exception in selectAccessibleChild()" );
+        g_warning( "Exception in clearAccessibleSelection()" );
     }
 
     return FALSE;
@@ -126,7 +126,7 @@ selection_is_child_selected( AtkSelection   *selection,
             return pSelection->isAccessibleChildSelected( i );
     }
     catch(const uno::Exception&) {
-        g_warning( "Exception in getSelectedAccessibleChildCount()" );
+        g_warning( "Exception in isAccessibleChildSelected()" );
     }
 
     return FALSE;
@@ -152,7 +152,7 @@ selection_remove_selection( AtkSelection *selection,
         }
     }
     catch(const uno::Exception&) {
-        g_warning( "Exception in getSelectedAccessibleChildCount()" );
+        g_warning( "Exception in getSelectedAccessibleChild(), 
getAccessibleIndexInParent() or deselectAccessibleChild()" );
     }
 
     return FALSE;
@@ -171,7 +171,7 @@ selection_select_all_selection( AtkSelection   *selection)
         }
     }
     catch(const uno::Exception&) {
-        g_warning( "Exception in getSelectedAccessibleChildCount()" );
+        g_warning( "Exception in selectAllAccessibleChildren()" );
     }
 
     return FALSE;

Reply via email to