This is an automated email from the ASF dual-hosted git repository.
mseidel pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/openoffice.git
The following commit(s) were added to refs/heads/trunk by this push:
new 9b3bc896ab pre-commit auto whitespace cleanup for xlb files (#391)
9b3bc896ab is described below
commit 9b3bc896abcfb1dd68a50ebeeef1c945e06f9ddc
Author: John Bampton <[email protected]>
AuthorDate: Fri Jul 25 01:58:25 2025 +1000
pre-commit auto whitespace cleanup for xlb files (#391)
Enforce 3 hooks for xlb files
---
.pre-commit-config.yaml | 6 +++---
main/helpauthoring/HelpAuthoring/dialog.xlb | 2 +-
main/helpauthoring/HelpAuthoring/script.xlb | 2 +-
.../BasicAndDialogs/ToolkitControls/ToolkitControls/dialog.xlb | 2 +-
.../BasicAndDialogs/ToolkitControls/ToolkitControls/script.xlb | 2 +-
.../Extensions/DialogWithHelp/DialogWithHelp/dialog.xlb | 2 +-
.../Extensions/DialogWithHelp/DialogWithHelp/script.xlb | 2 +-
main/sdext/source/pdfimport/dialogs/dialog.xlb | 2 +-
main/swext/mediawiki/dialogs/dialog.xlb | 8 ++++----
main/swext/mediawiki/dialogs/script.xlb | 8 ++++----
main/wizards/source/tools/script.xlb | 2 +-
main/wizards/source/tutorials/dialog.xlb | 2 +-
main/wizards/source/tutorials/script.xlb | 2 +-
13 files changed, 21 insertions(+), 21 deletions(-)
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 90caddb12a..a0d4704edc 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -33,12 +33,12 @@ repos:
- id: check-merge-conflict
- id: check-vcs-permalinks
- id: end-of-file-fixer
- files:
(m|M)akefile$|\.(asp|bat|c|cl|common|cxx|dxp|el|h|hrc|hxx|idl|in|ini|java|m|md|mk|mm|mod|pas|php|pl|pm|py|rc|rdf|sh|vbs|xba|xcs|xdl|xhp|xmi|xml|xsd|xslt?|ya?ml)$|^ext_libraries/.*$|^test/.*$
+ files:
(m|M)akefile$|\.(asp|bat|c|cl|common|cxx|dxp|el|h|hrc|hxx|idl|in|ini|java|m|md|mk|mm|mod|pas|php|pl|pm|py|rc|rdf|sh|vbs|xba|xcs|xdl|xhp|xlb|xmi|xml|xsd|xslt?|ya?ml)$|^ext_libraries/.*$|^test/.*$
- id: fix-byte-order-marker
- id: mixed-line-ending
- files:
^main/.*\.(c|h)xx$|^main/.*\.java$|\.(asp|c|cl|common|dxp|el|h|hrc|idl|in|ini|m|md|mk|mm|mod|pas|php|pl|pm|py|rc|rdf|sh|xba|xcs|xdl|xhp|xmi|xsd|xslt?|ya?ml)$|^main/accessibility/.*$|^main/afms/.*$|^main/animations/.*$|^main/apache-commons/.*$|^test/testgui/.*$
+ files:
^main/.*\.(c|h)xx$|^main/.*\.java$|\.(asp|c|cl|common|dxp|el|h|hrc|idl|in|ini|m|md|mk|mm|mod|pas|php|pl|pm|py|rc|rdf|sh|xba|xcs|xdl|xhp|xlb|xmi|xsd|xslt?|ya?ml)$|^main/accessibility/.*$|^main/afms/.*$|^main/animations/.*$|^main/apache-commons/.*$|^test/testgui/.*$
- id: trailing-whitespace
- files:
(m|M)akefile$|\.(asp|bat|c|cl|common|dxp|el|h|hrc|hxx|idl|in|ini|java|m|mk|mm|mod|pas|php|pl|pm|py|rc|rdf|sh|vbs|xba|xcs|xdl|xhp|xmi|xsd|ya?ml)$
+ files:
(m|M)akefile$|\.(asp|bat|c|cl|common|dxp|el|h|hrc|hxx|idl|in|ini|java|m|mk|mm|mod|pas|php|pl|pm|py|rc|rdf|sh|vbs|xba|xcs|xdl|xhp|xlb|xmi|xsd|ya?ml)$
- repo: https://github.com/codespell-project/codespell
rev: v2.4.1
hooks:
diff --git a/main/helpauthoring/HelpAuthoring/dialog.xlb
b/main/helpauthoring/HelpAuthoring/dialog.xlb
index 00ae5e3374..86196c148f 100644
--- a/main/helpauthoring/HelpAuthoring/dialog.xlb
+++ b/main/helpauthoring/HelpAuthoring/dialog.xlb
@@ -17,4 +17,4 @@
<library:element library:name="dlgLink"/>
<library:element library:name="dlg_BrowseEmbed"/>
<library:element library:name="dlgConfigure"/>
-</library:library>
\ No newline at end of file
+</library:library>
diff --git a/main/helpauthoring/HelpAuthoring/script.xlb
b/main/helpauthoring/HelpAuthoring/script.xlb
index 3173a46e5f..1c79ea2e5a 100644
--- a/main/helpauthoring/HelpAuthoring/script.xlb
+++ b/main/helpauthoring/HelpAuthoring/script.xlb
@@ -15,4 +15,4 @@
<library:element library:name="Validate"/>
<library:element library:name="Find"/>
<library:element library:name="Link"/>
-</library:library>
\ No newline at end of file
+</library:library>
diff --git
a/main/odk/examples/DevelopersGuide/BasicAndDialogs/ToolkitControls/ToolkitControls/dialog.xlb
b/main/odk/examples/DevelopersGuide/BasicAndDialogs/ToolkitControls/ToolkitControls/dialog.xlb
index a74e020a1d..db82a0c395 100644
---
a/main/odk/examples/DevelopersGuide/BasicAndDialogs/ToolkitControls/ToolkitControls/dialog.xlb
+++
b/main/odk/examples/DevelopersGuide/BasicAndDialogs/ToolkitControls/ToolkitControls/dialog.xlb
@@ -5,4 +5,4 @@
<library:element library:name="ProgressBarDlg"/>
<library:element library:name="ScrollBarDlg"/>
<library:element library:name="MultiPageDlg"/>
-</library:library>
\ No newline at end of file
+</library:library>
diff --git
a/main/odk/examples/DevelopersGuide/BasicAndDialogs/ToolkitControls/ToolkitControls/script.xlb
b/main/odk/examples/DevelopersGuide/BasicAndDialogs/ToolkitControls/ToolkitControls/script.xlb
index 03741ae358..030b7fc3ff 100644
---
a/main/odk/examples/DevelopersGuide/BasicAndDialogs/ToolkitControls/ToolkitControls/script.xlb
+++
b/main/odk/examples/DevelopersGuide/BasicAndDialogs/ToolkitControls/ToolkitControls/script.xlb
@@ -5,4 +5,4 @@
<library:element library:name="ProgressBar"/>
<library:element library:name="ScrollBar"/>
<library:element library:name="MultiPage"/>
-</library:library>
\ No newline at end of file
+</library:library>
diff --git
a/main/odk/examples/DevelopersGuide/Extensions/DialogWithHelp/DialogWithHelp/dialog.xlb
b/main/odk/examples/DevelopersGuide/Extensions/DialogWithHelp/DialogWithHelp/dialog.xlb
index bd7d00efd2..15057bfe5f 100644
---
a/main/odk/examples/DevelopersGuide/Extensions/DialogWithHelp/DialogWithHelp/dialog.xlb
+++
b/main/odk/examples/DevelopersGuide/Extensions/DialogWithHelp/DialogWithHelp/dialog.xlb
@@ -2,4 +2,4 @@
<!DOCTYPE library:library PUBLIC "-//OpenOffice.org//DTD OfficeDocument
1.0//EN" "library.dtd">
<library:library xmlns:library="http://openoffice.org/2000/library"
library:name="DialogWithHelp" library:readonly="false"
library:passwordprotected="false">
<library:element library:name="Dialog1"/>
-</library:library>
\ No newline at end of file
+</library:library>
diff --git
a/main/odk/examples/DevelopersGuide/Extensions/DialogWithHelp/DialogWithHelp/script.xlb
b/main/odk/examples/DevelopersGuide/Extensions/DialogWithHelp/DialogWithHelp/script.xlb
index 423177601c..56092b62ed 100644
---
a/main/odk/examples/DevelopersGuide/Extensions/DialogWithHelp/DialogWithHelp/script.xlb
+++
b/main/odk/examples/DevelopersGuide/Extensions/DialogWithHelp/DialogWithHelp/script.xlb
@@ -2,4 +2,4 @@
<!DOCTYPE library:library PUBLIC "-//OpenOffice.org//DTD OfficeDocument
1.0//EN" "library.dtd">
<library:library xmlns:library="http://openoffice.org/2000/library"
library:name="DialogWithHelp" library:readonly="false"
library:passwordprotected="false">
<library:element library:name="Module1"/>
-</library:library>
\ No newline at end of file
+</library:library>
diff --git a/main/sdext/source/pdfimport/dialogs/dialog.xlb
b/main/sdext/source/pdfimport/dialogs/dialog.xlb
index e025c4b13f..5c7b74f753 100644
--- a/main/sdext/source/pdfimport/dialogs/dialog.xlb
+++ b/main/sdext/source/pdfimport/dialogs/dialog.xlb
@@ -2,4 +2,4 @@
<!DOCTYPE library:library PUBLIC "-//OpenOffice.org//DTD OfficeDocument
1.0//EN" "library.dtd">
<library:library xmlns:library="http://openoffice.org/2000/library"
library:name="PDFImport" library:readonly="false"
library:passwordprotected="false">
<library:element library:name="TargetChooser"/>
-</library:library>
\ No newline at end of file
+</library:library>
diff --git a/main/swext/mediawiki/dialogs/dialog.xlb
b/main/swext/mediawiki/dialogs/dialog.xlb
index 38f196b2c0..5104d9c695 100644
--- a/main/swext/mediawiki/dialogs/dialog.xlb
+++ b/main/swext/mediawiki/dialogs/dialog.xlb
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--***********************************************************
- *
+ *
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -8,16 +8,16 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
- *
+ *
***********************************************************-->
diff --git a/main/swext/mediawiki/dialogs/script.xlb
b/main/swext/mediawiki/dialogs/script.xlb
index 8be1306379..4e440b8d85 100644
--- a/main/swext/mediawiki/dialogs/script.xlb
+++ b/main/swext/mediawiki/dialogs/script.xlb
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--***********************************************************
- *
+ *
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -8,16 +8,16 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
- *
+ *
***********************************************************-->
diff --git a/main/wizards/source/tools/script.xlb
b/main/wizards/source/tools/script.xlb
index fe4d74d603..c107f2c9bf 100644
--- a/main/wizards/source/tools/script.xlb
+++ b/main/wizards/source/tools/script.xlb
@@ -7,4 +7,4 @@
<library:element library:name="UCB"/>
<library:element library:name="Listbox"/>
<library:element library:name="Debug"/>
-</library:library>
\ No newline at end of file
+</library:library>
diff --git a/main/wizards/source/tutorials/dialog.xlb
b/main/wizards/source/tutorials/dialog.xlb
index e02b20688a..0bb4c55ecd 100644
--- a/main/wizards/source/tutorials/dialog.xlb
+++ b/main/wizards/source/tutorials/dialog.xlb
@@ -4,4 +4,4 @@
<library:element library:name="TutorialsDialog"/>
<library:element library:name="TutorialOpenDialog"/>
<library:element library:name="TutorialCloseDialog"/>
-</library:library>
\ No newline at end of file
+</library:library>
diff --git a/main/wizards/source/tutorials/script.xlb
b/main/wizards/source/tutorials/script.xlb
index 30280c6b1f..df0ec330e3 100644
--- a/main/wizards/source/tutorials/script.xlb
+++ b/main/wizards/source/tutorials/script.xlb
@@ -7,4 +7,4 @@
<library:element library:name="RoadMap"/>
<library:element library:name="ShowInfoDialog"/>
<library:element library:name="TutorialClose"/>
-</library:library>
\ No newline at end of file
+</library:library>