From 641f91100a30a9faf2d24de1c449b95b62fc37d5 Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Wed, 8 Nov 2023 22:57:49 +0100 Subject: [PATCH] Fix typo Change-Id: I3933be04cacda3dd271c20b2248561da85a069b2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159190 Tested-by: Julien Nabet Reviewed-by: Julien Nabet --- compilerplugins/clang/fieldcast.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compilerplugins/clang/fieldcast.py b/compilerplugins/clang/fieldcast.py index cc6d3f3e5b3c..fc09063571ee 100755 --- a/compilerplugins/clang/fieldcast.py +++ b/compilerplugins/clang/fieldcast.py @@ -54,7 +54,7 @@ def natural_sort_key(s, _nsre=re.compile('([0-9]+)')): return [int(text) if text.isdigit() else text.lower() for text in re.split(_nsre, s)] # sort by both the source-line and the datatype, so the output file ordering is stable -# when we have multiple fieldds declared on the same source line +# when we have multiple fields declared on the same source line def v_sort_key(v): return natural_sort_key(v[1]) + [v[0]]