This is an automated email from the ASF dual-hosted git repository.

mseidel pushed a commit to branch AOO42X
in repository https://gitbox.apache.org/repos/asf/openoffice.git


The following commit(s) were added to refs/heads/AOO42X by this push:
     new 959e796cf4 pre-commit(end-of-file-fixer): autofix xsl files (#326)
959e796cf4 is described below

commit 959e796cf412b7dc05ad418c3614f2f4415a4acb
Author: John Bampton <[email protected]>
AuthorDate: Mon Mar 3 09:29:45 2025 +1000

    pre-commit(end-of-file-fixer): autofix xsl files (#326)
    
    (cherry picked from commit 026dc2ab00bf52756dbba833f292155bf885fa49)
---
 main/filter/source/config/fragments/langfilter.xsl                      | 1 -
 main/filter/source/docbook/docbooktosoffheadings.xsl                    | 2 +-
 main/filter/source/xslt/common/copy.xsl                                 | 1 -
 main/filter/source/xslt/export/spreadsheetml/table.xsl                  | 1 -
 .../source/xslt/odf2xhtml/export/common/styles/style_mapping_css.xsl    | 1 -
 main/filter/source/xslt/odf2xhtml/export/xhtml/table.xsl                | 1 -
 main/helpcontent2/source/auxiliary/index.xsl                            | 2 --
 main/officecfg/util/data_val.xsl                                        | 1 -
 main/readlicense_oo/docs/readme/eval.xsl                                | 1 -
 main/writerfilter/source/doctok/analyzer.xsl                            | 2 +-
 main/writerfilter/source/doctok/resources.xsl                           | 1 -
 main/writerfilter/source/doctok/resourcesimpl.xsl                       | 1 -
 main/writerfilter/source/doctok/tidyxmi.xsl                             | 2 +-
 main/writerfilter/source/ooxml/analyzemodel.xsl                         | 2 +-
 main/writerfilter/source/ooxml/analyzestage2.xsl                        | 2 +-
 main/writerfilter/source/ooxml/analyzestage3.xsl                        | 2 +-
 main/writerfilter/source/ooxml/attrsprm.xsl                             | 2 +-
 main/writerfilter/source/ooxml/checkmodel.xsl                           | 2 +-
 main/writerfilter/source/ooxml/effort.xsl                               | 2 +-
 main/writerfilter/source/ooxml/gperffasttokenhandler.xsl                | 2 +-
 main/writerfilter/source/ooxml/nostatus.xsl                             | 2 +-
 main/writerfilter/source/ooxml/qnametostr.xsl                           | 2 +-
 main/writerfilter/source/ooxml/resourceids.xsl                          | 2 +-
 main/writerfilter/source/ooxml/todo.xsl                                 | 2 +-
 main/xmlhelp/util/idxcaption.xsl                                        | 1 -
 main/xmlhelp/util/idxcontent.xsl                                        | 2 --
 26 files changed, 14 insertions(+), 28 deletions(-)

diff --git a/main/filter/source/config/fragments/langfilter.xsl 
b/main/filter/source/config/fragments/langfilter.xsl
index d62d997cb9..4f4bf0d8b6 100644
--- a/main/filter/source/config/fragments/langfilter.xsl
+++ b/main/filter/source/config/fragments/langfilter.xsl
@@ -54,4 +54,3 @@
 
 
 </xsl:stylesheet>
-
diff --git a/main/filter/source/docbook/docbooktosoffheadings.xsl 
b/main/filter/source/docbook/docbooktosoffheadings.xsl
index d333314f27..3e897b7cd1 100644
--- a/main/filter/source/docbook/docbooktosoffheadings.xsl
+++ b/main/filter/source/docbook/docbooktosoffheadings.xsl
@@ -1418,4 +1418,4 @@
                        <xsl:value-of select="programlisting"/>
                </xsl:element>
        </xsl:template>
-</xsl:stylesheet>
\ No newline at end of file
+</xsl:stylesheet>
diff --git a/main/filter/source/xslt/common/copy.xsl 
b/main/filter/source/xslt/common/copy.xsl
index 9d9e1cc299..f09b7d6ab0 100644
--- a/main/filter/source/xslt/common/copy.xsl
+++ b/main/filter/source/xslt/common/copy.xsl
@@ -26,4 +26,3 @@
                <xsl:copy-of select="."/>
        </xsl:template>
 </xsl:stylesheet>
-
diff --git a/main/filter/source/xslt/export/spreadsheetml/table.xsl 
b/main/filter/source/xslt/export/spreadsheetml/table.xsl
index 4430a9fcbe..5f80cd94e6 100644
--- a/main/filter/source/xslt/export/spreadsheetml/table.xsl
+++ b/main/filter/source/xslt/export/spreadsheetml/table.xsl
@@ -930,4 +930,3 @@
        <xsl:template match="text()"><xsl:value-of select="." /></xsl:template>
 
 </xsl:stylesheet>
-
diff --git 
a/main/filter/source/xslt/odf2xhtml/export/common/styles/style_mapping_css.xsl 
b/main/filter/source/xslt/odf2xhtml/export/common/styles/style_mapping_css.xsl
index 81c3570b9e..78fb1ed32f 100644
--- 
a/main/filter/source/xslt/odf2xhtml/export/common/styles/style_mapping_css.xsl
+++ 
b/main/filter/source/xslt/odf2xhtml/export/common/styles/style_mapping_css.xsl
@@ -348,4 +348,3 @@
                </xsl:choose>
        </xsl:template>
 </xsl:stylesheet>
-
diff --git a/main/filter/source/xslt/odf2xhtml/export/xhtml/table.xsl 
b/main/filter/source/xslt/odf2xhtml/export/xhtml/table.xsl
index 0ee26290af..93e535faf0 100644
--- a/main/filter/source/xslt/odf2xhtml/export/xhtml/table.xsl
+++ b/main/filter/source/xslt/odf2xhtml/export/xhtml/table.xsl
@@ -215,4 +215,3 @@
           </xsl:attribute>
        </xsl:template>
 </xsl:stylesheet>
-
diff --git a/main/helpcontent2/source/auxiliary/index.xsl 
b/main/helpcontent2/source/auxiliary/index.xsl
index 597a9c33a0..9c817d0d7b 100644
--- a/main/helpcontent2/source/auxiliary/index.xsl
+++ b/main/helpcontent2/source/auxiliary/index.xsl
@@ -139,5 +139,3 @@
 <xsl:template match="*"/>
        
 </xsl:stylesheet>
-
-
diff --git a/main/officecfg/util/data_val.xsl b/main/officecfg/util/data_val.xsl
index 6fc9bbbb34..1b521d1b26 100644
--- a/main/officecfg/util/data_val.xsl
+++ b/main/officecfg/util/data_val.xsl
@@ -293,4 +293,3 @@
 
 
 </xsl:transform>
-
diff --git a/main/readlicense_oo/docs/readme/eval.xsl 
b/main/readlicense_oo/docs/readme/eval.xsl
index 8287118c6c..8d377d7a7e 100644
--- a/main/readlicense_oo/docs/readme/eval.xsl
+++ b/main/readlicense_oo/docs/readme/eval.xsl
@@ -109,4 +109,3 @@
        </xsl:template>
        
 </xsl:stylesheet>
-
diff --git a/main/writerfilter/source/doctok/analyzer.xsl 
b/main/writerfilter/source/doctok/analyzer.xsl
index 79b1caf112..d034872e85 100644
--- a/main/writerfilter/source/doctok/analyzer.xsl
+++ b/main/writerfilter/source/doctok/analyzer.xsl
@@ -29,4 +29,4 @@
   <xsl:call-template name="analyzerdoctokids"/>
 </xsl:template>
 
-</xsl:stylesheet>
\ No newline at end of file
+</xsl:stylesheet>
diff --git a/main/writerfilter/source/doctok/resources.xsl 
b/main/writerfilter/source/doctok/resources.xsl
index 3afd3eac13..c2bacfb722 100644
--- a/main/writerfilter/source/doctok/resources.xsl
+++ b/main/writerfilter/source/doctok/resources.xsl
@@ -901,4 +901,3 @@ class </xsl:text>
 </xsl:template>
 
 </xsl:stylesheet>
-
diff --git a/main/writerfilter/source/doctok/resourcesimpl.xsl 
b/main/writerfilter/source/doctok/resourcesimpl.xsl
index 89177513cc..0092f13af7 100644
--- a/main/writerfilter/source/doctok/resourcesimpl.xsl
+++ b/main/writerfilter/source/doctok/resourcesimpl.xsl
@@ -846,4 +846,3 @@ bool isBooleanDffOpt(sal_uInt32 nId)
 </xsl:template>
 
 </xsl:stylesheet>
-
diff --git a/main/writerfilter/source/doctok/tidyxmi.xsl 
b/main/writerfilter/source/doctok/tidyxmi.xsl
index ecb78c214c..d2ec404590 100644
--- a/main/writerfilter/source/doctok/tidyxmi.xsl
+++ b/main/writerfilter/source/doctok/tidyxmi.xsl
@@ -111,4 +111,4 @@
   <xsl:comment>DFFOPT <xsl:value-of select="@xmi.id"/></xsl:comment>
 </xsl:template>
 
-</xsl:stylesheet>
\ No newline at end of file
+</xsl:stylesheet>
diff --git a/main/writerfilter/source/ooxml/analyzemodel.xsl 
b/main/writerfilter/source/ooxml/analyzemodel.xsl
index 2e5448ff15..c801ad533e 100644
--- a/main/writerfilter/source/ooxml/analyzemodel.xsl
+++ b/main/writerfilter/source/ooxml/analyzemodel.xsl
@@ -122,4 +122,4 @@
         <xsl:copy-of select="@supported"/>
        </xsl:for-each>
 </xsl:template>
-</xsl:stylesheet>
\ No newline at end of file
+</xsl:stylesheet>
diff --git a/main/writerfilter/source/ooxml/analyzestage2.xsl 
b/main/writerfilter/source/ooxml/analyzestage2.xsl
index 8e76316f10..2f307c1ee9 100644
--- a/main/writerfilter/source/ooxml/analyzestage2.xsl
+++ b/main/writerfilter/source/ooxml/analyzestage2.xsl
@@ -49,4 +49,4 @@
         </xsl:when>
     </xsl:choose>
 </xsl:template>
-</xsl:stylesheet>
\ No newline at end of file
+</xsl:stylesheet>
diff --git a/main/writerfilter/source/ooxml/analyzestage3.xsl 
b/main/writerfilter/source/ooxml/analyzestage3.xsl
index 5114e2c687..d7e4bc9790 100644
--- a/main/writerfilter/source/ooxml/analyzestage3.xsl
+++ b/main/writerfilter/source/ooxml/analyzestage3.xsl
@@ -57,4 +57,4 @@
        </stage3>
 </xsl:template>
 
-</xsl:stylesheet>      
\ No newline at end of file
+</xsl:stylesheet>      
diff --git a/main/writerfilter/source/ooxml/attrsprm.xsl 
b/main/writerfilter/source/ooxml/attrsprm.xsl
index f3534c1ff7..10209962ad 100644
--- a/main/writerfilter/source/ooxml/attrsprm.xsl
+++ b/main/writerfilter/source/ooxml/attrsprm.xsl
@@ -159,4 +159,4 @@
     </attribute>
   </xsl:template>
 
-</xsl:stylesheet>
\ No newline at end of file
+</xsl:stylesheet>
diff --git a/main/writerfilter/source/ooxml/checkmodel.xsl 
b/main/writerfilter/source/ooxml/checkmodel.xsl
index 45819ca8ff..5eb6b68992 100644
--- a/main/writerfilter/source/ooxml/checkmodel.xsl
+++ b/main/writerfilter/source/ooxml/checkmodel.xsl
@@ -157,4 +157,4 @@
       <xsl:call-template name="checkmodel"/>
     </out>
   </xsl:template>
-</xsl:stylesheet>
\ No newline at end of file
+</xsl:stylesheet>
diff --git a/main/writerfilter/source/ooxml/effort.xsl 
b/main/writerfilter/source/ooxml/effort.xsl
index b1a55c045a..1d513e35f9 100644
--- a/main/writerfilter/source/ooxml/effort.xsl
+++ b/main/writerfilter/source/ooxml/effort.xsl
@@ -63,4 +63,4 @@
   </xsl:for-each>
 </xsl:template>
 
-</xsl:stylesheet>
\ No newline at end of file
+</xsl:stylesheet>
diff --git a/main/writerfilter/source/ooxml/gperffasttokenhandler.xsl 
b/main/writerfilter/source/ooxml/gperffasttokenhandler.xsl
index 4339463283..5fd54eae4c 100644
--- a/main/writerfilter/source/ooxml/gperffasttokenhandler.xsl
+++ b/main/writerfilter/source/ooxml/gperffasttokenhandler.xsl
@@ -86,4 +86,4 @@ struct token { const char * name; sal_Int32 nToken; };
     <xsl:call-template name="gperfinputfasttokenhandler"/>
   </xsl:template>
 
-</xsl:stylesheet>
\ No newline at end of file
+</xsl:stylesheet>
diff --git a/main/writerfilter/source/ooxml/nostatus.xsl 
b/main/writerfilter/source/ooxml/nostatus.xsl
index 961171b21a..eee2f75a09 100644
--- a/main/writerfilter/source/ooxml/nostatus.xsl
+++ b/main/writerfilter/source/ooxml/nostatus.xsl
@@ -37,4 +37,4 @@
        </xsl:for-each>
 </xsl:template>
 
-</xsl:stylesheet>
\ No newline at end of file
+</xsl:stylesheet>
diff --git a/main/writerfilter/source/ooxml/qnametostr.xsl 
b/main/writerfilter/source/ooxml/qnametostr.xsl
index 7a85c0bcdd..a71e0533bc 100644
--- a/main/writerfilter/source/ooxml/qnametostr.xsl
+++ b/main/writerfilter/source/ooxml/qnametostr.xsl
@@ -122,4 +122,4 @@ void ooxmlidsToXML(::std::ostream &amp; out)
     <xsl:call-template name="ooxmlidstoxml"/>
   </xsl:template>
 
-</xsl:stylesheet>
\ No newline at end of file
+</xsl:stylesheet>
diff --git a/main/writerfilter/source/ooxml/resourceids.xsl 
b/main/writerfilter/source/ooxml/resourceids.xsl
index 8f63ce4c3a..cfa372c946 100644
--- a/main/writerfilter/source/ooxml/resourceids.xsl
+++ b/main/writerfilter/source/ooxml/resourceids.xsl
@@ -95,4 +95,4 @@ namespace writerfilter {
 
 }
 #endif // INCLUDED_OOXML_RESOURCEIDS_HXX&#xa;</xsl:text></out></xsl:template>
-</xsl:stylesheet>
\ No newline at end of file
+</xsl:stylesheet>
diff --git a/main/writerfilter/source/ooxml/todo.xsl 
b/main/writerfilter/source/ooxml/todo.xsl
index 61a7d03040..2cf26ee424 100644
--- a/main/writerfilter/source/ooxml/todo.xsl
+++ b/main/writerfilter/source/ooxml/todo.xsl
@@ -47,4 +47,4 @@
     </todo>
   </xsl:template>
 
-</xsl:stylesheet>
\ No newline at end of file
+</xsl:stylesheet>
diff --git a/main/xmlhelp/util/idxcaption.xsl b/main/xmlhelp/util/idxcaption.xsl
index c7fc820ad8..12e39123b5 100644
--- a/main/xmlhelp/util/idxcaption.xsl
+++ b/main/xmlhelp/util/idxcaption.xsl
@@ -51,4 +51,3 @@
 <xsl:template match="*"/>
 
 </xsl:stylesheet>
-
diff --git a/main/xmlhelp/util/idxcontent.xsl b/main/xmlhelp/util/idxcontent.xsl
index 053c45cf4a..6682446f0f 100644
--- a/main/xmlhelp/util/idxcontent.xsl
+++ b/main/xmlhelp/util/idxcontent.xsl
@@ -120,5 +120,3 @@
 <xsl:template match="*"/>
 
 </xsl:stylesheet>
-
-

Reply via email to