[openoffice] branch AOO42X updated: Fixed typos, removed whitespace

2022-02-12 Thread mseidel
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 ffea605  Fixed typos, removed whitespace
ffea605 is described below

commit ffea60523271b67baae4c54a3a54c286332dfa1c
Author: mseidel 
AuthorDate: Sat Feb 12 14:05:06 2022 +0100

Fixed typos, removed whitespace

(cherry picked from commit 002e2b2b0f316c060b83ff39613d9c63682a4d0d)
---
 .../DevelopersGuide/Config/ConfigExamples.java | 276 -
 .../FirstSteps/FirstConnection.java|  10 +-
 .../FirstSteps/FirstUnoContact.java|   8 +-
 .../FirstSteps/HelloTextTableShape.java|  26 +-
 .../DevelopersGuide/Text/TextDocuments.java| 660 ++---
 5 files changed, 490 insertions(+), 490 deletions(-)

diff --git a/main/odk/examples/DevelopersGuide/Config/ConfigExamples.java 
b/main/odk/examples/DevelopersGuide/Config/ConfigExamples.java
index a3d3af5..aacad47 100644
--- a/main/odk/examples/DevelopersGuide/Config/ConfigExamples.java
+++ b/main/odk/examples/DevelopersGuide/Config/ConfigExamples.java
@@ -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,16 +7,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.
- * 
+ *
  */
 
 
@@ -73,39 +73,39 @@ import com.sun.star.util.ChangesEvent;
o Resetting data to their defaults
 
Each example is in a separate method call.
-*/ 
-public class ConfigExamples  
+*/
+public class ConfigExamples
 {
// The ComponentContext interface of the remote component context
private XComponentContext mxContext = null;
 
-// The MultiComponentFactory interface of the ServiceManager
+   // The MultiComponentFactory interface of the ServiceManager
private XMultiComponentFactory mxServiceManager = null;
 
// The MultiServiceFactory interface of the ConfigurationProvider
private XMultiServiceFactory mxProvider = null;
 
-   public static void main( String args[] ) 
+   public static void main( String args[] )
{
 try {
 // get the remote office component context
 com.sun.star.uno.XComponentContext xContext =
 com.sun.star.comp.helper.Bootstrap.bootstrap();
-
+
 if( xContext != null )
 System.out.println("Connected to a running office ...");
 else
System.out.println( "ERROR: Cannot connect - no 
remote component context available." );
-
+
 // Create an instance of the class and call it's run method
 ConfigExamples aExample = new ConfigExamples(xContext);
 aExample.run( );
-
-// if you own the service manager dispose it here 
-// to ensure that the default provider is properly disposed and 
flushed
+
+// if you own the service manager dispose it here
+// to ensure that the default provider is properly disposed and 
flushed
 System.exit(0);
-   } 
-   catch( Exception e ) 
+   }
+   catch( Exception e )
{
e.printStackTrace();
 System.exit(-1);
@@ -122,10 +122,10 @@ public class ConfigExamples
 
 /** Run the examples with a default ConfigurationProvider
 */
-   public void run() 
+   public void run()
throws com.sun.star.uno.Exception
{
-mxProvider = createProvider(); 
+mxProvider = createProvider();
 
 runExamples( );
 
@@ -135,7 +135,7 @@ public class ConfigExamples
 
 /** Run the examples with a given ConfigurationProvider
 */
-   public void runExamples( ) 
+   public void runExamples( )
{
 if (checkProvider(mxProvider))
 {
@@ -156,9 +156,9 @@ public class ConfigExamples
 else
 System.out.println("ERROR: Cannot run examples without 
ConfigurationProvider.");
 
-   } 
+   }
 
-/** Do some simple checks, 

[openoffice] branch trunk updated: Fixed typos, removed whitespace

2022-02-12 Thread mseidel
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 002e2b2  Fixed typos, removed whitespace
002e2b2 is described below

commit 002e2b2b0f316c060b83ff39613d9c63682a4d0d
Author: mseidel 
AuthorDate: Sat Feb 12 14:05:06 2022 +0100

Fixed typos, removed whitespace
---
 .../DevelopersGuide/Config/ConfigExamples.java | 276 -
 .../FirstSteps/FirstConnection.java|  10 +-
 .../FirstSteps/FirstUnoContact.java|   8 +-
 .../FirstSteps/HelloTextTableShape.java|  26 +-
 .../DevelopersGuide/Text/TextDocuments.java| 660 ++---
 5 files changed, 490 insertions(+), 490 deletions(-)

diff --git a/main/odk/examples/DevelopersGuide/Config/ConfigExamples.java 
b/main/odk/examples/DevelopersGuide/Config/ConfigExamples.java
index a3d3af5..aacad47 100644
--- a/main/odk/examples/DevelopersGuide/Config/ConfigExamples.java
+++ b/main/odk/examples/DevelopersGuide/Config/ConfigExamples.java
@@ -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,16 +7,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.
- * 
+ *
  */
 
 
@@ -73,39 +73,39 @@ import com.sun.star.util.ChangesEvent;
o Resetting data to their defaults
 
Each example is in a separate method call.
-*/ 
-public class ConfigExamples  
+*/
+public class ConfigExamples
 {
// The ComponentContext interface of the remote component context
private XComponentContext mxContext = null;
 
-// The MultiComponentFactory interface of the ServiceManager
+   // The MultiComponentFactory interface of the ServiceManager
private XMultiComponentFactory mxServiceManager = null;
 
// The MultiServiceFactory interface of the ConfigurationProvider
private XMultiServiceFactory mxProvider = null;
 
-   public static void main( String args[] ) 
+   public static void main( String args[] )
{
 try {
 // get the remote office component context
 com.sun.star.uno.XComponentContext xContext =
 com.sun.star.comp.helper.Bootstrap.bootstrap();
-
+
 if( xContext != null )
 System.out.println("Connected to a running office ...");
 else
System.out.println( "ERROR: Cannot connect - no 
remote component context available." );
-
+
 // Create an instance of the class and call it's run method
 ConfigExamples aExample = new ConfigExamples(xContext);
 aExample.run( );
-
-// if you own the service manager dispose it here 
-// to ensure that the default provider is properly disposed and 
flushed
+
+// if you own the service manager dispose it here
+// to ensure that the default provider is properly disposed and 
flushed
 System.exit(0);
-   } 
-   catch( Exception e ) 
+   }
+   catch( Exception e )
{
e.printStackTrace();
 System.exit(-1);
@@ -122,10 +122,10 @@ public class ConfigExamples
 
 /** Run the examples with a default ConfigurationProvider
 */
-   public void run() 
+   public void run()
throws com.sun.star.uno.Exception
{
-mxProvider = createProvider(); 
+mxProvider = createProvider();
 
 runExamples( );
 
@@ -135,7 +135,7 @@ public class ConfigExamples
 
 /** Run the examples with a given ConfigurationProvider
 */
-   public void runExamples( ) 
+   public void runExamples( )
{
 if (checkProvider(mxProvider))
 {
@@ -156,9 +156,9 @@ public class ConfigExamples
 else
 System.out.println("ERROR: Cannot run examples without 
ConfigurationProvider.");
 
-   } 
+   }
 
-/** Do some simple checks, if tehre is a valid ConfigurationProvider
+/** Do some simple checks, if