summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2020-02-29 23:07:11 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-03-01 16:42:14 +0100
commit4c483204edc5ab5da4b40eb92fd69c6d87d11505 (patch)
treea630532c82ee60ebd9f6a5a3e0254d56b238517a /bin
parentf1c011eb64b837bd375a6afbfa8cf784e3b723b8 (diff)
gla11y: Fix checking orphan labels
Change-Id: Icd43014f40a655b512b6328f4800906325d9b164 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89767 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/gla11y4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/gla11y b/bin/gla11y
index aff0a13172c6..1ae67b173959 100755
--- a/bin/gla11y
+++ b/bin/gla11y
@@ -10,7 +10,7 @@
# This file incorporates work covered by the following license notice:
#
# Copyright (c) 2018 Martin Pieuchot
-# Copyright (c) 2018-2019 Samuel Thibault <sthibault@hypra.fr>
+# Copyright (c) 2018-2020 Samuel Thibault <sthibault@hypra.fr>
#
# Permission to use, copy, modify, and distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
@@ -677,7 +677,7 @@ def is_orphan_label(filename, tree, root, obj, orphan_root, doprint = False):
# This label is part of a button
return False
- oid = obj.attrib.get('oid')
+ oid = obj.attrib.get('id')
if oid is not None:
if oid in labelled_by_elm:
# Some widget is labelled by us, we are not orphan.