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 e922939a8d pre-commit clean ups for `.el` and `.pas` files (#342)
e922939a8d is described below

commit e922939a8d73607a5a2b090afe272ea4c6bbb103
Author: John Bampton <jbamp...@users.noreply.github.com>
AuthorDate: Mon Mar 31 01:03:07 2025 +1000

    pre-commit clean ups for `.el` and `.pas` files (#342)
    
    Enforced 3 hooks:
    
    - end-of-file-fixer
    - mixed-line-ending
    - trailing-whitespace
    
    (cherry picked from commit 457f9c5b90845ceecf87fee6d85dd985ff8e9956)
---
 main/odk/examples/OLE/delphi/InsertTables/SampleCode.pas | 14 ++++++--------
 main/odk/examples/OLE/delphi/InsertTables/SampleUI.pas   | 12 ++++++------
 main/writerfilter/source/doctok/xmigen.el                |  6 +++---
 3 files changed, 15 insertions(+), 17 deletions(-)

diff --git a/main/odk/examples/OLE/delphi/InsertTables/SampleCode.pas 
b/main/odk/examples/OLE/delphi/InsertTables/SampleCode.pas
index 68559912f1..fba06b03b4 100644
--- a/main/odk/examples/OLE/delphi/InsertTables/SampleCode.pas
+++ b/main/odk/examples/OLE/delphi/InsertTables/SampleCode.pas
@@ -1,5 +1,5 @@
 /**************************************************************
- * 
+ *
  * 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
@@ -7,23 +7,23 @@
  * 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.
- * 
+ *
  *************************************************************/
 
 {***********************************************************************
  *
  *  The Contents of this file are made available subject to the terms of
  *  the BSD license.
- *  
+ *
  *  Copyright 2000, 2010 Oracle and/or its affiliates.
  *  All rights reserved.
  *
@@ -50,7 +50,7 @@
  *  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
  *  TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
  *  USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *     
+ *
  *************************************************************************}
 unit SampleCode;
 
@@ -410,5 +410,3 @@ begin
 end;
 
 end.
-
-
diff --git a/main/odk/examples/OLE/delphi/InsertTables/SampleUI.pas 
b/main/odk/examples/OLE/delphi/InsertTables/SampleUI.pas
index 529b89d6c1..65c3a6f0d1 100644
--- a/main/odk/examples/OLE/delphi/InsertTables/SampleUI.pas
+++ b/main/odk/examples/OLE/delphi/InsertTables/SampleUI.pas
@@ -1,5 +1,5 @@
 /**************************************************************
- * 
+ *
  * 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
@@ -7,23 +7,23 @@
  * 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.
- * 
+ *
  *************************************************************/
 
 {***********************************************************************
  *
  *  The Contents of this file are made available subject to the terms of
  *  the BSD license.
- *  
+ *
  *  Copyright 2000, 2010 Oracle and/or its affiliates.
  *  All rights reserved.
  *
@@ -50,7 +50,7 @@
  *  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
  *  TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
  *  USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *     
+ *
  *************************************************************************}
 unit SampleUI;
 
diff --git a/main/writerfilter/source/doctok/xmigen.el 
b/main/writerfilter/source/doctok/xmigen.el
index c852996043..733d0cd0ed 100644
--- a/main/writerfilter/source/doctok/xmigen.el
+++ b/main/writerfilter/source/doctok/xmigen.el
@@ -19,7 +19,7 @@
   (insert "        </UML:TaggedValue.type>\n")
   (insert "      </UML:TaggedValue>\n")
   (insert "    </UML:ModelElement.taggedValue>\n"))
-  
+
 (defun insert-uml-attribute (type name offset bits mask shift comment attrid)
   (insert "<UML:Classifier.feature>\n")
   (insert "  <UML:Attribute name=\"" name "\">\n")
@@ -119,8 +119,8 @@
   (insert "</UML:Generalization>\n"))
 
 (defun insert-uml-sprm (name sprmcode kind)
-  (insert-uml-class-begin name) 
+  (insert-uml-class-begin name)
   (insert-uml-stereotype "ww8sprm")
   (insert-uml-taggedvalue sprmcode "sprmcode")
   (insert-uml-taggedvalue (concat "rtf:" name) "sprmid")
-  (insert-uml-taggedvalue kind "kind"))
\ No newline at end of file
+  (insert-uml-taggedvalue kind "kind"))

Reply via email to