You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ji...@apache.org on 2026/06/05 11:04:32 UTC

(openoffice) branch backport/phase1-format-ci created (now b4fbd80c76)

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

jimjag pushed a change to branch backport/phase1-format-ci
in repository https://gitbox.apache.org/repos/asf/openoffice.git


      at b4fbd80c76 Fix codespell-flagged typos to align with trunk

This branch includes the following new commits:

     new f30d168aa8 Backport pre-commit and CI configuration from trunk
     new 8c14ed50d3 Apply pre-commit hooks to align whitespace formatting with trunk
     new b4fbd80c76 Fix codespell-flagged typos to align with trunk

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(openoffice) 03/03: Fix codespell-flagged typos to align with trunk

Posted by ji...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

jimjag pushed a commit to branch backport/phase1-format-ci
in repository https://gitbox.apache.org/repos/asf/openoffice.git

commit b4fbd80c764c1bd0f84389af737e3a865c8074a2
Author: Jim Jagielski <ji...@gmail.com>
AuthorDate: Fri Jun 5 07:03:47 2026 -0400

    Fix codespell-flagged typos to align with trunk
    
    Ran codespell with the backported ignore-words list and applied its
    corrections (--write-changes), fixing 52 spelling errors across 44
    files. All are in comments, strings, and log messages (e.g. unknwon ->
    unknown, shuting -> shutting, Retrives -> Retrieves); no code
    identifiers were touched. Each typo was verified absent from trunk
    beforehand, so these fixes reduce divergence rather than add it.
    
    Phase 1 backport (A_FORMAT + B_CI_DOCS), codespell step.
---
 main/accessibility/source/standard/vclxaccessibletoolbox.cxx |  2 +-
 .../src/main/java/com/sun/star/beans/OfficeConnection.java   |  2 +-
 .../main/java/com/sun/star/comp/beans/OfficeConnection.java  |  2 +-
 .../src/main/java/com/sun/star/comp/beans/OfficeWindow.java  |  4 ++--
 main/chart2/source/view/main/PropertyMapper.cxx              |  2 +-
 main/comphelper/inc/comphelper/embeddedobjectcontainer.hxx   |  2 +-
 main/comphelper/inc/comphelper/extract.hxx                   |  2 +-
 main/comphelper/inc/comphelper/namedvaluecollection.hxx      |  2 +-
 main/comphelper/source/misc/locale.cxx                       |  4 ++--
 main/configmgr/source/components.cxx                         |  2 +-
 main/cppu/source/typelib/typelib.cxx                         |  6 +++---
 main/desktop/source/app/configinit.hxx                       |  2 +-
 main/dtrans/source/cnttype/wbench/testcnttype.cxx            |  2 +-
 main/dtrans/source/win32/workbench/test_wincb.cxx            |  2 +-
 .../filter/detection/typeDetection/TypeDetection.java        |  2 +-
 main/filter/source/config/cache/querytokenizer.hxx           |  4 ++--
 main/fpicker/source/win32/filepicker/workbench/Test_fps.cxx  |  2 +-
 .../source/win32/folderpicker/workbench/Test_fops.cxx        |  2 +-
 main/framework/inc/services/desktop.hxx                      |  2 +-
 main/framework/inc/services/frameloaderfactory.hxx           |  2 +-
 main/framework/inc/threadhelp/transactionbase.hxx            |  4 ++--
 main/framework/source/inc/loadenv/targethelper.hxx           |  4 ++--
 main/framework/source/services/substitutepathvars.cxx        |  2 +-
 main/offapi/com/sun/star/awt/XDisplayConnection.idl          |  2 +-
 main/qadevOOo/tests/java/ifc/i18n/_XCalendar.java            |  4 ++--
 .../tests/java/ifc/i18n/_XCharacterClassification.java       |  2 +-
 main/sal/systools/win32/uwinapi/sntprintf.c                  |  2 +-
 main/scripting/README                                        |  2 +-
 main/sd/source/filter/ppt/pptinanimations.cxx                |  4 ++--
 main/shell/source/win32/workbench/TestSmplMail.cxx           |  2 +-
 main/shell/source/win32/workbench/TestSysShExec.cxx          |  2 +-
 main/sw/source/ui/dbui/maildispatcher.cxx                    | 12 ++++++------
 main/sw/source/ui/docvw/SidebarWin.cxx                       |  2 +-
 main/sw/source/ui/uno/unoatxt.cxx                            |  2 +-
 main/toolkit/qa/complex/toolkit/GridControl.java             |  4 ++--
 main/unotools/source/config/viewoptions.cxx                  |  4 ++--
 main/vcl/qa/complex/memCheck/CheckMemoryUsage.java           |  2 +-
 main/vcl/source/app/svdata.cxx                               |  2 +-
 main/vcl/source/fontsubset/ttcr.cxx                          |  2 +-
 main/vcl/unx/generic/printer/cupsmgr.cxx                     |  2 +-
 main/wizards/com/sun/star/wizards/ui/DocumentPreview.java    |  2 +-
 main/xmloff/source/chart/XMLChartStyleContext.cxx            |  2 +-
 main/xmloff/source/core/xmlimp.cxx                           |  2 +-
 main/xmloff/source/transform/TransformerBase.cxx             |  2 +-
 44 files changed, 60 insertions(+), 60 deletions(-)

diff --git a/main/accessibility/source/standard/vclxaccessibletoolbox.cxx b/main/accessibility/source/standard/vclxaccessibletoolbox.cxx
index d9c38f19c5..4a959b8959 100644
--- a/main/accessibility/source/standard/vclxaccessibletoolbox.cxx
+++ b/main/accessibility/source/standard/vclxaccessibletoolbox.cxx
@@ -633,7 +633,7 @@ void VCLXAccessibleToolBox::ProcessWindowEvent( const VclWindowEvent& rVclWindow
 
 		case VCLEVENT_OBJECT_DYING :
 		{
-            // if this toolbox is a subtoolbox, we have to relese it from its parent
+            // if this toolbox is a subtoolbox, we have to release it from its parent
             ToolBox* pToolBox = static_cast< ToolBox* >( GetWindow() );
             if ( pToolBox && pToolBox->GetParent() &&
                  pToolBox->GetParent()->GetType() == WINDOW_TOOLBOX )
diff --git a/main/bean/java/officebean/src/main/java/com/sun/star/beans/OfficeConnection.java b/main/bean/java/officebean/src/main/java/com/sun/star/beans/OfficeConnection.java
index b63bb67d5d..bd50220e61 100644
--- a/main/bean/java/officebean/src/main/java/com/sun/star/beans/OfficeConnection.java
+++ b/main/bean/java/officebean/src/main/java/com/sun/star/beans/OfficeConnection.java
@@ -53,7 +53,7 @@ public interface OfficeConnection
 	void setContainerFactory(ContainerFactory containerFactory);
 
 	/**
-	 * Retrives the UNO component context.
+	 * Retrieves the UNO component context.
 	 * Establishes a connection if necessary and initialises the
 	 * UNO service manager if it has not already been initialised.
 	 *
diff --git a/main/bean/java/officebean/src/main/java/com/sun/star/comp/beans/OfficeConnection.java b/main/bean/java/officebean/src/main/java/com/sun/star/comp/beans/OfficeConnection.java
index a095bd65d3..f77f8c5316 100644
--- a/main/bean/java/officebean/src/main/java/com/sun/star/comp/beans/OfficeConnection.java
+++ b/main/bean/java/officebean/src/main/java/com/sun/star/comp/beans/OfficeConnection.java
@@ -54,7 +54,7 @@ public interface OfficeConnection
 	void setContainerFactory(ContainerFactory containerFactory);
 
 	/**
-	 * Retrives the UNO component context.
+	 * Retrieves the UNO component context.
 	 * Establishes a connection if necessary and initialises the
 	 * UNO service manager if it has not already been initialised.
 	 *
diff --git a/main/bean/java/officebean/src/main/java/com/sun/star/comp/beans/OfficeWindow.java b/main/bean/java/officebean/src/main/java/com/sun/star/comp/beans/OfficeWindow.java
index 896d6fcd16..cf3dcb960d 100644
--- a/main/bean/java/officebean/src/main/java/com/sun/star/comp/beans/OfficeWindow.java
+++ b/main/bean/java/officebean/src/main/java/com/sun/star/comp/beans/OfficeWindow.java
@@ -37,14 +37,14 @@ import com.sun.star.awt.XWindowPeer;
 public interface OfficeWindow
 {
 	/**
-	 * Retrives an AWT component object associated with the OfficeWindow.
+	 * Retrieves an AWT component object associated with the OfficeWindow.
 	 *
 	 * @return The AWT component object associated with the OfficeWindow.
 	 */
 	Component getAWTComponent();
 
 	/**
-	 * Retrives an UNO XWindowPeer object associated with the OfficeWindow.
+	 * Retrieves an UNO XWindowPeer object associated with the OfficeWindow.
 	 *
 	 * @return The UNO XWindowPeer object associated with the OfficeWindow.
 	 */
diff --git a/main/chart2/source/view/main/PropertyMapper.cxx b/main/chart2/source/view/main/PropertyMapper.cxx
index bfcab1f2c1..015a33deae 100644
--- a/main/chart2/source/view/main/PropertyMapper.cxx
+++ b/main/chart2/source/view/main/PropertyMapper.cxx
@@ -418,7 +418,7 @@ void PropertyMapper::setMultiProperties(
     }
     catch( uno::Exception& e )
     {
-        ASSERT_EXCEPTION( e ); //if this occurs more often think of removing the XMultiPropertySet completly for better performance
+        ASSERT_EXCEPTION( e ); //if this occurs more often think of removing the XMultiPropertySet completely for better performance
     }
 
     if(!bSuccess)
diff --git a/main/comphelper/inc/comphelper/embeddedobjectcontainer.hxx b/main/comphelper/inc/comphelper/embeddedobjectcontainer.hxx
index 95bf2f1b97..3d9566f86d 100644
--- a/main/comphelper/inc/comphelper/embeddedobjectcontainer.hxx
+++ b/main/comphelper/inc/comphelper/embeddedobjectcontainer.hxx
@@ -173,7 +173,7 @@ sal_Bool            RemoveEmbeddedObject( const ::com::sun::star::uno::Reference
 
     /** call setPersistentEntry for each embedded object in the container
     *
-    * \param _xStorage The storeage where to store the objects.
+    * \param _xStorage The storage where to store the objects.
     * \param _bClearModifedFlag If <TRUE/> then the modifed flag will be set to <FALSE/> otherwise nothing happen.
     * \return <FALSE/> if no error occurred, otherwise <TRUE/>.
     */
diff --git a/main/comphelper/inc/comphelper/extract.hxx b/main/comphelper/inc/comphelper/extract.hxx
index a6622844c7..ccc879ef43 100644
--- a/main/comphelper/inc/comphelper/extract.hxx
+++ b/main/comphelper/inc/comphelper/extract.hxx
@@ -38,7 +38,7 @@ namespace cppu
  *<BR>
  * @param nEnum			int32 enum value
  * @param rType			enum type
- * @return enum or emoty any.
+ * @return enum or empty any.
  */
 inline ::com::sun::star::uno::Any SAL_CALL int2enum(
 	sal_Int32 nEnum, const ::com::sun::star::uno::Type & rType )
diff --git a/main/comphelper/inc/comphelper/namedvaluecollection.hxx b/main/comphelper/inc/comphelper/namedvaluecollection.hxx
index bc59efd3d0..6a8369a8eb 100644
--- a/main/comphelper/inc/comphelper/namedvaluecollection.hxx
+++ b/main/comphelper/inc/comphelper/namedvaluecollection.hxx
@@ -158,7 +158,7 @@ namespace comphelper
 
             @return
                 <TRUE/> if there is a value with the given name, which could successfully
-                be extraced. In this case, <arg>_out_rValue</arg> will contain the requested
+                be extracted. In this case, <arg>_out_rValue</arg> will contain the requested
                 value.<br/>
                 <FALSE/>, if there is no value with the given name.
             @throws IllegalArgumentException
diff --git a/main/comphelper/source/misc/locale.cxx b/main/comphelper/source/misc/locale.cxx
index 7db3847ac0..fa316231be 100644
--- a/main/comphelper/source/misc/locale.cxx
+++ b/main/comphelper/source/misc/locale.cxx
@@ -375,7 +375,7 @@ Locale::Locale(const ::rtl::OUString& sLanguage,
 //-----------------------------------------------
 Locale::Locale()
 {
-    // Initialize instance ... otherwhise user will
+    // Initialize instance ... otherwise user will
     // may be get exceptions if he e.g. copy this instance ...
     (*this) = X_NOTRANSLATE();
 }
@@ -511,7 +511,7 @@ sal_Bool Locale::similar(const Locale& aComparable) const
     Locale aReference(sReferenceISO);
 
     // Note: The same language or "en"/"en-US" should be preferred as fallback.
-    // On the other side some localized variables doesn't use localzation in real.
+    // On the other side some localized variables doesn't use localization in real.
     // May be the use a "fix" value only ... marked as X-DEFAULT or X-NOTRANSLATE.
     // At least it can be discussed, if any language is a valid fallback ...
     // But in case some office functionality depends on that (that means real functionality instead
diff --git a/main/configmgr/source/components.cxx b/main/configmgr/source/components.cxx
index d5d1f4fad5..923f917021 100644
--- a/main/configmgr/source/components.cxx
+++ b/main/configmgr/source/components.cxx
@@ -478,7 +478,7 @@ css::beans::Optional< css::uno::Any > Components::getExternalValue(
             throw css::uno::RuntimeException(
                 (rtl::OUString(
                     RTL_CONSTASCII_USTRINGPARAM(
-                        "unknwon external value descriptor ID: ")) +
+                        "unknown external value descriptor ID: ")) +
                  e.Message),
                 css::uno::Reference< css::uno::XInterface >());
         } catch (css::lang::WrappedTargetException & e) {
diff --git a/main/cppu/source/typelib/typelib.cxx b/main/cppu/source/typelib/typelib.cxx
index 2e96610611..bc153bc2a2 100644
--- a/main/cppu/source/typelib/typelib.cxx
+++ b/main/cppu/source/typelib/typelib.cxx
@@ -1730,7 +1730,7 @@ extern "C" void SAL_CALL typelib_typedescription_register(
 				}
 				else if( !pTDR->pType->bOnDemand && (*ppNewDescription)->bOnDemand )
 				{
-					// switch from !OnDemand to OnDemand, so the description must be relesed
+					// switch from !OnDemand to OnDemand, so the description must be released
 					typelib_typedescription_release( pTDR->pType );
 				}
 
@@ -2440,7 +2440,7 @@ extern "C" void SAL_CALL typelib_typedescriptionreference_getDescription(
 		{
 			::osl_decrementInterlockedCount( &pRef->pType->nRefCount );
 			// detruction of this type in progress (another thread!)
-			// no acces through this weak reference
+			// no access through this weak reference
 			pRef->pType = 0;
 		}
 	}
@@ -2480,7 +2480,7 @@ extern "C" void SAL_CALL typelib_typedescriptionreference_getByName(
 			else
 			{
 				// detruction of this type in progress (another thread!)
-				// no acces through this weak reference
+				// no access through this weak reference
 				::osl_decrementInterlockedCount( &(*aIt).second->nRefCount );
 			}
 		}
diff --git a/main/desktop/source/app/configinit.hxx b/main/desktop/source/app/configinit.hxx
index e2056c2966..4e64b3c78d 100644
--- a/main/desktop/source/app/configinit.hxx
+++ b/main/desktop/source/app/configinit.hxx
@@ -37,7 +37,7 @@ displayable message.
         if the configuration provider can't be created
 
     @throw com::sun::star::lang::ServiceNotRegisteredException
-        if the ConfigurationProvider service is unknwon
+        if the ConfigurationProvider service is unknown
 
     @throw com::sun::star::lang::WrappedTargetException
         if the configuration backend could be created,
diff --git a/main/dtrans/source/cnttype/wbench/testcnttype.cxx b/main/dtrans/source/cnttype/wbench/testcnttype.cxx
index 07d5a11a3a..3762e82a44 100644
--- a/main/dtrans/source/cnttype/wbench/testcnttype.cxx
+++ b/main/dtrans/source/cnttype/wbench/testcnttype.cxx
@@ -115,7 +115,7 @@ void ShutdownServiceMgr( Reference< XMultiServiceFactory >& SrvMgr )
 	Reference< XComponent > xComponent( SrvMgr, UNO_QUERY );
 
 	if ( !xComponent.is() )
-		OSL_ENSURE(sal_False, "Error shuting down");
+		OSL_ENSURE(sal_False, "Error shutting down");
 
 	// Dispose and clear factory
 	xComponent->dispose();
diff --git a/main/dtrans/source/win32/workbench/test_wincb.cxx b/main/dtrans/source/win32/workbench/test_wincb.cxx
index 8c29755d3e..55d186ed41 100644
--- a/main/dtrans/source/win32/workbench/test_wincb.cxx
+++ b/main/dtrans/source/win32/workbench/test_wincb.cxx
@@ -329,7 +329,7 @@ int SAL_CALL main( int nArgc, char* Argv[] )
 	Reference< XComponent > xComponent( g_xFactory, UNO_QUERY );
 
 	if ( !xComponent.is() )
-		OSL_ENSURE(sal_False, "Error shuting down");
+		OSL_ENSURE(sal_False, "Error shutting down");
 
 	// Dispose and clear factory
 	xComponent->dispose();
diff --git a/main/filter/qa/complex/filter/detection/typeDetection/TypeDetection.java b/main/filter/qa/complex/filter/detection/typeDetection/TypeDetection.java
index 5e31789acf..84fd5c3b94 100644
--- a/main/filter/qa/complex/filter/detection/typeDetection/TypeDetection.java
+++ b/main/filter/qa/complex/filter/detection/typeDetection/TypeDetection.java
@@ -230,7 +230,7 @@ public class TypeDetection extends ComplexTestCase {
             String kName = ((String)k.nextElement()).toString();
             log.println(kName + ":" + param.get(kName).toString());
         }
-        // create instrace of helper class
+        // create instance of helper class
         helper = new Helper(param, log);
 
     }
diff --git a/main/filter/source/config/cache/querytokenizer.hxx b/main/filter/source/config/cache/querytokenizer.hxx
index 0d1d3c173b..f76e88ef44 100644
--- a/main/filter/source/config/cache/querytokenizer.hxx
+++ b/main/filter/source/config/cache/querytokenizer.hxx
@@ -54,7 +54,7 @@ namespace filter{
                 uses this schema.
 
     @attention  This class is not threadsafe implemented. Because its not necessary.
-                But you have to make shure, that ist not used as such :-)
+                But you have to make sure, that ist not used as such :-)
  */
 class QueryTokenizer : public ::std::hash_map< ::rtl::OUString                    ,
                                                ::rtl::OUString                    ,
@@ -82,7 +82,7 @@ class QueryTokenizer : public ::std::hash_map< ::rtl::OUString
         /** @short  create a new tokenizer instance with a
                     a new query.
 
-            @descr  The given query is immidiatly analyzed
+            @descr  The given query is immediately analyzed
                     and separated into its token, which can
                     be access by some specialized method later.
 
diff --git a/main/fpicker/source/win32/filepicker/workbench/Test_fps.cxx b/main/fpicker/source/win32/filepicker/workbench/Test_fps.cxx
index 6642458f5a..1201139660 100644
--- a/main/fpicker/source/win32/filepicker/workbench/Test_fps.cxx
+++ b/main/fpicker/source/win32/filepicker/workbench/Test_fps.cxx
@@ -369,7 +369,7 @@ int SAL_CALL main(int nArgc, char* Argv[], char* Env[]	)
 	// Print a message if an error occurred.
 	if ( xComponent.is() == sal_False )
 	{
-		OSL_ENSURE(sal_False, "Error shuting down");
+		OSL_ENSURE(sal_False, "Error shutting down");
 	}
 
 	// Dispose and clear factory
diff --git a/main/fpicker/source/win32/folderpicker/workbench/Test_fops.cxx b/main/fpicker/source/win32/folderpicker/workbench/Test_fops.cxx
index d6fdf05b00..33277f8586 100644
--- a/main/fpicker/source/win32/folderpicker/workbench/Test_fops.cxx
+++ b/main/fpicker/source/win32/folderpicker/workbench/Test_fops.cxx
@@ -183,7 +183,7 @@ int SAL_CALL main(int /*nArgc*/, char* /*Argv[]*/, char* /*Env[]*/	)
 	// Print a message if an error occurred.
 	if ( xComponent.is() == sal_False )
 	{
-		OSL_ENSURE(sal_False, "Error shuting down");
+		OSL_ENSURE(sal_False, "Error shutting down");
 	}
 
 	// Dispose and clear factory
diff --git a/main/framework/inc/services/desktop.hxx b/main/framework/inc/services/desktop.hxx
index ceae15d38a..1ae23e7fb8 100644
--- a/main/framework/inc/services/desktop.hxx
+++ b/main/framework/inc/services/desktop.hxx
@@ -485,7 +485,7 @@ class Desktop   :   // interfaces
         css::uno::Reference< css::frame::XTerminateListener > m_xSWThreadManager;
 
         //---------------------------------------------------------------------
-        /** special terminate listener shuting down the SfxApplication.
+        /** special terminate listener shutting down the SfxApplication.
           * Because these desktop instance closes documents and informs listener
           * only ... it does not really shutdown the whole application.
           *
diff --git a/main/framework/inc/services/frameloaderfactory.hxx b/main/framework/inc/services/frameloaderfactory.hxx
index 0d332f8847..a13f459be2 100644
--- a/main/framework/inc/services/frameloaderfactory.hxx
+++ b/main/framework/inc/services/frameloaderfactory.hxx
@@ -257,7 +257,7 @@ class FrameLoaderFactory	:	public ThreadHelpBase							,		// Struct for right in
 			@short		check if searched frame loader exist in configuration
 			@descr		Normally nobody needs really these method (use getElementNames() in combination with getByName()).
 						We guarantee correctness of these mechanism. There is no reason to check for existing elements then ...
-						but if you have an unknwon name and has no fun to search it in returned sequence ...
+						but if you have an unknown name and has no fun to search it in returned sequence ...
 						you can call these ...
 
 			@seealso	method getByName()
diff --git a/main/framework/inc/threadhelp/transactionbase.hxx b/main/framework/inc/threadhelp/transactionbase.hxx
index 179db9f54d..5c20e6a315 100644
--- a/main/framework/inc/threadhelp/transactionbase.hxx
+++ b/main/framework/inc/threadhelp/transactionbase.hxx
@@ -53,11 +53,11 @@ namespace framework{
 //_________________________________________________________________________________________________________________
 
 /*-************************************************************************************************************//**
-    @short          make it possible to instanciate a transacion manager as first member!
+    @short          make it possible to instantiate a transaction manager as first member!
     @descr          If you use a transaction manager as a member of your class and whish to use it earlier then other ones
 					you should have a look on this implementation. You must use it as the first base class
 					of your implementation - because base classes are initialized by his order and before your
-                    member! Thats why ist a good place to declare this member.
+                    member! That's why ist a good place to declare this member.
 
 	@implements		-
 	@base			-
diff --git a/main/framework/source/inc/loadenv/targethelper.hxx b/main/framework/source/inc/loadenv/targethelper.hxx
index 9727f16559..ba12e6adfa 100644
--- a/main/framework/source/inc/loadenv/targethelper.hxx
+++ b/main/framework/source/inc/loadenv/targethelper.hxx
@@ -80,7 +80,7 @@ class TargetHelper
             @note   An empty target is similar to "_self"!
 
             @param  sCheckTarget
-                    must be the unknwon target name, which should be checked.
+                    must be the unknown target name, which should be checked.
 
             @param  eSpecialTarget
                     represent the expected target.
@@ -104,7 +104,7 @@ class TargetHelper
                     by definition inside the same frame tree (e.g. _beamer and
                     OFFICE_HELP_TASK) its not a good idea to allow anything here :-)
 
-                    Of course we can't check unknwon names, which are not special ones.
+                    Of course we can't check unknown names, which are not special ones.
                     But we decide, that it's not allowed to use "_" as first sign
                     (because we reserve this letter for our own purposes!)
                     and the value must not a well known special target.
diff --git a/main/framework/source/services/substitutepathvars.cxx b/main/framework/source/services/substitutepathvars.cxx
index 7b7b907c6a..c1f58d8fc5 100644
--- a/main/framework/source/services/substitutepathvars.cxx
+++ b/main/framework/source/services/substitutepathvars.cxx
@@ -976,7 +976,7 @@ throw ( NoSuchElementException, RuntimeException )
         }
         else
         {
-            // variable in text but unknwon!
+            // variable in text but unknown!
             if ( bSubstRequired )
             {
                 rtl::OUString aMsg( RTL_CONSTASCII_USTRINGPARAM( "Unknown variable found!" ));
diff --git a/main/offapi/com/sun/star/awt/XDisplayConnection.idl b/main/offapi/com/sun/star/awt/XDisplayConnection.idl
index 8ad46c6854..c396bb4c30 100644
--- a/main/offapi/com/sun/star/awt/XDisplayConnection.idl
+++ b/main/offapi/com/sun/star/awt/XDisplayConnection.idl
@@ -63,7 +63,7 @@ published interface XDisplayConnection: com::sun::star::uno::XInterface
 
 		@param window
 		the platform specific window id the handler should be deregistered for.
-		If empty, the handler should be deregistered completly.
+		If empty, the handler should be deregistered completely.
 
 		@param eventHandler
 		the handler to remove.
diff --git a/main/qadevOOo/tests/java/ifc/i18n/_XCalendar.java b/main/qadevOOo/tests/java/ifc/i18n/_XCalendar.java
index 87a733ffbd..917d90627b 100644
--- a/main/qadevOOo/tests/java/ifc/i18n/_XCalendar.java
+++ b/main/qadevOOo/tests/java/ifc/i18n/_XCalendar.java
@@ -371,7 +371,7 @@ public class _XCalendar extends MultiMethodTest {
         res &= (aValue == newValue);
         if (!res){
             log.println("the returned value is not the expected value:");
-            log.println("expexted: " + newValue + "  returned value: " + aValue);
+            log.println("expected: " + newValue + "  returned value: " + aValue);
         }
         tRes.tested("getValue()", res);
     }
@@ -395,7 +395,7 @@ public class _XCalendar extends MultiMethodTest {
         res &= (aValue > newValue);
         if (!res){
             log.println("the returned value is not the expected value:");
-            log.println("expexted: " + newValue + "  returned value: " + aValue);
+            log.println("expected: " + newValue + "  returned value: " + aValue);
         }
         tRes.tested("addValue()", res);
     }
diff --git a/main/qadevOOo/tests/java/ifc/i18n/_XCharacterClassification.java b/main/qadevOOo/tests/java/ifc/i18n/_XCharacterClassification.java
index 8e81b4fcee..7405527e1d 100644
--- a/main/qadevOOo/tests/java/ifc/i18n/_XCharacterClassification.java
+++ b/main/qadevOOo/tests/java/ifc/i18n/_XCharacterClassification.java
@@ -232,7 +232,7 @@ public class _XCharacterClassification extends MultiMethodTest {
                 if (!res) {
                     log.println("FAILED for: language=" + languages[j] +
                         " ; country=" + countries[j]);
-                    log.println("Sysmbol :" + toCheck.toCharArray()[i]);
+                    log.println("Symbol :" + toCheck.toCharArray()[i]);
                     log.println("Gained: " + get);
                     log.println("Expected : " + expected[i]);
                 }
diff --git a/main/sal/systools/win32/uwinapi/sntprintf.c b/main/sal/systools/win32/uwinapi/sntprintf.c
index f46ee676af..b1cd9302e7 100644
--- a/main/sal/systools/win32/uwinapi/sntprintf.c
+++ b/main/sal/systools/win32/uwinapi/sntprintf.c
@@ -58,7 +58,7 @@ static int __cdecl _vsctprintf( const _TXCHAR *format, va_list ap )
 
 /*	This function retrieves the pointer to the last character of a buffer.
 	That is the pointer to the last character of the buffer that fits
-	completly into that	buffer or the position of the terminating zero.
+	completely into that	buffer or the position of the terminating zero.
 
 	buffer	Pointer to a _TXCHAR buffer to be examined
 	count	size of the buffer to be examined
diff --git a/main/scripting/README b/main/scripting/README
index 2b6a7936e1..c88dd5285a 100644
--- a/main/scripting/README
+++ b/main/scripting/README
@@ -35,7 +35,7 @@ UNO dialogs from various languages
 - java/com/sun/star/script/framework/provider
 
 Implementation of an abstract base class ScriptProvider which provides
-core methods for implementing Java based LanguageScriptProvider implemetations
+core methods for implementing Java based LanguageScriptProvider implementations
 
 - java/com/sun/star/script/framework/provider/*
 
diff --git a/main/sd/source/filter/ppt/pptinanimations.cxx b/main/sd/source/filter/ppt/pptinanimations.cxx
index b3059d1f76..776f4614ef 100644
--- a/main/sd/source/filter/ppt/pptinanimations.cxx
+++ b/main/sd/source/filter/ppt/pptinanimations.cxx
@@ -3150,7 +3150,7 @@ sal_Int32 AnimationImporter::importTargetElementContainer( const Atom* pAtom, An
 			}
 			break;
 			default:
-				DBG_ERROR("unknwon atom inside ppt::AnimationImporter::importTargetElementContainer()!");
+				DBG_ERROR("unknown atom inside ppt::AnimationImporter::importTargetElementContainer()!");
 				break;
 			}
 
@@ -3181,7 +3181,7 @@ void AnimationImporter::importPropertySetContainer( const Atom* pAtom, PropertyS
 			}
 			else
 			{
-				DBG_ERROR("unknwon atom inside ppt::AnimationImporter::importPropertySetContainer()!");
+				DBG_ERROR("unknown atom inside ppt::AnimationImporter::importPropertySetContainer()!");
 			}
 
 			pChildAtom = pAtom->findNextChildAtom( pChildAtom );
diff --git a/main/shell/source/win32/workbench/TestSmplMail.cxx b/main/shell/source/win32/workbench/TestSmplMail.cxx
index 0117a4fe8d..70274e6f5b 100644
--- a/main/shell/source/win32/workbench/TestSmplMail.cxx
+++ b/main/shell/source/win32/workbench/TestSmplMail.cxx
@@ -170,7 +170,7 @@ int SAL_CALL main(int , char*, char* )
 	// Print a message if an error occurred.
 	if ( xComponent.is() == sal_False )
 	{
-		OSL_ENSURE(sal_False, "Error shuting down");
+		OSL_ENSURE(sal_False, "Error shutting down");
 	}
 
 	// Dispose and clear factory
diff --git a/main/shell/source/win32/workbench/TestSysShExec.cxx b/main/shell/source/win32/workbench/TestSysShExec.cxx
index 1fedbec0fd..19fb6af7eb 100644
--- a/main/shell/source/win32/workbench/TestSysShExec.cxx
+++ b/main/shell/source/win32/workbench/TestSysShExec.cxx
@@ -146,7 +146,7 @@ int SAL_CALL main(int nArgc, char* Argv[], char*	)
 	// Print a message if an error occurred.
 	if ( xComponent.is() == sal_False )
 	{
-		OSL_ENSURE(sal_False, "Error shuting down");
+		OSL_ENSURE(sal_False, "Error shutting down");
 	}
 
 	// Dispose and clear factory
diff --git a/main/sw/source/ui/dbui/maildispatcher.cxx b/main/sw/source/ui/dbui/maildispatcher.cxx
index 7a7f23a81f..cc3d682aaa 100644
--- a/main/sw/source/ui/dbui/maildispatcher.cxx
+++ b/main/sw/source/ui/dbui/maildispatcher.cxx
@@ -126,7 +126,7 @@ void MailDispatcher::enqueueMailMessage(uno::Reference<mail::XMailMessage> messa
     ::osl::MutexGuard thread_status_guard(thread_status_mutex_);
     ::osl::MutexGuard message_container_guard(message_container_mutex_);
 
-    OSL_PRECOND(!shutdown_requested_, "MailDispatcher thread is shuting down already");
+    OSL_PRECOND(!shutdown_requested_, "MailDispatcher thread is shutting down already");
 
     messages_.push_back(message);
     if (run_)
@@ -151,7 +151,7 @@ void MailDispatcher::start()
 
     ::osl::ClearableMutexGuard thread_status_guard(thread_status_mutex_);
 
-    OSL_PRECOND(!shutdown_requested_, "MailDispatcher thread is shuting down already");
+    OSL_PRECOND(!shutdown_requested_, "MailDispatcher thread is shutting down already");
 
     if (!shutdown_requested_)
     {
@@ -170,7 +170,7 @@ void MailDispatcher::stop()
 
     ::osl::ClearableMutexGuard thread_status_guard(thread_status_mutex_);
 
-    OSL_PRECOND(!shutdown_requested_, "MailDispatcher thread is shuting down already");
+    OSL_PRECOND(!shutdown_requested_, "MailDispatcher thread is shutting down already");
 
     if (!shutdown_requested_)
     {
@@ -187,7 +187,7 @@ void MailDispatcher::shutdown()
 {
     ::osl::MutexGuard thread_status_guard(thread_status_mutex_);
 
-    OSL_PRECOND(!shutdown_requested_, "MailDispatcher thread is shuting down already");
+    OSL_PRECOND(!shutdown_requested_, "MailDispatcher thread is shutting down already");
 
     shutdown_requested_ = true;
     wakening_call_.set();
@@ -200,7 +200,7 @@ bool MailDispatcher::isStarted() const
 
 void MailDispatcher::addListener(::rtl::Reference<IMailDispatcherListener> listener)
 {
-    OSL_PRECOND(!shutdown_requested_, "MailDispatcher thread is shuting down already");
+    OSL_PRECOND(!shutdown_requested_, "MailDispatcher thread is shutting down already");
 
     ::osl::MutexGuard guard(listener_container_mutex_);
     listeners_.push_back(listener);
@@ -208,7 +208,7 @@ void MailDispatcher::addListener(::rtl::Reference<IMailDispatcherListener> liste
 
 void MailDispatcher::removeListener(::rtl::Reference<IMailDispatcherListener> listener)
 {
-    OSL_PRECOND(!shutdown_requested_, "MailDispatcher thread is shuting down already");
+    OSL_PRECOND(!shutdown_requested_, "MailDispatcher thread is shutting down already");
 
     ::osl::MutexGuard guard(listener_container_mutex_);
     listeners_.remove(listener);
diff --git a/main/sw/source/ui/docvw/SidebarWin.cxx b/main/sw/source/ui/docvw/SidebarWin.cxx
index 13f332fae8..d74e30b969 100644
--- a/main/sw/source/ui/docvw/SidebarWin.cxx
+++ b/main/sw/source/ui/docvw/SidebarWin.cxx
@@ -980,7 +980,7 @@ void SwSidebarWin::ToggleInsMode()
     {
         //change outliner
         mpOutlinerView->GetEditView().SetInsertMode(!mpOutlinerView->GetEditView().IsInsertMode());
-        //change documnet
+        //change document
         mrView.GetWrtShell().ToggleInsMode();
         //update statusbar
         SfxBindings &rBnd = mrView.GetViewFrame()->GetBindings();
diff --git a/main/sw/source/ui/uno/unoatxt.cxx b/main/sw/source/ui/uno/unoatxt.cxx
index 7caf06813d..09e86303c7 100644
--- a/main/sw/source/ui/uno/unoatxt.cxx
+++ b/main/sw/source/ui/uno/unoatxt.cxx
@@ -933,7 +933,7 @@ void SwXAutoTextEntry::Notify( SfxBroadcaster& _rBC, const SfxHint& _rHint )
 		{
             if ( SFX_HINT_DEINITIALIZING == static_cast< const SfxSimpleHint& >( _rHint ).GetId() )
 			{
-				// our document is dying (possibly because we're shuting down, and the document was notified
+				// our document is dying (possibly because we're shutting down, and the document was notified
 				// earlier than we are?)
 				// stop listening at the docu
 				EndListening( *&xDocSh );
diff --git a/main/toolkit/qa/complex/toolkit/GridControl.java b/main/toolkit/qa/complex/toolkit/GridControl.java
index 05440a5d96..430f3397d1 100644
--- a/main/toolkit/qa/complex/toolkit/GridControl.java
+++ b/main/toolkit/qa/complex/toolkit/GridControl.java
@@ -214,7 +214,7 @@ public class GridControl
         test.testUpdateRowHeading();
         test.cleanup();
 
-        // a somehwat less straight-forward test: the data model is expected to implicitly increase its column count
+        // a somewhat less straight-forward test: the data model is expected to implicitly increase its column count
         // when you add a row which has more columns than currently known
         final XMutableGridDataModel dataModel = DefaultGridDataModel.create( m_context );
         dataModel.addRow( 0, new Object[] { 1 } );
@@ -302,7 +302,7 @@ public class GridControl
                 removeColumnIndex, removalIndex );
         }
 
-        // calling addColumn with a column not created by the given model/implementatoion should not succeed
+        // calling addColumn with a column not created by the given model/implementation should not succeed
         boolean caughtExpected = false;
         try
         {
diff --git a/main/unotools/source/config/viewoptions.cxx b/main/unotools/source/config/viewoptions.cxx
index 5202198716..cb9a2793a5 100644
--- a/main/unotools/source/config/viewoptions.cxx
+++ b/main/unotools/source/config/viewoptions.cxx
@@ -335,7 +335,7 @@ class SvtViewOptionsBase_Impl
     @short          ctor
     @descr          We use it to open right configuration file and let configuration objects fill her caches.
                     Then we read all existing entries from right list and cached it inside our object too.
-                    Normaly we should enable notifications for changes on these values too ... but these feature
+                    Normally we should enable notifications for changes on these values too ... but these feature
                     isn't full implemented in the moment.
 
     @seealso        baseclass ::utl::ConfigItem
@@ -1234,7 +1234,7 @@ void SvtViewOptions::SetUserItem( const ::rtl::OUString& sName  ,
 		// ... we must create a new one. Protect follow code with the global mutex -
 		// It must be - we create a static variable!
         ::osl::MutexGuard aGuard( ::osl::Mutex::getGlobalMutex() );
-		// We must check our pointer again - because it can be that another instance of ouer class will be fastr then these!
+		// We must check our pointer again - because it can be that another instance of outer class will be faster then these!
         if( pMutex == NULL )
         {
 			// Create the new mutex and set it for return on static variable.
diff --git a/main/vcl/qa/complex/memCheck/CheckMemoryUsage.java b/main/vcl/qa/complex/memCheck/CheckMemoryUsage.java
index b12b440cbc..a82f18f1f3 100644
--- a/main/vcl/qa/complex/memCheck/CheckMemoryUsage.java
+++ b/main/vcl/qa/complex/memCheck/CheckMemoryUsage.java
@@ -122,7 +122,7 @@ public class CheckMemoryUsage /* extends ComplexTestCase */
 //        return new String[] {"loadAndSaveDocuments"};
 //    }
     /**
-     * Collect all documnets to load and all filters used for export.
+     * Collect all documents to load and all filters used for export.
      */
     @Before
     public void before()
diff --git a/main/vcl/source/app/svdata.cxx b/main/vcl/source/app/svdata.cxx
index b547b121b6..2931c839a8 100644
--- a/main/vcl/source/app/svdata.cxx
+++ b/main/vcl/source/app/svdata.cxx
@@ -346,7 +346,7 @@ com::sun::star::uno::Any AccessBridgeCurrentContext::getValueByName( const rtl::
     com::sun::star::uno::Any ret;
     if( Name.equalsAscii( "java-vm.interaction-handler" ) )
     {
-        // Currently, for accessbility no interaction handler shall be offered.
+        // Currently, for accessibility no interaction handler shall be offered.
         // There may be introduced later on a handler using native toolkits
         // jbu->obr: Instantiate here your interaction handler
     }
diff --git a/main/vcl/source/fontsubset/ttcr.cxx b/main/vcl/source/fontsubset/ttcr.cxx
index 4f37c84457..0b6f0d8775 100644
--- a/main/vcl/source/fontsubset/ttcr.cxx
+++ b/main/vcl/source/fontsubset/ttcr.cxx
@@ -1200,7 +1200,7 @@ int GetRawData(TrueTypeTable *_this, sal_uInt8 **ptr, sal_uInt32 *len, sal_uInt3
         }
     }
 
-    assert(!"Unknwon TrueType table.\n");
+    assert(!"Unknown TrueType table.\n");
     return TTCR_UNKNOWN;
 }
 
diff --git a/main/vcl/unx/generic/printer/cupsmgr.cxx b/main/vcl/unx/generic/printer/cupsmgr.cxx
index ec11a29810..ada023d02b 100644
--- a/main/vcl/unx/generic/printer/cupsmgr.cxx
+++ b/main/vcl/unx/generic/printer/cupsmgr.cxx
@@ -526,7 +526,7 @@ void CUPSManager::initialize()
             m_aGlobalDefaults.m_nPDFDevice = 1;
     }
     // do not send include JobPatch; CUPS will insert that itself
-    // TODO: currently unknwon which versions of CUPS insert JobPatches
+    // TODO: currently unknown which versions of CUPS insert JobPatches
     // so currently it is assumed CUPS = don't insert JobPatch files
     m_bUseJobPatch = false;
 
diff --git a/main/wizards/com/sun/star/wizards/ui/DocumentPreview.java b/main/wizards/com/sun/star/wizards/ui/DocumentPreview.java
index d25d469cb5..c802c10957 100644
--- a/main/wizards/com/sun/star/wizards/ui/DocumentPreview.java
+++ b/main/wizards/com/sun/star/wizards/ui/DocumentPreview.java
@@ -137,7 +137,7 @@ public class DocumentPreview
     which isn't part of the global frame tree.
 
     Attention:
-    a) This frame wont be destroyed by the office. It must be closed by you!
+    a) This frame won't be destroyed by the office. It must be closed by you!
     Do so - please call XCloseable::close().
     b) The container window is part of the frame. Dont hold it alive - nor try to kill it.
     It will be destroyed inside close().
diff --git a/main/xmloff/source/chart/XMLChartStyleContext.cxx b/main/xmloff/source/chart/XMLChartStyleContext.cxx
index 521252e07d..5c95284d69 100644
--- a/main/xmloff/source/chart/XMLChartStyleContext.cxx
+++ b/main/xmloff/source/chart/XMLChartStyleContext.cxx
@@ -113,7 +113,7 @@ void XMLChartStyleContext::FillPropertySet(
     }
     catch( beans::UnknownPropertyException&  )
     {
-        DBG_ASSERT( false, "unknown property exception -> shape style not completly imported for chart style" );
+        DBG_ASSERT( false, "unknown property exception -> shape style not completely imported for chart style" );
     }
 
     lcl_NumberFormatStyleToProperty( msDataStyleName, rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "NumberFormat" )), mrStyles, rPropSet );
diff --git a/main/xmloff/source/core/xmlimp.cxx b/main/xmloff/source/core/xmlimp.cxx
index 1c17a2918a..1cb67703c1 100644
--- a/main/xmloff/source/core/xmlimp.cxx
+++ b/main/xmloff/source/core/xmlimp.cxx
@@ -763,7 +763,7 @@ void SAL_CALL SvXMLImport::startElement( const OUString& rName,
                                  : rAttrName.copy( 6 ) );
 			// Add namespace, but only if it is known.
 			sal_uInt16 nKey = mpNamespaceMap->AddIfKnown( aPrefix, rAttrValue );
-			// If namespace is unknwon, try to match a name with similar
+			// If namespace is unknown, try to match a name with similar
 			// TC Id an version
 			if( XML_NAMESPACE_UNKNOWN == nKey )
 			{
diff --git a/main/xmloff/source/transform/TransformerBase.cxx b/main/xmloff/source/transform/TransformerBase.cxx
index 783b660ae5..3093d348c4 100644
--- a/main/xmloff/source/transform/TransformerBase.cxx
+++ b/main/xmloff/source/transform/TransformerBase.cxx
@@ -271,7 +271,7 @@ void SAL_CALL XMLTransformerBase::startElement( const OUString& rName,
                                  : rAttrName.copy( 6 ) );
 			// Add namespace, but only if it is known.
 			sal_uInt16 nKey = m_pNamespaceMap->AddIfKnown( aPrefix, rAttrValue );
-			// If namespace is unknwon, try to match a name with similar
+			// If namespace is unknown, try to match a name with similar
 			// TC Id an version
             if( XML_NAMESPACE_UNKNOWN == nKey  )
 			{


(openoffice) 01/03: Backport pre-commit and CI configuration from trunk

Posted by ji...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

jimjag pushed a commit to branch backport/phase1-format-ci
in repository https://gitbox.apache.org/repos/asf/openoffice.git

commit f30d168aa8c015466b436719d01de803179d04a1
Author: Jim Jagielski <ji...@gmail.com>
AuthorDate: Fri Jun 5 06:52:04 2026 -0400

    Backport pre-commit and CI configuration from trunk
    
    Install .pre-commit-config.yaml, the pre-commit GitHub workflow, linter
    configs (codespell, markdownlint, license templates), and .asf.yaml from
    trunk so AOO42X shares the same formatting/CI tooling. This is the
    foundation for aligning whitespace formatting between the branches.
    
    Phase 1 backport (A_FORMAT + B_CI_DOCS), infrastructure step.
---
 .asf.yaml                                       |   14 +
 .github/linters/.markdown-lint.yml              |   13 +
 .github/linters/codespell.txt                   | 2810 +++++++++++++++++++++++
 .github/workflows/license-templates/LICENSE.txt |   16 +
 .github/workflows/pre-commit.yml                |   47 +
 .pre-commit-config.yaml                         |   85 +
 6 files changed, 2985 insertions(+)

diff --git a/.asf.yaml b/.asf.yaml
new file mode 100644
index 0000000000..ab59476305
--- /dev/null
+++ b/.asf.yaml
@@ -0,0 +1,14 @@
+github:
+  rulesets:
+    - name: "Default Branch Protection"
+      type: branch
+      branches:
+        includes:
+          - "~DEFAULT_BRANCH"
+          - "release/*"
+          - "rel/*"
+        excludes: []
+      bypass_teams:
+        - root
+      restrict_deletion: true
+      restrict_force_push: true
diff --git a/.github/linters/.markdown-lint.yml b/.github/linters/.markdown-lint.yml
new file mode 100644
index 0000000000..173a82dbb4
--- /dev/null
+++ b/.github/linters/.markdown-lint.yml
@@ -0,0 +1,13 @@
+# https://github.com/DavidAnson/markdownlint
+
+# MD013/line-length Line length
+MD013: false
+
+# MD025/single-title/single-h1 Multiple top-level headings in the same document
+MD025: false
+
+# MD033/no-inline-html Inline HTML
+MD033: false
+
+# MD040/fenced-code-language Fenced code blocks should have a language specified
+MD040: false
diff --git a/.github/linters/codespell.txt b/.github/linters/codespell.txt
new file mode 100644
index 0000000000..fb7742cce1
--- /dev/null
+++ b/.github/linters/codespell.txt
@@ -0,0 +1,2810 @@
+aaccess
+aadd
+aafter
+aand
+aas
+aassign
+aassignment
+aassignments
+aautomatic
+abandone
+abl
+abou
+abour
+aboved
+aboves
+abreviated
+absolulte
+absolut
+abstact
+abvious
+acccount
+acceses
+accesible
+accessort
+accure
+accured
+acend
+acessor
+aci
+acive
+acount
+acounts
+acssumed
+acter
+actibity
+activ
+activitis
+actuall
+adapater
+adapation
+adapive
+adaptee
+addd
+addes
+addin
+addional
+additinal
+additionall
+additionals
+additons
+addjust
+addopt
+addresse
+aded
+adin
+adition
+administrar
+adn
+adres
+adress
+adresse
+adresses
+advacne
+aequidistant
+aequivalent
+aer
+afer
+afeter
+affekt
+afile
+aformentioned
+aftrer
+agains
+aggreate
+aggregatet
+ags
+ahd
+ajust
+ajustments
+ake
+aks
+aktion
+aktivate
+aktive
+aleays
+algorihm
+algorith
+algorithmn
+algorithmus
+algorythm
+algrithm
+aligment
+alignement
+alignemnt
+alignemt
+alignes
+alignmant
+alignmen
+aline
+aling
+alis
+aliver
+alle
+alled
+allign
+allignment
+alllowed
+alloted
+allowd
+allowes
+allright
+alls
+alltime
+alo
+alocation
+alocations
+alocator
+alog
+alow
+alpah
+alph
+alpha-numeric
+alread
+als
+alse
+alternativ
+althoug
+alue
+alwas
+alway
+ambedded
+ambigious
+ambigous
+amonst
+amout
+analoge
+anc
+ancapsulate
+anchestor
+anchord
+andlers
+ane
+anevironment
+animaton
+anination
+anisotrophically
+anlyzing
+annote
+anologon
+anonymouse
+anonymus
+anormal
+anotation
+ans
+antaliasing
+anthor
+antialialised
+anull
+anulls
+anumber
+anythimng
+aond
+aother
+aparent
+apears
+apeends
+apend
+apllying
+apoints
+appartment
+appeares
+appedn
+appendend
+appened
+appens
+apperars
+appied
+applay
+appliable
+applikation
+applyable
+applys
+apppend
+appplet
+appropirate
+appropriat
+approriate
+appy
+aproach
+aprogram
+aprox
+aprrovement
+aquire
+aquires
+aranges
+ararbic
+arays
+arbirtrarily
+arbitraryly
+archieved
+archiv
+archtecture
+arcticle
+are'nt
+arent
+arithmetics
+arn't
+arry
+arrys
+ascendin
+ascript
+ascripts
+asend
+asender
+askes
+assebly
+assemly
+assigment
+assigne
+assistent
+assocations
+assomption
+asssuming
+assum
+assumtion
+assumtions
+asterik
+asychronous
+asymetric
+asynchonously
+asynchornous
+asynchron
+asynchronious
+asynchroniously
+asynchrons
+asynchrounsly
+asyncronous
+asyncronously
+asynschron
+atach
+ategories
+atleast
+atmost
+atribs
+atrtributes
+attachement
+attachements
+attachs
+attemps
+attibute
+attibuted
+attibutes
+attrbiute
+attribue
+attribut
+attributen
+attributs
+attruibute
+australien
+authentification
+autocoomit
+autofilt
+automatical
+autor
+avaible
+avcoids
+aviable
+avtive
+aways
+axises
+axpressed
+aynchronous
+bacic
+bais
+baisc
+barbedos
+basci
+basf
+basline
+bbefore
+bboolean
+bbooleans
+beaviour
+becames
+becaus
+beed
+befor
+befure
+beginn
+behavious
+behaviuor
+behavour
+behinde
+bejond
+belove
+beng
+bever
+binanary
+biscut
+bistream
+bizare
+bizarely
+bject
+bleading
+bload
+bloaded
+bloc
+blong
+boddy
+bodgy
+booda
+bookmar
+boostrapped
+boostrapping
+bootom
+bootstra
+bootstraping
+bootup
+boradcast
+bord
+botifies
+bottomborde
+bounderies
+boxs
+brackeds
+brance
+branche
+breaked
+breakin
+breal
+brige
+brocken
+brower
+browers
+browseable
+bu
+buffereed
+bufferred
+bufferring
+bui
+build-in
+buildin
+buld
+bumb
+cace
+cachable
+calcable
+calcualte
+calculat
+caleed
+caler
+calle
+callef
+calles
+calss
+canadan
+canbe
+cancelles
+cange
+cann
+carret
+carridge
+case-insensitiv
+case-sensitiv
+cashe
+catched
+catory
+cauched
+causion
+ccahe
+ccertificate
+ceation
+ceck
+cedentials
+cehck
+celle
+cellxs
+cenarios
+centerd
+chache
+chage
+chaged
+chahged
+chainging
+chalenge
+changeing
+changin
+chaning
+channnel
+chaper
+characetrs
+characted
+characteres
+charactersm
+characture
+charakter
+charakters
+charas
+charaters
+charcater
+charcter
+checed
+chech
+cheched
+checke
+checkes
+childern
+childrens
+childs
+chnge
+choosen
+chosed
+chosing
+chossen
+circustances
+ciriteria
+cirle
+cirsumstances
+cirumstances
+ckeck
+claculate
+clarety
+clases
+classess
+clcosed
+cleantup
+cleare
+cleares
+cleck
+clipboad
+cliped
+clockwíse
+clodes
+cloumns
+clsoe
+cluase
+cnter
+cobvers
+codde
+coinitailize
+colerscheme
+collaps
+collapsable
+collektion
+collet
+colleting
+colletion
+collorscheme
+collpase
+colmuned
+colse
+colums
+comand
+comando
+comaparison
+comaprison
+comared
+comares
+combained
+combiantion
+combin
+combinatorical
+combinbe
+comemnt
+coment
+comination
+comlex
+commad
+comman
+commans
+commatas
+commitable
+commited
+commmand
+commnent
+commont
+commpn
+comparation
+compareable
+comparisation
+comparsion
+compatibel
+compatibile
+compatibiliy
+compelete
+compeletely
+compiletime
+compiller
+complettly
+complext
+compliancy
+complient
+componbents
+componentes
+componet
+componets
+componnent
+compres
+compresing
+compressable
+compresser
+compromize
+comptability
+comunication
+conain
+conatains
+conatiner
+concatenaded
+concatination
+concatinations
+concentraze
+concret
+concurency
+conent
+conents
+conext
+configury
+conig
+connectiona
+connecto
+connexion
+consequentially
+consequetive
+consideren
+consitutes
+consol
+consruct
+constains
+constands
+constans
+constantsm
+constitently
+constraing
+constrainst
+constrast
+construktor
+constuct
+constucting
+constuctor
+consturct
+consturctor
+consumation
+contaier
+containees
+containg
+containr
+containt
+containter
+contaiun
+contaner
+contant
+contants
+contatenated
+conted
+contens
+conterpart
+contet
+contex
+contexta
+contianing
+contiguos
+contination
+contition
+contnet
+contradically
+contrl
+controle
+controllerd
+controlls
+contruct
+contstraints
+contur
+convension
+conver
+convered
+convering
+convertable
+convertors
+cooporative
+co-ordinates
+copie
+copyed
+copys
+coresponding
+corrdinate
+correcxt
+correspont
+couldn
+could't
+coult
+cound
+countr
+couses
+cousing
+coveres
+covert
+coyp
+cption
+crasher
+crashs
+creaed
+createable
+creater
+credate
+cript
+criteriom
+criticall
+crossin
+crossreference
+crossreferences
+crypted
+culmulative
+curentfilter
+currect
+curren
+currenty
+curretn
+currnet
+curros
+currupt
+curser
+customable
+customizeable
+custum
+cutomize
+cutted
+cymk
+cyrpto
+daa
+dafault
+dafaults
+dasdot
+dashs
+databse
+datas
+ddress
+deactive
+deactived
+deactiving
+deaktivate
+dealed
+dealign
+deattach
+deattached
+debuging
+declatory
+decompresser
+decroation
+defaul
+defauls
+defaultet
+defecit
+defenitly
+defered
+definations
+defind
+definetely
+definied
+definifiton
+definitivly
+defint
+defualt
+defult
+degenrate
+degress
+deined
+deklaration
+delarations
+delate
+delcaring
+delele
+delet
+deleteing
+deleteion
+delets
+delimeted
+delimeter
+delimeters
+delimitter
+delt
+delte
+deltes
+dentifier
+depandancies
+depency
+dependancy
+dependant
+dependend
+dependeny
+dependicies
+depenent
+depent
+deprication
+dequed
+dereferencable
+deregisteres
+deregistrated
+dergeistered
+deriver
+dertermine
+dervied
+dervived
+desaster
+descritor
+descritpro
+descrption
+desctop
+desctructed
+desctructor
+desginer
+desgin-mode
+desination
+desribes
+desribing
+desroyer
+destanation
+destinaion
+destionation
+destop
+destory
+destorying
+destroied
+destroyd
+destruktor
+destruktors
+destryoing
+destuctor
+desturcted
+detecion
+detectetd
+detemine
+detemined
+detemines
+determin
+determind
+determinded
+determing
+determnine
+detetmine
+detroying
+dettaching
+devision
+dezember
+dezibel
+dfined
+diable
+diables
+diagonale
+diagramas
+diagramm
+dialoge
+dialoges
+diappeares
+diaram
+dicretionary
+dictonary
+didnt't
+diffenrences
+differect
+differen
+differenciate
+differenct
+differernt
+differes
+dinteractively
+dipose
+diposed
+diposing
+dircet
+direcly
+directoris
+directorys
+directoy
+directries
+directrory
+directroy
+directy
+disabed
+disambigouate
+disambiguaiton
+disbale
+disconnet
+discreet
+discret
+discriptor's
+disfunctional
+diskrete
+dislayed
+displayin
+dispode
+disposel
+distribure
+distructor
+dito
+divisable
+divrese
+docstatistik
+docuemnts
+docuemtn
+docuent
+documant
+documemt
+documemts
+documen
+documentes
+documet
+documetn
+documets
+doens't
+doese
+doesnot
+does't
+dokument
+dollor
+donot
+do'nt
+dont'
+dont't
+dosn't
+dosposing
+dota
+doube
+doubleclick
+doumentc
+draged
+draging
+dran
+draview
+drawed
+dreawn
+drived
+droped
+dscrete
+dsplays
+dthe
+dublicat
+dulicate
+dum
+dummp
+duplicat
+durationm
+dureing
+durning
+dynamicly
+eachother
+eachs
+earch
+easely
+easer
+easilty
+easyly
+eather
+ect
+ede
+edn
+effekt
+effiency
+eficient
+efore
+egal
+egals
+egde
+ege
+einstance
+eiter
+eith
+elelement
+elememt
+elemente
+elemnt
+elenment
+elimiate
+elipse
+elment
+elseswhere
+embedd
+embeded
+empress
+emtpy
+enabeld
+enablen
+encapsualtes
+encapsulatzion
+encapsultes
+encounterd
+encripted
+encrytpion
+endcoded
+ende
+endiannes
+endin
+enew
+enginge
+enhencement
+enmum
+enoungh
+entires
+entirey
+entite
+entites
+entitie
+entitys
+entrie
+entrys
+enty
+enumarate
+enumaration
+environemnt
+environent
+environmane
+envolved
+envrionment
+eqivalents
+erlier
+eroneous
+eror
+erorr
+erro
+erroneusly
+errorneously
+errornous
+errorprone
+errror
+ervery
+erverything
+escapeable
+escpecially
+espace
+espacially
+esssential
+establishs
+etcp
+eto
+euclidian
+euqivalent
+evalation
+evalutate
+evalutates
+evalution
+evenually
+everybodies
+everytime
+evey
+evnet
+evrything
+exacly
+exacty
+examin
+exatly
+excactly
+excatly
+excecpt
+excepetion
+exceptionts
+exceution
+excisting
+exclusiv
+exclusivly
+excpet
+excpt
+excption
+excptions
+excute
+excuted
+excutes
+excuting
+excution
+excutor
+execept
+exectables
+exectly
+exectutable
+exectute
+executbale
+executeable
+exempel
+exepected
+exeqution
+exising
+exisit
+exisitent
+exisiting
+existance
+existense
+existsing
+existung
+exluding
+exlusive
+exntry
+exparation
+expectd
+expecte
+expection
+experssion
+explicat
+explicity
+explict
+explizit
+exponetiation
+exportet
+exportin
+expres
+expresion
+expressable
+exract
+exsist
+exsists
+exspect
+extact
+extaction
+extendet
+extenions
+extented
+extracing
+extracs
+extractins
+extraenous
+extrat
+extrem
+extrems
+extry
+factorys
+faild
+faile
+failes
+failture
+faktor
+falback
+fallabck
+fallbacl
+fals
+falsk
+falso
+falt
+familiy
+farest
+fave
+februar
+feburary
+fedality
+feeded
+feld
+feture
+fiddley
+fiel
+fileds
+filetest
+fille
+filles
+fillin
+filname
+filp
+fime
+fincally
+finde
+finialization
+finisch
+finised
+finishs
+finnished
+fiorget
+firs
+firsr
+firt
+firts
+fisrt
+fiter
+fith
+fitler
+fixe
+fixeme
+flaged
+flages
+flase
+fle
+flushs
+fo
+focuse
+fof
+foler
+follod
+folloing
+follong
+followin
+followind
+followings
+follwong
+folows
+fom
+fomat
+fomatter
+fonction
+fonctions
+fontains
+foontnotes
+foorter
+footnoes
+forbidded
+forbit
+foreward
+forfit
+forgoten
+formate
+formated
+formates
+formattind
+formattings
+formattting
+formely
+formen
+formmatted
+formt
+formuala
+formule
+forst
+forthe
+fot
+foward
+fpr
+fpt
+fram
+frametyp
+frane
+frequncy
+frmat
+fro
+fromat
+fromatting
+fromt
+fromthe
+fron
+froward
+fter
+fullfil
+fullfilled
+funktion
+funktions
+funtions
+fwe
+garant
+garantied
+gard
+gemetry
+genarate
+geneic
+generall
+generat
+generel
+generell
+genreate
+geoemtry
+geometrc
+geometrie
+gere
+gererate
+ges
+geting
+getlael
+get's
+givem
+givin
+gloablly
+gloassaries
+glpyh
+glyh
+gogether
+goin
+goup
+grahic
+gramar
+granchildren
+grap
+graphis
+grephic
+greysacles
+groupd
+guage
+guaranted
+guarantied
+gylph
+haa
+haeder
+hald
+halpoints
+hande
+handeld
+handelr
+hander
+handleer
+handlig
+hanel
+hangig
+hanlder
+hanlding
+hanle
+happends
+hart
+hashs
+hastable
+hav
+hava
+have'nt
+havent't
+hda
+headerr
+headin
+heigh
+hel
+hendler
+hidded
+hidding
+hided
+hiden
+hiearchy
+hierarachy
+hierarchie
+highes
+hight
+hightest
+hightlight
+hightlighter
+hightlighting
+higlight
+higlighted
+hilight
+hilighting
+hirarchy
+hitted
+hokay
+homegeneous
+homestate
+homogenity
+homogenous
+hopyfully
+horizntal
+horizonal
+horizontale
+horiztonal
+horyzontally
+horzontally
+houres
+hsa
+hsi
+hte
+htmp
+humber
+hundreths
+hyerarchy
+hyerlink
+hypen
+hypothenuse
+iconifie
+idefinite
+idel
+idendify
+identation
+identfication
+identfier
+identidier
+identifed
+identifer
+iif
+iiterator
+imaghe
+imapge
+immediat
+implace
+implcit
+implementator
+implementes
+implementor
+implementors
+implemetation
+implemtation
+implemtentation
+implenetation
+implent
+implentation
+implicite
+implicitley
+implicity
+implictly
+implments
+importent
+impossibile
+inactivate
+inacurrate
+inbetween
+inbrace
+incase
+incemented
+inclused
+inconsistancy
+inconstent
+inconviniently
+incorperates
+incosistency
+increse
+incvalid
+indendation
+indentically
+indentified
+indentifies
+indention
+indenx
+independ
+independance
+independant
+independend
+independet
+indepent
+indes
+indexs
+indicies
+indizies
+indx
+ine
+inefficently
+inestart
+infact
+infinitly
+infinte
+infor
+informatio
+informations
+ingore
+inh
+inheritage
+inheritied
+inherting
+inicial
+ininity
+initiales
+initialisiert
+initializong
+inout
+inouts
+inproper
+inpt
+inputed
+inro
+insance
+insensitiv
+inseperable
+inser
+insertin
+insertino
+insided
+instace
+installe
+instane
+instanze
+insterad
+instrction
+instread
+instrospection
+insuffiency
+intalled
+intance
+inteaction
+inteface
+integrety
+intendend
+intension
+intensitive
+intented
+intepreted
+interace
+interactin
+interactiv
+interactivly
+interafce
+interakt
+interaktion
+interaktive
+interal
+interally
+interate
+interation
+intercation
+interecptor
+interepreted
+intereseted
+interessting
+interfac
+interfer
+interlly
+interm
+internall
+internatioanl
+interpeted
+interpreation
+interprete
+interpretet
+interpretion
+interpretting
+interrest
+interrested
+interrface
+interruptable
+interruptors
+interscetion
+interupted
+intervall
+intervalls
+intesity
+inthe
+intial
+intialise
+intializing
+intiator
+intitial
+intitialization
+intorduction
+intrface
+introducting
+intstead
+invald
+invalide
+invalud
+invers
+invisibile
+invlid
+invlisible
+invokable
+invokation
+invokee
+irrelvant
+isconnection
+is'nt
+isnt
+isotrophically
+isplay
+isses
+ist
+istead
+ists
+iteract
+iteraction
+iterater
+iteratered
+iteratons
+iterm
+itnervals
+itselfs
+itselt
+ivocation
+januar
+javasript
+javasrript
+jkd
+jscipt
+juli
+juni
+justfied
+justication
+kake
+ket
+keyords
+klick
+knwon
+kocalized
+komma
+kommas
+konstant
+konwn
+koordinate
+kown
+kyrillic
+lables
+laf
+laiter
+lama
+languag
+langugage
+lanugages
+laoder
+lates
+lating
+lauguage
+leace
+leaded
+leapyear
+leas
+leat
+lements
+lenght
+lenghts
+lenth
+letgitimate
+libaries
+libary
+lightening
+lightyear
+ligth
+lik
+likeley
+linke
+linkes
+lins
+listenes
+lits
+livetime
+loaader
+loacales
+localed
+localy
+lockingf
+loclaized
+loction
+logial
+logwritter
+lokal
+lokale
+lokales
+lookin
+loopup
+loos
+losely
+lsit
+mabe
+macor
+maily
+makeing
+makfile
+makro
+makros
+maline
+managet
+manuell
+mape
+maping
+marge
+maschine
+masqurade
+mata
+matchies
+mater
+mathed
+mathes
+matricies
+matser
+maximimum
+maximun
+maxium
+maxmimum
+maxmimums
+mayu
+mdoel
+meading
+meaned
+meatfile
+meber
+mege
+menas
+ment
+menual
+menue
+menues
+menutitems
+meny
+merrors
+messges
+methid
+methodd
+methode
+methoden
+methodes
+metod
+metods
+meu
+mey
+mian
+middel
+migh
+migt
+migth
+milimetre
+mimick
+mimicks
+mininum
+miplementation
+mirrorn
+mis
+misformed
+mis-match
+mismatich
+misscounted
+missmatch
+missplaced
+misstypes
+missuse
+mmaped
+mmatching
+modell
+modfel
+modfiy
+modifed
+modifyable
+modul
+moduls
+modulu
+momement
+momemtn
+mor
+mormalized
+mose
+mot
+mothod
+moudle
+mouvements
+movebackwrd
+mudule
+muext
+multible
+multipe
+multipl
+multiplikation
+multipul
+multple
+murr
+muti
+mutices
+mutiply
+mutli
+mye
+nagative
+nam
+nameing
+namesd
+nax
+nce
+nclude
+nd
+ndefined
+nealy
+ned
+nedd
+neede
+needes
+neesds
+neet
+negativ
+nempty
+nenviroment
+nerver
+nethods
+nin
+nither
+nned
+nneeded
+nnumber
+noe
+nofified
+nohypen
+nome
+non-existant
+nonexistant
+non-useful
+nore
+normale
+normales
+nothind
+notifer
+notin
+notity
+nowadys
+nown
+nulk
+numbe
+numer
+numers
+obect
+obects
+objcts
+objec
+objectin
+objectss
+objekt
+objetcs
+objets
+obnject
+obscur
+obsolte
+occours
+occure
+occured
+occurence
+occurences
+occures
+occurr
+oclock
+ocntext
+octect
+ocur
+ocurrences
+oder
+offen
+offic
+offser
+offseted
+ofo
+ofsets
+ofsetted
+oher
+oint
+ois
+oje
+oject
+ojects
+oktober
+oldes
+oll
+olt
+oly
+ommit
+onces
+ond
+onece
+oneyway
+ongly
+onl
+ons
+ontain
+ontains
+ontents
+ontop
+onw
+onwer
+ony
+opertions
+oposition
+optain
+optimation
+optio
+optionaly
+ordner
+ore
+orign
+orignal
+ot
+otains
+otation
+otu
+oultinenodes
+ource
+ourselfs
+ourselve
+outbut
+outherwise
+outsid
+outter
+oututs
+overflw
+overidden
+overide
+overiden
+overiding
+overlaping
+overriabled
+overrided
+overrride
+overwrited
+overwritte
+overwrittes
+overwrittin
+ovrridables
+ovveride
+ower
+ownder
+ownes
+oyu
+paches
+packe
+padd
+paeth
+pagent
+paintin
+pakageimpl
+pallette
+paoition
+paragraphy
+paragrph
+paramenter
+parametere
+parametes
+parametrs
+paramterless
+paramters
+parant
+paranthes
+parantheses
+pararaph
+pard
+parem
+paremter
+parenteses
+paret
+parm
+parmater
+parmeter
+parms
+parnoia
+parsering
+partion
+partitially
+pary
+pash
+passt
+passtrough
+pasword
+patchs
+pathes
+patter
+pattrns
+pecifies
+peformance
+penality
+pepare
+perfectably
+perfom
+perfomed
+performes
+performin
+periode
+perisist
+permited
+permssion
+peroendicular
+persistance
+persistant
+pervious
+pevent
+pevents
+pezier
+phillippines
+pich
+pinter
+pitmap
+placehoder
+plattform
+playfull
+poiner
+poins
+pointzer
+poiter
+poits
+polgon
+polyar
+polygone
+polypoygon
+polypoylgons
+poperly
+poperties
+popoup
+poppup
+portugese
+posible
+posioned
+positionof
+positiv
+positon
+positons
+positve
+possibe
+possibile
+possily
+postion
+postition
+postphoned
+prameter
+prarameter
+preallocationg
+preaorocessing
+preapare
+preapared
+preced
+precedure
+precendence
+precent
+precidence
+preciding
+precsions
+precumputed
+prefere
+preferes
+preferrable
+prefic
+preformed
+preject
+prelimitary
+preoperty
+prerelases
+prerequiste
+pres
+presener
+preserv
+presetation
+presnt
+preverse
+previos
+previosly
+previosuly
+previuous
+prevoiusly
+prewview
+prexixed
+pricision
+primay
+primitves
+primtives
+pring
+pringing
+prirority
+privides
+priviledged
+privilges
+privilige
+privleges
+prmitive
+prmitives
+proberty
+probleme
+proccess
+proccessed
+proccesses
+procede
+proceshandler
+processinf
+procides
+procoess
+produkt
+produktion
+proeprties
+proerties
+proerty
+programatically
+programing
+programm
+progrss
+proirity
+promiss
+propage
+properies
+propert
+propertie
+propertyst
+propery
+proplem
+proportianal
+proproties
+proprotional
+proprty
+propteries
+propvider
+protcted
+protext
+protocal
+protoco
+protocoll
+provate
+provdided
+provicdes
+provice
+provid
+providfers
+providse
+provies
+provode
+prset
+prufe
+ptd
+publically
+puls
+punctation
+punctuations
+puplic
+puposes
+purpuses
+pyhsical
+qoute
+quater
+queing
+queiried
+quering
+querried
+queryinterace
+querys
+ques
+quesion
+quitely
+quottes
+radiobuttion
+raison
+rasied
+rcall
+readd
+readeable
+readed
+reaeched
+realative
+reall
+realted
+realtive
+reaons
+reassocition
+reate
+rebuilded
+recalcution
+receipient
+receipients
+recipies
+recofig
+recognizeable
+recommand
+recongnizes
+recreateation
+rectange
+reculrively
+recursivly
+recusions
+recusive
+recustion
+recyclying
+recylcing
+recyling
+re-declare
+redenderer
+redered
+redonly
+reelation
+reelease
+reenable
+reenabled
+reencode
+refcound
+refelected
+refelects
+refence
+refencing
+refenence
+refere
+referebces
+referecne
+refered
+referenc
+referenz
+referers
+referes
+refernce
+refernced
+refernece
+referr
+referres
+reffers
+refreshs
+regardes
+regardin
+regession
+regestry
+regidstered
+regisered
+regisry
+regist
+registerd
+registeres
+registery
+registes
+registred
+regsiters
+reguards
+regulaer
+regulariry
+regulary
+regurlarly
+rehersing
+rekursion
+rekursive
+relaive
+relase
+relased
+relases
+relativ
+relativated
+relead
+releae
+releant
+releas
+releated
+releation
+rellocates
+relly
+relys
+remeber
+remebered
+remebers
+rememeber
+remenber
+reminiscense
+remmeber
+remoce
+removeable
+removeing
+removerd
+remvoved
+rende
+rendererd
+renderering
+reonly
+reosurces
+repaitnt
+repant
+repeates
+repeatly
+repersentation
+repertoir
+repesentation
+repesented
+repesents
+repetive
+replased
+reportresouces
+repositry
+repostories
+repraesentation
+represantation
+represenation
+represend
+representaion
+representaions
+representated
+representd
+represention
+represeted
+represneted
+repspectively
+repsresents
+reqeusted
+reqired
+reqiure
+requed
+requeried
+requestor
+requieres
+requirments
+requrired
+requst
+requsted
+rerpesentation
+rertieves
+resetable
+reseted
+reseting
+resetted
+resoltion
+reson
+resons
+resore
+resourceype
+resoure
+resourecs
+responsibilty
+resset
+ressets
+ressource
+ressources
+restauration
+reste
+restes
+restoding
+restors
+resue
+resuling
+resumt
+retcieves
+retet
+retieve
+retieved
+retieves
+retore
+retreival
+retriece
+retrieces
+retrieveds
+retrieveing
+retriving
+retrn
+retrun
+retun
+retuned
+retunr
+retunrned
+retunrs
+retuns
+retur
+retured
+returend
+returne
+returs
+retursn
+reuqired
+re-usable
+re-use
+re-used
+re-uses
+re-using
+reveive
+reveived
+reveokes
+reverese
+righ
+rigth
+rimitives
+rin
+rizes
+rlation
+rmove
+roated
+rocords
+roperties
+rouge
+routet
+rovider
+rranslation
+rrase
+rsizing
+rsource
+rsources
+runned
+rurrent
+sav
+savely
+savety
+scalled
+scaned
+sceanrios
+scecified
+sceme
+scenarion
+scenarious
+scond
+scrao
+screnn
+scripte
+scriptype
+scrol
+scrollin
+scrool
+scrpit
+scrren
+seacrchable
+searche
+searchin
+searchs
+secondy
+seconf
+secont
+sectin
+segmend
+segmente
+seh
+selectin
+selecton
+seledted
+selektion
+selektor
+selektors
+seleted
+seletions
+semaphor
+sematics
+sence
+senquence
+sensitiv
+sensivity
+senteces
+sentive
+sentively
+separat
+separater
+separatly
+separtates
+separte
+sepcified
+sepecified
+sepecifies
+seperatly
+seperator
+seperators
+seqence
+seqeuence
+seqeunce
+sequece
+sequeence
+sequelce
+sequencies
+sequenze
+sequenzes
+sequeze
+sequnces
+sequnece
+ser
+serach
+serached
+serch
+serialze
+serialzed
+serieses
+serivce
+sertificates
+servce
+servces
+servcie
+serveice
+servent
+servie
+servies
+servive
+seting
+setted
+setttings
+shandow
+sheck
+sheme
+shepe
+shif-tab
+shold
+shortend
+shotcut
+shoud
+shoudl
+shoul
+shouln't
+shs
+shttp
+sie
+siez
+sightly
+signatur
+signes
+signle
+silenty
+similary
+similiary
+simlified
+simly
+simplies
+simpliest
+simpy
+sinature
+singe
+sinlge
+sinlges
+sintax
+siz
+skalar
+skipt
+slanguage
+slanguages
+smalles
+sme
+smoot
+smooting
+smove
+snyc
+soecialize
+soemone
+soiurce
+solarmutx
+som
+somelse
+someon
+somes
+somme
+sortings
+sortlst
+souce
+spaning
+speacial
+specialy
+specied
+specifices
+specifiy
+specilized
+speficies
+spefifies
+speicfied
+speparator
+spiltting
+splited
+spliting
+splitted
+spports
+spreasheet
+sqare
+squence
+srcoll
+sreen
+sreturns
+srollbar
+srolling
+srtings
+srtructure
+ssee
+stae
+stamement's
+standar
+standart
+startd
+startet
+startin
+startlisteneing
+startting
+statemnt
+stati
+statics
+stil
+sting
+stip
+stipped
+stoped
+storag
+stoream
+storge
+strech
+streched
+streching
+strem
+strin
+strippen
+stript
+strotage
+struc
+structur
+styhe
+subsedent
+substitude
+substitudes
+substitue
+substituing
+substract
+subtile
+succeedes
+succeeeded
+succesfull
+succesfully
+successfull
+successs
+succseeded
+suficcient
+sumed-up
+supercede
+superflous
+superfulous
+supersed
+superseeded
+supllied
+supllies
+suplying
+suport
+suporting
+suports
+suppoert
+suppoerted
+supporession
+suppport
+suppported
+suppres
+supressed
+supresses
+supsended
+surpressed
+surprisinlgy
+surregat
+survice
+survices
+suspicios
+sutdown
+svae
+swicth
+switchs
+swith
+swithc
+swithed
+swown
+sxl
+sychronization
+sychronize
+syle
+syles
+syllabills
+symantics
+symbole
+symetric
+symmetic
+synching
+synchonrous
+synchroizing
+synchroniously
+synchronus
+syncronisation
+syncronized
+syncronizing
+syncronous
+syncronously
+syndonic
+syschronize
+systemwindiow
+sytlesheet
+szenario
+szenarios
+szene
+tabe
+tabel
+tabels
+tabeview
+tabke
+tablle
+tage
+tages
+tagets
+tagggen
+taregt
+targer
+targt
+targte
+tbe
+te
+teamplate
+technik
+teh
+telocom
+teminating
+temorary
+tempdate
+templat
+temporaere
+temporalily
+temporarely
+temporarilly
+temporarirly
+temporarly
+temporay
+tempory
+termine
+terminte
+ternimated
+tese
+tesed
+tesselate
+tesselation
+tetry
+tetss
+texline
+textin
+tey
+tge
+tha
+thay
+thck
+thei
+theire
+themeing
+ther
+therefor
+therefrom
+theres
+therfore
+thes
+theses
+thets
+theyre
+thi
+thid
+thinn
+thise
+thown
+thrad
+thre
+threadsave
+threatment
+threatments
+throgh
+thron
+throug
+throught
+throwed
+throwgh
+ths
+thst
+thw
+tighly
+timstamp
+titel
+titels
+titile
+tje
+tne
+toches
+toggel
+toggeling
+togle
+toi
+toke
+toleranz
+tollerant
+totaly
+totation
+trama
+tramas
+trangle
+tranparency
+transfomation
+transfoprmation
+translteration
+transmition
+transparant
+transtion
+trapeziod
+tre
+tread
+treee
+treshhold
+trgistration
+triange
+trigered
+trigerred
+trigers
+trigged
+triggeres
+triggerin
+trimed
+tripple
+trivias
+trnsfered
+trough
+tru
+truns
+trys
+tung
+tupel
+ture
+tye
+tyies
+tyoe
+typcially
+typographc
+ubiquituously
+ue
+ues
+uhandled
+ultimatly
+ummark
+unambigous
+unambigously
+unaquired
+unce
+uncomplete
+unconditionaly
+unconvertable
+uncorrectly
+uncrypted
+undelying
+undet
+undistinghable
+unequality
+unexpecte
+uniformely
+uninstatiated
+uniocde
+uniqe
+uniquness
+unitialised
+unitialize
+unitialized
+unitss
+unkowns
+unles
+unnacquired
+unparseable
+unrecovable
+unregisterd
+unregisteres
+unregsiters
+unreleated
+unroated
+unsecure
+unser
+unsued
+unsupport
+unter
+untypically
+unx
+upate
+uperclass
+uppon
+upported
+upporterd
+uptodate
+ure
+urface
+uscaled
+useable
+useed
+usefull
+usefullness
+usera
+usere
+userr
+usesfull
+usig
+usign
+usigned
+usuable
+usuall
+vai
+vaid
+vailable
+valide
+valie
+valu
+valus
+vanishs
+variabel
+variabl
+variablen
+varian
+variante
+varibale
+vas
+vaue
+vefiry
+vegeterian
+vektor
+vektors
+vender
+verfy
+versoins
+verticies
+vertikal
+vetor
+vew
+vhild
+vie
+viewtransfromation
+vill
+virtuell
+visblie
+vise
+visiable
+visibile
+visiblle
+visisble
+vissible
+vistor
+visualy
+vlues
+vor
+wan't
+want's
+waring
+warpin
+wating
+wavelnes
+weant
+wee
+wege
+wehre
+weill
+weith
+wel
+wew
+whats
+whch
+whe
+whenevery
+whent
+wher
+wherether
+whery
+wheter
+whic
+whichs
+whilest
+whis
+whish
+whoms
+whoose
+whos
+wich
+wil
+wirh
+wit
+withing
+witho
+withou
+withs
+wll
+wnat
+wollow
+wolrd
+womens
+worte
+woul
+wth
+wya
+xwindows
+youre
+zar
+zlot
diff --git a/.github/workflows/license-templates/LICENSE.txt b/.github/workflows/license-templates/LICENSE.txt
new file mode 100644
index 0000000000..60b675e310
--- /dev/null
+++ b/.github/workflows/license-templates/LICENSE.txt
@@ -0,0 +1,16 @@
+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
+regarding copyright ownership.  The ASF licenses this file
+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/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml
new file mode 100644
index 0000000000..10c7ee5813
--- /dev/null
+++ b/.github/workflows/pre-commit.yml
@@ -0,0 +1,47 @@
+# 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
+# regarding copyright ownership.  The ASF licenses this file
+# 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.
+
+name: pre-commit
+
+on: [pull_request]
+
+permissions:
+  contents: read
+
+concurrency:
+  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
+  cancel-in-progress: true
+
+jobs:
+  pre-commit:
+    name: Run pre-commit
+    runs-on: ubuntu-24.04
+    steps:
+      - name: Check Out
+        uses: actions/checkout@v6
+      - name: Install
+        run: |
+          python -m pip install --upgrade pip
+          pip install -r requirements-dev.txt
+      - name: Set PY
+        run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV
+      - uses: actions/cache@v5
+        with:
+          path: ~/.cache/pre-commit
+          key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }}
+      - name: Run pre-commit
+        run: pre-commit run --color=always --all-files
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
new file mode 100644
index 0000000000..49d540ce98
--- /dev/null
+++ b/.pre-commit-config.yaml
@@ -0,0 +1,85 @@
+# 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
+# regarding copyright ownership.  The ASF licenses this file
+# 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.
+---
+default_stages: [pre-commit, pre-push]
+default_language_version:
+  # force all unspecified Python hooks to run python3
+  python: python3
+minimum_pre_commit_version: "3.2.0"
+repos:
+  - repo: meta
+    hooks:
+      - id: identity
+      - id: check-hooks-apply
+  - repo: https://github.com/gitleaks/gitleaks
+    rev: v8.30.0
+    hooks:
+      - id: gitleaks
+        name: run gitleaks
+        description: check for secrets with gitleaks
+  - repo: https://github.com/Lucas-C/pre-commit-hooks
+    rev: v1.5.5
+    hooks:
+      - id: insert-license
+        name: add license for all Markdown files
+        files: \.md$
+        args:
+          - --comment-style
+          - '<!--||-->'
+          - --license-filepath
+          - .github/workflows/license-templates/LICENSE.txt
+          - --fuzzy-match-generates-todo
+  - repo: https://github.com/pre-commit/pre-commit-hooks
+    rev: v6.0.0
+    hooks:
+      - id: check-case-conflict
+        description: check for files with names that would conflict on a case-insensitive filesystem like MacOS HFS+ or Windows FAT
+      - id: check-illegal-windows-names
+        description: check for files that cannot be created on Windows
+      - id: check-merge-conflict
+        description: check for files that contain merge conflict strings
+      - id: check-vcs-permalinks
+        description: ensures that links to vcs websites are permalinks
+      - id: end-of-file-fixer
+        description: makes sure files end in a newline and only a newline
+        files: (m|M)akefile$|\.(asm|asp|bas|bat|c|cl|cmd|common|component|cpp|cs|cxx|dtd|dxp|el|h|hrc|hxx|idl|in|ini|java|js|lst|m|m4|map|md|mk|mm|mod|old|pas|php|pl|pm|pmk|properties|props|py|rc|rdf|rng|s|sdi|sh|src|template|ulf|vbs|xba|xcs|xcu|xdl|xhp|xlb|xmi|xml|xsd|xslt?|ya?ml)$|^ext_libraries/.*$|^test/.*$
+      - id: fix-byte-order-marker
+        description: removes UTF-8 byte order marker
+      - id: mixed-line-ending
+        description: replaces or checks mixed line ending
+        files: \.(asm|asp|bas|c|cl|cmd|common|component|cpp|cs|cxx|dtd|dxp|el|h|hrc|hxx|idl|in|ini|java|js|lst|m|m4|map|md|mk|mm|mod|old|pas|php|pl|pm|pmk|properties|props|py|rc|rdf|rng|s|sdi|sh|src|template|ulf|vbs|xba|xcs|xcu|xdl|xhp|xlb|xmi|xsd|xslt?|ya?ml)$|^main/accessibility/.*$|^main/afms/.*$|^main/animations/.*$|^main/apache-commons/.*$|^test/testgui/.*$
+      - id: trailing-whitespace
+        description: trims trailing whitespace
+        files: (m|M)akefile$|\.(asm|asp|bas|bat|c|cl|cmd|common|component|cpp|cs|cxx|dtd|dxp|el|h|hrc|hxx|idl|in|ini|java|js|lst|m|m4|map|md|mk|mm|mod|old|pas|php|pl|pm|pmk|properties|props|py|rc|rdf|rng|s|sdi|sh|src|template|ulf|vbs|xba|xcs|xcu|xdl|xhp|xlb|xmi|xml|xsd|xslt?|ya?ml)$
+        args: [--markdown-linebreak-ext=md]
+  - repo: https://github.com/codespell-project/codespell
+    rev: v2.4.1
+    hooks:
+      - id: codespell
+        name: run codespell
+        description: check spelling with codespell
+        args: [--ignore-words=.github/linters/codespell.txt]
+        exclude: ^extras/
+  - repo: https://github.com/igorshubovych/markdownlint-cli
+    rev: v0.47.0
+    hooks:
+      - id: markdownlint
+        name: run markdownlint
+        description: check Markdown files with markdownlint
+        args: [--config=.github/linters/.markdown-lint.yml]
+        types: [markdown]
+        files: \.md$


(openoffice) 02/03: Apply pre-commit hooks to align whitespace formatting with trunk

Posted by ji...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

jimjag pushed a commit to branch backport/phase1-format-ci
in repository https://gitbox.apache.org/repos/asf/openoffice.git

commit 8c14ed50d3921bb9d9efc2bbd89100c489034762
Author: Jim Jagielski <ji...@gmail.com>
AuthorDate: Fri Jun 5 06:55:31 2026 -0400

    Apply pre-commit hooks to align whitespace formatting with trunk
    
    Ran 'pre-commit run --all-files' using the config backported in the
    previous commit. The auto-fixing hooks (trailing-whitespace,
    end-of-file-fixer, mixed-line-ending, insert-license) normalized 115
    files. Verified the changes are whitespace/EOL/EOF-only plus Apache
    license-header insertion on README files; no source content changed
    (confirmed via 'git diff --ignore-all-space').
    
    This replaces replaying ~350 historical formatting commits (which
    conflicted with AOO42X's own independent whitespace passes) with a
    single deterministic reformat that matches trunk's tooling.
    
    Phase 1 backport (A_FORMAT + B_CI_DOCS), reformat step.
---
 README.md                                          |   19 +
 ext_libraries/ratscan/scan/rat-scan.xml            |    8 +-
 .../java/accessibility/AccessibleTextImpl.java     |   46 +-
 .../openoffice/java/accessibility/Component.java   |  205 ++--
 .../openoffice/java/accessibility/Container.java   |  233 +++--
 .../openoffice/java/accessibility/Paragraph.java   |   49 +-
 .../source/standard/vclxaccessibletoolbox.cxx      |   14 +-
 main/automation/inc/automation/commdefines.hxx     |    8 +-
 .../java/com/sun/star/beans/ContainerFactory.java  |   10 +-
 .../java/com/sun/star/beans/OfficeConnection.java  |   20 +-
 .../com/sun/star/comp/beans/NativeConnection.java  |   10 +-
 .../com/sun/star/comp/beans/OfficeConnection.java  |   20 +-
 .../java/com/sun/star/comp/beans/OfficeWindow.java |   12 +-
 main/bean/qa/complex/bean/OOoBeanTest.java         |   52 +-
 main/chart2/qa/makefile.mk                         |    8 +-
 main/cli_ure/qa/climaker/ClimakerTestCase.java     |    4 +-
 .../inc/comphelper/embeddedobjectcontainer.hxx     |   12 +-
 main/comphelper/inc/comphelper/extract.hxx         |    8 +-
 .../comphelper/SequenceOutputStreamUnitTest.java   |   20 +-
 main/comphelper/source/misc/locale.cxx             |  118 +--
 .../qa/complex/connectivity/HsqlDriverTest.java    |   28 +-
 .../complex/connectivity/JdbcLongVarCharTest.java  |    2 +-
 .../connectivity/hsqldb/DatabaseMetaData.java      |   46 +-
 main/connectivity/qa/makefile.mk                   |    8 +-
 main/cppu/source/typelib/typelib.cxx               |   10 +-
 main/dbaccess/source/ui/dlg/dbadminsetup.src       |   14 +-
 main/dbaccess/source/ui/dlg/dlgsize.src            |   39 +-
 main/desktop/source/app/configinit.hxx             |   20 +-
 main/dtrans/source/cnttype/wbench/testcnttype.cxx  |   36 +-
 main/dtrans/source/win32/workbench/test_wincb.cxx  |   72 +-
 main/embeddedobj/qa/embedding/EmbeddingTest.java   |    1 -
 main/embeddedobj/qa/embedding/Test01.java          |   13 +-
 main/embeddedobj/qa/embedding/makefile.mk          |   10 +-
 .../qa/integration/extensions/TestSkeleton.java    |    8 +-
 .../qa/integration/extensions/makefile.mk          |    1 -
 .../detection/typeDetection/TypeDetection.java     |  126 +--
 main/filter/source/config/cache/querytokenizer.hxx |    8 +-
 main/filter/source/pdf/impdialog.src               |   12 +-
 main/filter/source/pdf/pdf.src                     |   40 +-
 .../qa/integration/forms/MasterDetailForms.java    |   16 +-
 main/forms/qa/integration/forms/TestSkeleton.java  |    8 +-
 .../qa/integration/forms/XMLFormSettings.java      |    2 +-
 main/forms/qa/makefile.mk                          |    8 +-
 main/framework/inc/threadhelp/transactionbase.hxx  |    8 +-
 .../complex/framework/recovery/RecoveryTools.java  |  108 +-
 main/instsetoo_native/util/aoo-420-release.xml     |   20 +-
 .../star/lib/uno/helper/InterfaceContainer.java    |  116 +--
 main/jurt/test/com/sun/star/uno/makefile.mk        |    8 +-
 main/jurt/test/makefile.mk                         |    8 +-
 .../offapi/com/sun/star/awt/XDisplayConnection.idl |   16 +-
 main/qadevOOo/build.xml                            |   10 +-
 main/qadevOOo/makefile.mk                          |   12 +-
 main/qadevOOo/runner/base/makefile.mk              |    8 +-
 .../runner/basicrunner/basichelper/makefile.mk     |    8 +-
 main/qadevOOo/runner/basicrunner/makefile.mk       |    8 +-
 main/qadevOOo/runner/convwatch/makefile.mk         |    8 +-
 main/qadevOOo/runner/graphical/makefile.mk         |    8 +-
 main/qadevOOo/runner/helper/StreamSimulator.java   |   88 +-
 main/qadevOOo/runner/helper/makefile.mk            |    8 +-
 main/qadevOOo/runner/lib/makefile.mk               |    8 +-
 main/qadevOOo/runner/makefile.mk                   |    8 +-
 main/qadevOOo/runner/share/makefile.mk             |    8 +-
 main/qadevOOo/runner/util/compare/makefile.mk      |    8 +-
 main/qadevOOo/runner/util/makefile.mk              |    8 +-
 main/qadevOOo/tests/java/ifc/i18n/_XCalendar.java  |   24 +-
 .../tests/java/ifc/i18n/_XExtendedCalendar.java    |   32 +-
 .../ifc/i18n/_XExtendedIndexEntrySupplier.java     |   56 +-
 .../java/ifc/i18n/_XExtendedTransliteration.java   |    2 +-
 .../tests/java/mod/_i18n/BreakIterator.java        |    8 +-
 .../tests/java/mod/_i18n/CalendarImpl.java         |    8 +-
 .../tests/java/mod/_i18n/ChapterCollator.java      |    8 +-
 .../java/mod/_i18n/CharacterClassification.java    |    8 +-
 main/qadevOOo/tests/java/mod/_i18n/Collator.java   |    8 +-
 .../tests/java/mod/_i18n/IndexEntrySupplier.java   |    8 +-
 main/qadevOOo/tests/java/mod/_i18n/LocaleData.java |    8 +-
 .../java/mod/_i18n/NumberFormatCodeMapper.java     |    8 +-
 main/qadevOOo/tests/java/mod/_i18n/TextSearch.java |    8 +-
 .../tests/java/mod/_i18n/Transliteration.java      |    8 +-
 .../complex/reportdesign/ReportDesignerTest.java   |    6 +-
 main/ridljar/test/makefile.mk                      |    8 +-
 main/rsc/inc/vclrsc.hxx                            |    8 +-
 main/sal/systools/win32/uwinapi/sntprintf.c        |    8 +-
 main/sc/README.md                                  |   19 +
 .../complex/cellRanges/CheckXCellRangesQuery.java  |   16 +-
 main/sc/qa/complex/sc/CalcRTL.java                 |    2 +-
 main/sd/README.md                                  |   19 +
 main/solenv/gbuild/Library.mk                      |   10 +-
 .../olesimplestorage/OLESimpleStorageUnitTest.java |   16 +-
 main/starmath/README.md                            |   19 +
 main/starmath/source/toolbox.hrc                   |    9 +-
 main/svx/source/dialog/language.src                |   35 +-
 main/sw/README.md                                  |   19 +
 main/sw/source/ui/dbui/maildispatcher.cxx          |  186 ++--
 main/sw/source/ui/docvw/PostItMgr.cxx              |   14 +-
 main/sw/source/ui/docvw/SidebarWin.cxx             |   16 +-
 main/sw/source/ui/docvw/edtdd.cxx                  |   11 +-
 main/swext/README.md                               |   19 +
 .../source/cpp/unoexceptionprotector/makefile.mk   |    8 +-
 .../unoexceptionprotector.cxx                      |    8 +-
 main/testtools/qa/cli/CLITest.java                 |   18 +-
 main/testtools/qa/cliversioning/makefile.mk        |   17 +-
 main/ucb/test/com/sun/star/comp/ucb/makefile.mk    |    1 -
 .../qa/complex/tempfile/TempFileUnitTest.java      |   18 +-
 main/unotools/source/config/viewoptions.cxx        |    8 +-
 main/vcl/qa/complex/memCheck/CheckMemoryUsage.java |   18 +-
 main/vcl/qa/complex/memCheck/TestDocument.java     |    2 +-
 main/vcl/source/app/svdata.cxx                     |   63 +-
 main/vcl/source/control/spinfld.cxx                |    2 +-
 .../com/sun/star/wizards/ui/DocumentPreview.java   |   12 +-
 main/wizards/source/euro/Common.xba                |   12 +-
 main/wizards/source/euro/Protect.xba               |   10 +-
 main/xmloff/inc/xmloff/xmlimppr.hxx                |    8 +-
 test/build.xml                                     |    2 +-
 .../source/fvt/gui/sw/table/TableGeneral.java      | 1058 ++++++++++----------
 .../fvt/uno/sw/puretext/CharacterUnderline.java    |   36 +-
 115 files changed, 1914 insertions(+), 1907 deletions(-)

diff --git a/README.md b/README.md
index 9335c9700c..e4c1f31624 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,22 @@
+<!--
+ 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
+ regarding copyright ownership.  The ASF licenses this file
+ 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.
+-->
+
 # Apache OpenOffice<sup>®</sup> - Branch AOO42X
 
 This is the branch for the next minor release Apache OpenOffice 4.2.0.
diff --git a/ext_libraries/ratscan/scan/rat-scan.xml b/ext_libraries/ratscan/scan/rat-scan.xml
index 05ea701bb5..35bb8a8136 100644
--- a/ext_libraries/ratscan/scan/rat-scan.xml
+++ b/ext_libraries/ratscan/scan/rat-scan.xml
@@ -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.
- * 
+ *
  ***********************************************************-->
 <project name="Check OpenOffice License Files" default="buildsources"
          xmlns:rat="antlib:org.apache.rat.anttasks"
diff --git a/main/accessibility/java/java_uno_accessbridge/src/main/java/org/openoffice/java/accessibility/AccessibleTextImpl.java b/main/accessibility/java/java_uno_accessbridge/src/main/java/org/openoffice/java/accessibility/AccessibleTextImpl.java
index bf933846b6..979ee54b6a 100644
--- a/main/accessibility/java/java_uno_accessbridge/src/main/java/org/openoffice/java/accessibility/AccessibleTextImpl.java
+++ b/main/accessibility/java/java_uno_accessbridge/src/main/java/org/openoffice/java/accessibility/AccessibleTextImpl.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.
- * 
+ *
  *************************************************************/
 
 
@@ -48,7 +48,7 @@ public class AccessibleTextImpl implements javax.accessibility.AccessibleText {
         "ParaLeftMargin", "ParaLineSpacing", "ParaTopMargin", "ParaBottomMargin",
         "CharStrikeout", "CharEscapement", "ParaTabStops", "CharUnderline"
     };
-    
+
     final static String[] localeAttributeList = {
         "CharLocale", "CharLocaleAsian", "CharLocaleComplex"
     };
@@ -61,7 +61,7 @@ public class AccessibleTextImpl implements javax.accessibility.AccessibleText {
 
     /** Creates new GenericAccessibleEditableText object */
     public AccessibleTextImpl(XAccessibleText xAccessibleText) {
-        
+
         if (Build.PRODUCT) {
             unoObject = xAccessibleText;
         } else {
@@ -73,13 +73,13 @@ public class AccessibleTextImpl implements javax.accessibility.AccessibleText {
             }
         }
     }
-    
+
     public AccessibleTextImpl() {
     }
-    
+
     public static javax.accessibility.AccessibleText get(com.sun.star.uno.XInterface unoObject) {
         try {
-            XAccessibleText unoAccessibleText = (XAccessibleText) 
+            XAccessibleText unoAccessibleText = (XAccessibleText)
                 UnoRuntime.queryInterface(XAccessibleText.class, unoObject);
             if (unoAccessibleText != null) {
                 return new AccessibleTextImpl(unoAccessibleText);
@@ -92,7 +92,7 @@ public class AccessibleTextImpl implements javax.accessibility.AccessibleText {
     protected static Object convertTextSegment(Object any) {
         try {
             if (AnyConverter.isObject(any)) {
-                TextSegment ts = (TextSegment) 
+                TextSegment ts = (TextSegment)
                     AnyConverter.toObject(TextSegmentType, any);
                 if (ts != null) {
                     // Since there is nothing like a "range" object in the JAA yet,
@@ -104,7 +104,7 @@ public class AccessibleTextImpl implements javax.accessibility.AccessibleText {
             }
         } catch (com.sun.star.lang.IllegalArgumentException e) {
         }
-        
+
         return null;
     }
 
@@ -122,9 +122,9 @@ public class AccessibleTextImpl implements javax.accessibility.AccessibleText {
 
     protected java.util.Locale getLocale(int index) {
         try {
-            com.sun.star.beans.PropertyValue[] propertyValues = 
+            com.sun.star.beans.PropertyValue[] propertyValues =
                 unoObject.getCharacterAttributes(index, localeAttributeList);
-                
+
             if (null != propertyValues) {
                 for (int i = 0; i < propertyValues.length; i++) {
                     com.sun.star.lang.Locale unoLocale = (com.sun.star.lang.Locale)
@@ -142,11 +142,11 @@ public class AccessibleTextImpl implements javax.accessibility.AccessibleText {
             return java.util.Locale.getDefault();
         }
     }
-    
 
-    /** Returns the string after a given index 
+
+    /** Returns the string after a given index
      *
-     *  The Java word iterator has a different understanding of what 
+     *  The Java word iterator has a different understanding of what
      *  a word is than the word iterator used by OOo, so we use the
      *  Java iterators to ensure maximal compatibility with Java.
      */
@@ -181,7 +181,7 @@ public class AccessibleTextImpl implements javax.accessibility.AccessibleText {
         case AccessibleText.SENTENCE:
             try {
                 String s = unoObject.getText();
-                BreakIterator sentence = 
+                BreakIterator sentence =
                     BreakIterator.getSentenceInstance(getLocale(index));
                 sentence.setText(s);
                 int start = sentence.following(index);
@@ -362,7 +362,7 @@ public class AccessibleTextImpl implements javax.accessibility.AccessibleText {
                         (float) (toPointFactor * ls.Height));
                 }
             }
-            // FIXME: Java 1.4 NameAttribute, Orientation, ResolveAttribute 
+            // FIXME: Java 1.4 NameAttribute, Orientation, ResolveAttribute
             // Set space above attribute
             else if (property.Name.equals("ParaTopMargin")) {
                 StyleConstants.setSpaceAbove(as,
@@ -493,7 +493,7 @@ public class AccessibleTextImpl implements javax.accessibility.AccessibleText {
 
     /** Returns the string before a given index
      *
-     *  The Java word iterator has a different understanding of what 
+     *  The Java word iterator has a different understanding of what
      *  a word is than the word iterator used by OOo, so we use the
      *  Java iterators to ensure maximal compatibility with Java.
      */
@@ -526,7 +526,7 @@ public class AccessibleTextImpl implements javax.accessibility.AccessibleText {
         case AccessibleText.SENTENCE:
             try {
                 String s = unoObject.getText();
-                BreakIterator sentence = 
+                BreakIterator sentence =
                     BreakIterator.getSentenceInstance(getLocale(index));
                 sentence.setText(s);
                 int end = sentence.following(index);
@@ -571,7 +571,7 @@ public class AccessibleTextImpl implements javax.accessibility.AccessibleText {
 
     /** Returns the string at a given index
      *
-     *  The Java word iterator has a different understanding of what 
+     *  The Java word iterator has a different understanding of what
      *  a word is than the word iterator used by OOo, so we use the
      *  Java iterators to ensure maximal compatibility with Java.
      */
@@ -599,7 +599,7 @@ public class AccessibleTextImpl implements javax.accessibility.AccessibleText {
         case AccessibleText.SENTENCE:
             try {
                 String s = unoObject.getText();
-                BreakIterator sentence = 
+                BreakIterator sentence =
                     BreakIterator.getSentenceInstance(getLocale(index));
                 sentence.setText(s);
                 int end = sentence.following(index);
@@ -631,7 +631,7 @@ public class AccessibleTextImpl implements javax.accessibility.AccessibleText {
             } catch (com.sun.star.lang.IllegalArgumentException e) {
                 return null;
             }
-        
+
         default:
             return null;
         }
diff --git a/main/accessibility/java/java_uno_accessbridge/src/main/java/org/openoffice/java/accessibility/Component.java b/main/accessibility/java/java_uno_accessbridge/src/main/java/org/openoffice/java/accessibility/Component.java
index f951989941..a583276747 100644
--- a/main/accessibility/java/java_uno_accessbridge/src/main/java/org/openoffice/java/accessibility/Component.java
+++ b/main/accessibility/java/java_uno_accessbridge/src/main/java/org/openoffice/java/accessibility/Component.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.
- * 
+ *
  *************************************************************/
 
 
@@ -32,18 +32,18 @@ import com.sun.star.accessibility.*;
 public abstract class Component extends java.awt.Component {
     public static final Type RectangleType = new Type(com.sun.star.awt.Rectangle.class);
     public static final Type SelectionType = new Type(com.sun.star.awt.Selection.class);
-    
+
     protected XAccessible unoAccessible;
     protected XAccessibleContext unoAccessibleContext;
     protected XAccessibleComponent unoAccessibleComponent;
-    
+
     protected boolean disposed = false;
-    
+
     protected Component(XAccessible xAccessible, XAccessibleContext xAccessibleContext) {
         super();
         unoAccessible = xAccessible;
         unoAccessibleContext = xAccessibleContext;
-        unoAccessibleComponent = (XAccessibleComponent) 
+        unoAccessibleComponent = (XAccessibleComponent)
             UnoRuntime.queryInterface(XAccessibleComponent.class, xAccessibleContext);
         // Add the event listener right away, because the global focus notification doesn't
         // work yet ..
@@ -54,10 +54,10 @@ public abstract class Component extends java.awt.Component {
             broadcaster.addEventListener(createEventListener());
         }
     }
-    
+
     /**
-    * Determines whether this <code>Component</code> is showing on screen. 
-    * This means that the component must be visible, and it must be in a 
+    * Determines whether this <code>Component</code> is showing on screen.
+    * This means that the component must be visible, and it must be in a
     * <code>container</code> that is visible and showing.
     * @see       #addNotify
     * @see       #removeNotify
@@ -70,10 +70,10 @@ public abstract class Component extends java.awt.Component {
         }
         return false;
     }
-    
+
     /**
     * Makes this <code>Component</code> displayable by connecting it to a
-    * native screen resource.  
+    * native screen resource.
     * This method is called internally by the toolkit and should
     * not be called directly by programs.
     * @see       #isDisplayable
@@ -82,10 +82,10 @@ public abstract class Component extends java.awt.Component {
     */
     public void addNotify() {
     }
-    
-    /** 
+
+    /**
     * Makes this <code>Component</code> undisplayable by destroying it native
-    * screen resource. 
+    * screen resource.
     * This method is called by the toolkit internally and should
     * not be called directly by programs.
     * @see       #isDisplayable
@@ -94,37 +94,37 @@ public abstract class Component extends java.awt.Component {
     */
     public void removeNotify() {
     }
-    
+
     /*
      * Fake the java focus handling. This is necessary to keep OOo focus
      * in sync with the java focus. See java.awt.DefaultKeyboardFocusManager
      * for implementation details.
      **/
-    
+
     /** Requests focus for this object */
     public void requestFocus() {
     }
-    
+
     /** Requests focus for this object */
     public boolean requestFocus(boolean temporary) {
         // Must be a no-op to make focus handling work
         return true;
     }
-    
+
     /** Requests the focus for this object in the containing window */
     public boolean requestFocusInWindow() {
         return requestFocusInWindow(false);
     }
-    
+
     /** Requests the focus for this object in the containing window */
     protected boolean requestFocusInWindow(boolean temporary) {
         if (isFocusable() && isVisible()) {
-            getEventQueue().postEvent(new java.awt.event.FocusEvent(this, java.awt.event.FocusEvent.FOCUS_GAINED, temporary)); 
+            getEventQueue().postEvent(new java.awt.event.FocusEvent(this, java.awt.event.FocusEvent.FOCUS_GAINED, temporary));
             return true;
         }
         return false;
     }
-    
+
     public Object[] getAccessibleComponents(Object[] targetSet) {
         try {
             java.util.ArrayList list = new java.util.ArrayList(targetSet.length);
@@ -141,22 +141,22 @@ public abstract class Component extends java.awt.Component {
             return null;
         }
     }
-    
+
     protected java.awt.EventQueue getEventQueue() {
         return java.awt.Toolkit.getDefaultToolkit().getSystemEventQueue();
     }
-    
+
     protected class PropertyChangeBroadcaster implements Runnable {
         String propertyName;
         Object oldValue;
         Object newValue;
-        
+
         public PropertyChangeBroadcaster(String name, Object param1, Object param2) {
             propertyName = name;
             oldValue = param1;
             newValue = param2;
         }
-        
+
         public void run() {
             // Because this code is executed in the DispatchThread, it is better to catch every
             // exception that might occur
@@ -173,19 +173,19 @@ public abstract class Component extends java.awt.Component {
             }
         }
     }
-    
+
     protected void firePropertyChange(String property, Object oldValue, Object newValue) {
         getEventQueue().invokeLater(new PropertyChangeBroadcaster(property, oldValue, newValue));
     }
-    
+
     protected void fireStatePropertyChange(AccessibleState state, boolean set) {
         PropertyChangeBroadcaster broadcaster;
-        
+
 //      if (Build.DEBUG) {
 //          System.err.println("[" + AccessibleRoleAdapter.getAccessibleRole(unoAccessibleContext.getAccessibleRole()) + "] " +
 //                  unoAccessibleContext.getAccessibleName() + " is " + (set ? "now " : "no longer ") + state);
 //      }
-        
+
         if (set) {
             broadcaster = new PropertyChangeBroadcaster(
                 accessibleContext.ACCESSIBLE_STATE_PROPERTY,
@@ -197,15 +197,15 @@ public abstract class Component extends java.awt.Component {
         }
         getEventQueue().invokeLater(broadcaster);
     }
-    
+
     /**
     * Update the proxy objects appropriately on property change events
     */
     protected class AccessibleUNOComponentListener implements XAccessibleEventListener {
-        
+
         protected AccessibleUNOComponentListener() {
         }
-        
+
         protected void setComponentState(short state, boolean enable) {
             switch (state) {
                 case AccessibleStateType.ACTIVE:
@@ -225,8 +225,8 @@ public abstract class Component extends java.awt.Component {
                     break;
                 case AccessibleStateType.FOCUSED:
                     getEventQueue().postEvent(new java.awt.event.FocusEvent(
-                        Component.this, enable ? 
-                        java.awt.event.FocusEvent.FOCUS_GAINED : 
+                        Component.this, enable ?
+                        java.awt.event.FocusEvent.FOCUS_GAINED :
                         java.awt.event.FocusEvent.FOCUS_LOST));
                     break;
                 case AccessibleStateType.PRESSED:
@@ -251,7 +251,7 @@ public abstract class Component extends java.awt.Component {
                     break;
             }
         }
-        
+
         /** Updates the accessible name and fires the appropriate PropertyChangedEvent */
         protected void handleNameChangedEvent(Object any) {
             try {
@@ -264,7 +264,7 @@ public abstract class Component extends java.awt.Component {
             } catch (com.sun.star.lang.IllegalArgumentException e) {
             }
         }
-        
+
         /** Updates the accessible description and fires the appropriate PropertyChangedEvent */
         protected void handleDescriptionChangedEvent(Object any) {
             try {
@@ -277,26 +277,26 @@ public abstract class Component extends java.awt.Component {
             } catch (com.sun.star.lang.IllegalArgumentException e) {
             }
         }
-        
+
         /** Updates the internal states and fires the appropriate PropertyChangedEvent */
         protected void handleStateChangedEvent(Object any1, Object any2) {
             try {
                 if (AnyConverter.isShort(any1)) {
                     setComponentState(AnyConverter.toShort(any1), false);
                 }
-                
+
                 if (AnyConverter.isShort(any2)) {
                     setComponentState(AnyConverter.toShort(any2), true);
                 }
             } catch (com.sun.star.lang.IllegalArgumentException e) {
             }
         }
-        
+
         /** Called by OpenOffice process to notify property changes */
         public void notifyEvent(AccessibleEventObject event) {
-            
+
             if ( !disposed ) {
-                
+
                 switch (event.EventId) {
                     case AccessibleEventId.ACTION_CHANGED:
                         firePropertyChange(accessibleContext.ACCESSIBLE_ACTION_PROPERTY,
@@ -327,7 +327,7 @@ public abstract class Component extends java.awt.Component {
                         break;
                     case AccessibleEventId.TEXT_CHANGED:
                         firePropertyChange(AccessibleContext.ACCESSIBLE_TEXT_PROPERTY,
-                                                AccessibleTextImpl.convertTextSegment(event.OldValue), 
+                                                AccessibleTextImpl.convertTextSegment(event.OldValue),
                                                 AccessibleTextImpl.convertTextSegment(event.NewValue));
                         break;
                     /*
@@ -350,20 +350,20 @@ public abstract class Component extends java.awt.Component {
                 }
             }
         }
-        
+
         /** Called by OpenOffice process to notify that the UNO component is disposing */
         public void disposing(com.sun.star.lang.EventObject eventObject) {
             disposed = true;
             AccessibleObjectFactory.disposing(Component.this);
         }
     }
-    
+
     protected XAccessibleEventListener createEventListener() {
         return new AccessibleUNOComponentListener();
     }
-    
+
     protected javax.accessibility.AccessibleContext accessibleContext = null;
-    
+
     /** This method actually creates the AccessibleContext object returned by
      * getAccessibleContext().
      */
@@ -377,7 +377,7 @@ public abstract class Component extends java.awt.Component {
             try {
                 AccessibleContext ac = createAccessibleContext();
                 if (ac != null) {
-                    // Set accessible name and description here to avoid 
+                    // Set accessible name and description here to avoid
                     // unnecessary property change events later ..
                     ac.setAccessibleName(unoAccessibleContext.getAccessibleName());
                     ac.setAccessibleDescription(unoAccessibleContext.getAccessibleDescription());
@@ -388,12 +388,12 @@ public abstract class Component extends java.awt.Component {
         }
         return accessibleContext;
     }
-    
-    protected abstract class AccessibleUNOComponent extends java.awt.Component.AccessibleAWTComponent 
+
+    protected abstract class AccessibleUNOComponent extends java.awt.Component.AccessibleAWTComponent
         implements javax.accessibility.AccessibleExtendedComponent {
-        
+
         protected java.awt.event.ComponentListener accessibleComponentHandler = null;
-        
+
         /**
         * Fire PropertyChange listener, if one is registered,
         * when shown/hidden..
@@ -404,22 +404,22 @@ public abstract class Component extends java.awt.Component {
                     AccessibleContext.ACCESSIBLE_STATE_PROPERTY,
                     AccessibleState.VISIBLE, null);
             }
-            
+
             public void componentShown(java.awt.event.ComponentEvent e)  {
                 AccessibleUNOComponent.this.firePropertyChange(
                     AccessibleContext.ACCESSIBLE_STATE_PROPERTY,
                     null, AccessibleState.VISIBLE);
             }
-            
+
             public void componentMoved(java.awt.event.ComponentEvent e)  {
             }
-            
+
             public void componentResized(java.awt.event.ComponentEvent e)  {
             }
         } // inner class AccessibleComponentHandler
-        
+
         protected java.awt.event.FocusListener accessibleFocusHandler = null;
-        
+
         /**
         * Fire PropertyChange listener, if one is registered,
         * when focus events happen
@@ -442,9 +442,9 @@ public abstract class Component extends java.awt.Component {
                 }
             }
         } // inner class AccessibleFocusHandler
-        
+
         protected int propertyChangeListenerCount = 0;
-        
+
         /**
         * Add a PropertyChangeListener to the listener list.
         *
@@ -454,13 +454,13 @@ public abstract class Component extends java.awt.Component {
             if (propertyChangeListenerCount++ == 0) {
                 accessibleComponentHandler = new AccessibleComponentHandler();
                 Component.this.addComponentListener(accessibleComponentHandler);
-                
+
                 accessibleFocusHandler = new AccessibleFocusHandler();
                 Component.this.addFocusListener(accessibleFocusHandler);
             }
             super.addPropertyChangeListener(listener);
         }
-        
+
         /**
         * Remove a PropertyChangeListener from the listener list.
         * This removes a PropertyChangeListener that was registered
@@ -472,7 +472,7 @@ public abstract class Component extends java.awt.Component {
             if (--propertyChangeListenerCount == 0) {
                 Component.this.removeComponentListener(accessibleComponentHandler);
                 accessibleComponentHandler = null;
-                
+
                 Component.this.removeFocusListener(accessibleFocusHandler);
                 accessibleFocusHandler = null;
             }
@@ -497,7 +497,7 @@ public abstract class Component extends java.awt.Component {
                 return AccessibleStateAdapter.getDefunctStateSet();
             }
         }
-        
+
         /** Gets the locale of the component */
         public java.util.Locale getLocale() throws java.awt.IllegalComponentStateException {
             try {
@@ -509,11 +509,11 @@ public abstract class Component extends java.awt.Component {
                 return java.util.Locale.getDefault();
             }
         }
-        
+
         /*
         * AccessibleExtendedComponent
         */
-        
+
         /** Returns the background color of the object */
         public java.awt.Color getBackground() {
             try {
@@ -522,11 +522,11 @@ public abstract class Component extends java.awt.Component {
                 return null;
             }
         }
-        
+
         public void setBackground(java.awt.Color c) {
             // Not supported by UNO accessibility API
         }
-        
+
         /** Returns the foreground color of the object */
         public java.awt.Color getForeground() {
             try {
@@ -535,62 +535,62 @@ public abstract class Component extends java.awt.Component {
                 return null;
             }
         }
-        
+
         public void setForeground(java.awt.Color c) {
             // Not supported by UNO accessibility API
         }
-        
+
         public java.awt.Cursor getCursor() {
             // Not supported by UNO accessibility API
             return null;
         }
-        
+
         public void setCursor(java.awt.Cursor cursor) {
             // Not supported by UNO accessibility API
         }
-        
+
         public java.awt.Font getFont() {
             // FIXME
             return null;
         }
-        
+
         public void setFont(java.awt.Font f) {
             // Not supported by UNO accessibility API
         }
-        
+
         public java.awt.FontMetrics getFontMetrics(java.awt.Font f) {
             // FIXME
             return null;
         }
-        
+
         public boolean isEnabled() {
             return Component.this.isEnabled();
         }
-        
+
         public void setEnabled(boolean b) {
             // Not supported by UNO accessibility API
         }
-        
+
         public boolean isVisible() {
             return Component.this.isVisible();
         }
-        
+
         public void setVisible(boolean b) {
             // Not supported by UNO accessibility API
         }
-        
+
         public boolean isShowing() {
             return Component.this.isShowing();
         }
-        
+
         public boolean contains(java.awt.Point p) {
             try {
-                return unoAccessibleComponent.containsPoint(new com.sun.star.awt.Point(p.x, p.y)); 
+                return unoAccessibleComponent.containsPoint(new com.sun.star.awt.Point(p.x, p.y));
             } catch (com.sun.star.uno.RuntimeException e) {
                 return false;
             }
         }
-        
+
         /** Returns the location of the object on the screen. */
         public java.awt.Point getLocationOnScreen() {
             try {
@@ -603,68 +603,68 @@ public abstract class Component extends java.awt.Component {
                 return null;
             }
         }
-        
+
         /** Gets the location of this component in the form of a point specifying the component's top-left corner */
         public java.awt.Point getLocation() {
             try {
-                com.sun.star.awt.Point unoPoint = unoAccessibleComponent.getLocation(); 
+                com.sun.star.awt.Point unoPoint = unoAccessibleComponent.getLocation();
                 return new java.awt.Point( unoPoint.X, unoPoint.Y );
             } catch (com.sun.star.uno.RuntimeException e) {
                 return null;
             }
         }
-        
+
         /** Moves this component to a new location */
         public void setLocation(java.awt.Point p) {
             // Not supported by UNO accessibility API
         }
-        
+
         /** Gets the bounds of this component in the form of a Rectangle object */
         public java.awt.Rectangle getBounds() {
             try {
-                com.sun.star.awt.Rectangle unoRect = unoAccessibleComponent.getBounds(); 
+                com.sun.star.awt.Rectangle unoRect = unoAccessibleComponent.getBounds();
                 return new java.awt.Rectangle(unoRect.X, unoRect.Y, unoRect.Width, unoRect.Height);
             } catch (com.sun.star.uno.RuntimeException e) {
                 return null;
             }
         }
-        
+
         /** Moves and resizes this component to conform to the new bounding rectangle r */
         public void setBounds(java.awt.Rectangle r) {
             // Not supported by UNO accessibility API
         }
-        
+
         /** Returns the size of this component in the form of a Dimension object */
         public java.awt.Dimension getSize() {
             try {
-                com.sun.star.awt.Size unoSize = unoAccessibleComponent.getSize(); 
+                com.sun.star.awt.Size unoSize = unoAccessibleComponent.getSize();
                 return new java.awt.Dimension(unoSize.Width, unoSize.Height);
             } catch (com.sun.star.uno.RuntimeException e) {
                 return null;
             }
         }
-        
+
         /** Resizes this component so that it has width d.width and height d.height */
         public void setSize(java.awt.Dimension d) {
             // Not supported by UNO accessibility API
         }
-        
+
         public javax.accessibility.Accessible getAccessibleAt(java.awt.Point p) {
             // Not supported by this implementation
             return null;
         }
-        
+
         public boolean isFocusTraversable() {
             return Component.this.isFocusable();
         }
-        
+
         public void requestFocus() {
             unoAccessibleComponent.grabFocus();
         }
-        
+
         public String getToolTipText() {
             try {
-                XAccessibleExtendedComponent unoAccessibleExtendedComponent = (XAccessibleExtendedComponent) 
+                XAccessibleExtendedComponent unoAccessibleExtendedComponent = (XAccessibleExtendedComponent)
                     UnoRuntime.queryInterface(XAccessibleExtendedComponent.class, unoAccessibleComponent);
                 if (unoAccessibleExtendedComponent != null) {
                     return unoAccessibleExtendedComponent.getToolTipText();
@@ -674,10 +674,10 @@ public abstract class Component extends java.awt.Component {
             }
             return null;
         }
-        
+
         public String getTitledBorderText() {
             try {
-                XAccessibleExtendedComponent unoAccessibleExtendedComponent = (XAccessibleExtendedComponent) 
+                XAccessibleExtendedComponent unoAccessibleExtendedComponent = (XAccessibleExtendedComponent)
                     UnoRuntime.queryInterface(XAccessibleExtendedComponent.class, unoAccessibleComponent);
                 if (unoAccessibleExtendedComponent != null) {
                     return unoAccessibleExtendedComponent.getTitledBorderText();
@@ -687,10 +687,10 @@ public abstract class Component extends java.awt.Component {
             }
             return null;
         }
-        
+
         public javax.accessibility.AccessibleKeyBinding getAccessibleKeyBinding() {
             try {
-                XAccessibleAction unoAccessibleAction = (XAccessibleAction) 
+                XAccessibleAction unoAccessibleAction = (XAccessibleAction)
                     UnoRuntime.queryInterface(XAccessibleAction.class, unoAccessibleComponent);
                 if (unoAccessibleAction != null) {
                     XAccessibleKeyBinding unoAccessibleKeyBinding = unoAccessibleAction.getAccessibleActionKeyBinding(0);
@@ -706,7 +706,7 @@ public abstract class Component extends java.awt.Component {
             return null;
         }
     }
-    
+
     // Extract a number from a UNO any
     public static java.lang.Number toNumber(java.lang.Object any) {
         try {
@@ -728,9 +728,8 @@ public abstract class Component extends java.awt.Component {
         }
             return null;
     }
-    
+
     public String toString() {
         return UnoRuntime.generateOid(unoAccessible);
     }
 }
-
diff --git a/main/accessibility/java/java_uno_accessbridge/src/main/java/org/openoffice/java/accessibility/Container.java b/main/accessibility/java/java_uno_accessbridge/src/main/java/org/openoffice/java/accessibility/Container.java
index bdcc14c5b7..d53f03c573 100644
--- a/main/accessibility/java/java_uno_accessbridge/src/main/java/org/openoffice/java/accessibility/Container.java
+++ b/main/accessibility/java/java_uno_accessbridge/src/main/java/org/openoffice/java/accessibility/Container.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.
- * 
+ *
  *************************************************************/
 
 
@@ -30,7 +30,7 @@ import com.sun.star.uno.*;
 import com.sun.star.accessibility.*;
 
 public class Container extends java.awt.Container implements javax.accessibility.Accessible {
-    
+
     protected XAccessible unoAccessible;
     protected XAccessibleContext unoAccessibleContext;
     protected XAccessibleComponent unoAccessibleComponent = null;
@@ -38,14 +38,14 @@ public class Container extends java.awt.Container implements javax.accessibility
     protected javax.accessibility.AccessibleRole accessibleRole;
     protected javax.accessibility.AccessibleText accessibleText;
     protected boolean disposed = false;
-    
+
     protected Container(javax.accessibility.AccessibleRole role,
         XAccessible xAccessible, XAccessibleContext xAccessibleContext) {
         accessibleRole = role;
         unoAccessible = xAccessible;
         unoAccessibleContext = xAccessibleContext;
-        unoAccessibleComponent = (XAccessibleComponent) 
-            UnoRuntime.queryInterface(XAccessibleComponent.class, 
+        unoAccessibleComponent = (XAccessibleComponent)
+            UnoRuntime.queryInterface(XAccessibleComponent.class,
             xAccessibleContext);
 
         // Add the event listener right away, because the global focus notification doesn't
@@ -57,10 +57,10 @@ public class Container extends java.awt.Container implements javax.accessibility
             broadcaster.addEventListener(createEventListener());
         }
     }
-    
+
     /**
-    * Determines whether this <code>Container</code> is showing on screen. 
-    * This means that the component must be visible, and it must be in a 
+    * Determines whether this <code>Container</code> is showing on screen.
+    * This means that the component must be visible, and it must be in a
     * <code>container</code> that is visible and showing.
     * @see       #addNotify
     * @see       #removeNotify
@@ -73,10 +73,10 @@ public class Container extends java.awt.Container implements javax.accessibility
         }
         return false;
     }
-    
+
     /**
     * Makes this <code>Container</code> displayable by connecting it to a
-    * native screen resource.  
+    * native screen resource.
     * This method is called internally by the toolkit and should
     * not be called directly by programs.
     * @see       #isDisplayable
@@ -85,10 +85,10 @@ public class Container extends java.awt.Container implements javax.accessibility
     */
     public void addNotify() {
     }
-    
-    /** 
+
+    /**
     * Makes this <code>Container</code> undisplayable by destroying it native
-    * screen resource. 
+    * screen resource.
     * This method is called by the toolkit internally and should
     * not be called directly by programs.
     * @see       #isDisplayable
@@ -107,27 +107,27 @@ public class Container extends java.awt.Container implements javax.accessibility
     /** Requests focus for this object */
     public void requestFocus() {
     }
-    
+
     /** Requests focus for this object */
     public boolean requestFocus(boolean temporary) {
         // Must be a no-op to make focus handling work
         return true;
     }
-    
+
     /** Requests the focus for this object in the containing window */
     public boolean requestFocusInWindow() {
         return requestFocusInWindow(false);
     }
-    
+
     /** Requests the focus for this object in the containing window */
     protected boolean requestFocusInWindow(boolean temporary) {
         if (isFocusable() && isVisible()) {
-            getEventQueue().postEvent(new java.awt.event.FocusEvent(this, java.awt.event.FocusEvent.FOCUS_GAINED, temporary)); 
+            getEventQueue().postEvent(new java.awt.event.FocusEvent(this, java.awt.event.FocusEvent.FOCUS_GAINED, temporary));
             return true;
         }
         return false;
     }
-    
+
     public Object[] getAccessibleComponents(Object[] targetSet) {
         try {
             java.util.ArrayList list = new java.util.ArrayList(targetSet.length);
@@ -144,22 +144,22 @@ public class Container extends java.awt.Container implements javax.accessibility
             return null;
         }
     }
-    
+
     protected java.awt.EventQueue getEventQueue() {
         return java.awt.Toolkit.getDefaultToolkit().getSystemEventQueue();
     }
-    
+
     protected class PropertyChangeBroadcaster implements Runnable {
         String propertyName;
         Object oldValue;
         Object newValue;
-        
+
         public PropertyChangeBroadcaster(String name, Object param1, Object param2) {
             propertyName = name;
             oldValue = param1;
             newValue = param2;
         }
-        
+
         public void run() {
             // Because this code is executed in the DispatchThread, it is better tocatch every
             // exception that might occur
@@ -176,11 +176,11 @@ public class Container extends java.awt.Container implements javax.accessibility
             }
         }
     }
-    
+
     protected void firePropertyChange(String property, Object oldValue, Object newValue) {
         getEventQueue().invokeLater(new PropertyChangeBroadcaster(property, oldValue, newValue));
     }
-    
+
     protected void fireStatePropertyChange(AccessibleState state, boolean set) {
         PropertyChangeBroadcaster broadcaster;
         if (set) {
@@ -194,19 +194,19 @@ public class Container extends java.awt.Container implements javax.accessibility
         }
         getEventQueue().invokeLater(broadcaster);
     }
-    
+
     /**
     * Update the proxy objects appropriately on property change events
     */
     protected class AccessibleContainerListener implements XAccessibleEventListener {
-        
+
         protected AccessibleContainerListener() {
         }
-        
+
         protected java.awt.EventQueue getEventQueue() {
             return java.awt.Toolkit.getDefaultToolkit().getSystemEventQueue();
         }
-        
+
         protected void setComponentState(short state, boolean enable) {
             switch (state) {
                 case AccessibleStateType.ACTIVE:
@@ -220,8 +220,8 @@ public class Container extends java.awt.Container implements javax.accessibility
                     break;
                 case AccessibleStateType.FOCUSED:
                     getEventQueue().postEvent(new java.awt.event.FocusEvent(
-                        Container.this, enable ? 
-                        java.awt.event.FocusEvent.FOCUS_GAINED : 
+                        Container.this, enable ?
+                        java.awt.event.FocusEvent.FOCUS_GAINED :
                         java.awt.event.FocusEvent.FOCUS_LOST));
                     break;
                 case AccessibleStateType.SELECTED:
@@ -253,7 +253,7 @@ public class Container extends java.awt.Container implements javax.accessibility
             } catch (com.sun.star.lang.IllegalArgumentException e) {
             }
         }
-        
+
         /** Updates the accessible description and fires the appropriate PropertyChangedEvent */
         protected void handleDescriptionChangedEvent(Object any) {
             try {
@@ -266,21 +266,21 @@ public class Container extends java.awt.Container implements javax.accessibility
             } catch (com.sun.star.lang.IllegalArgumentException e) {
             }
         }
-        
+
         /** Updates the internal states and fires the appropriate PropertyChangedEvent */
         protected void handleStateChangedEvent(Object any1, Object any2) {
             try {
                 if (AnyConverter.isShort(any1)) {
                     setComponentState(AnyConverter.toShort(any1), false);
                 }
-                
+
                 if (AnyConverter.isShort(any2)) {
                     setComponentState(AnyConverter.toShort(any2), true);
                 }
             } catch (com.sun.star.lang.IllegalArgumentException e) {
             }
         }
-        
+
         /* This event is only necessary because some objects in the office don't know their parent
          *  and are therefor unable to revoke and re-insert themselves.
          */
@@ -289,15 +289,15 @@ public class Container extends java.awt.Container implements javax.accessibility
             if (parent != null) {
                 javax.accessibility.AccessibleContext parentAC = parent.getAccessibleContext();
                 if (parentAC != null) {
-                
+
                     parentAC.firePropertyChange(
                         javax.accessibility.AccessibleContext.ACCESSIBLE_CHILD_PROPERTY,
                         Container.this,
                         null);
-                    
-                    AccessibleObjectFactory.clearContainer(Container.this);                    
+
+                    AccessibleObjectFactory.clearContainer(Container.this);
                     AccessibleObjectFactory.populateContainer(Container.this, unoAccessibleContext);
-                        
+
                     parentAC.firePropertyChange(
                         javax.accessibility.AccessibleContext.ACCESSIBLE_CHILD_PROPERTY,
                         null,
@@ -305,12 +305,12 @@ public class Container extends java.awt.Container implements javax.accessibility
                 }
             }
         }
-        
+
         /** Called by OpenOffice process to notify property changes */
         public void notifyEvent(AccessibleEventObject event) {
-            
+
             if ( !disposed ) {
-                
+
                 switch (event.EventId) {
                     case AccessibleEventId.NAME_CHANGED:
                         // Set the accessible name for the corresponding context, which will fire a property
@@ -328,7 +328,7 @@ public class Container extends java.awt.Container implements javax.accessibility
                         break;
                     case AccessibleEventId.TEXT_CHANGED:
                         firePropertyChange(AccessibleContext.ACCESSIBLE_TEXT_PROPERTY,
-                                                AccessibleTextImpl.convertTextSegment(event.OldValue), 
+                                                AccessibleTextImpl.convertTextSegment(event.OldValue),
                                                 AccessibleTextImpl.convertTextSegment(event.NewValue));
                         break;
                     case AccessibleEventId.CHILD:
@@ -361,20 +361,20 @@ public class Container extends java.awt.Container implements javax.accessibility
                 }
             }
         }
-        
+
         /** Called by OpenOffice process to notify that the UNO component is disposing */
         public void disposing(com.sun.star.lang.EventObject eventObject) {
             disposed = true;
             AccessibleObjectFactory.disposing(Container.this);
         }
     }
-    
+
     protected XAccessibleEventListener createEventListener() {
         return new AccessibleContainerListener();
     }
-    
+
     protected javax.accessibility.AccessibleContext accessibleContext = null;
-    
+
     /** This method actually creates the AccessibleContext object returned by
      * getAccessibleContext().
      */
@@ -388,7 +388,7 @@ public class Container extends java.awt.Container implements javax.accessibility
             try {
                 AccessibleContext ac = createAccessibleContext();
                 if (ac != null) {
-                    // Set accessible name and description here to avoid 
+                    // Set accessible name and description here to avoid
                     // unnecessary property change events later ..
                     ac.setAccessibleName(unoAccessibleContext.getAccessibleName());
                     ac.setAccessibleDescription(unoAccessibleContext.getAccessibleDescription());
@@ -399,11 +399,11 @@ public class Container extends java.awt.Container implements javax.accessibility
         }
         return accessibleContext;
     }
-    
-    protected class AccessibleContainer extends java.awt.Container.AccessibleAWTContainer { 
+
+    protected class AccessibleContainer extends java.awt.Container.AccessibleAWTContainer {
 
         protected AccessibleContainer() {
-            /* Since getAccessibleText() is heavily used by the java access 
+            /* Since getAccessibleText() is heavily used by the java access
              * bridge for gnome and the gnome at-tools, we do a query interface
              * here and remember the result.
              */
@@ -412,13 +412,13 @@ public class Container extends java.awt.Container implements javax.accessibility
 
         protected AccessibleContainer(boolean query) {
             /* This constructor is explicitly for subclasses that implement
-             * AccessibleHypertext and therefor the default constructor would 
+             * AccessibleHypertext and therefor the default constructor would
              * bring unnecessary overhead.
              */
         }
-                
+
         protected java.awt.event.ComponentListener accessibleComponentHandler = null;
-        
+
         /**
         * Fire PropertyChange listener, if one is registered,
         * when shown/hidden..
@@ -429,22 +429,22 @@ public class Container extends java.awt.Container implements javax.accessibility
                     AccessibleContext.ACCESSIBLE_STATE_PROPERTY,
                     AccessibleState.VISIBLE, null);
             }
-            
+
             public void componentShown(java.awt.event.ComponentEvent e)  {
                 AccessibleContainer.this.firePropertyChange(
                     AccessibleContext.ACCESSIBLE_STATE_PROPERTY,
                     null, AccessibleState.VISIBLE);
             }
-            
+
             public void componentMoved(java.awt.event.ComponentEvent e)  {
             }
-            
+
             public void componentResized(java.awt.event.ComponentEvent e)  {
             }
         } // inner class AccessibleContainerHandler
-        
+
         protected java.awt.event.FocusListener accessibleFocusHandler = null;
-        
+
         /**
         * Fire PropertyChange listener, if one is registered,
         * when focus events happen
@@ -467,20 +467,20 @@ public class Container extends java.awt.Container implements javax.accessibility
                 }
             }
         } // inner class AccessibleFocusHandler
-        
+
         protected java.awt.event.ContainerListener accessibleContainerHandler = null;
-        
+
         /**
         * Fire PropertyChange listener, if one is registered,
         * when children added/removed.
         */
-        
+
         protected class AccessibleContainerHandler implements java.awt.event.ContainerListener {
             public void componentAdded(java.awt.event.ContainerEvent e) {
                 java.awt.Component c = e.getChild();
                 if (c != null && c instanceof javax.accessibility.Accessible) {
                     AccessibleContainer.this.firePropertyChange(
-                        AccessibleContext.ACCESSIBLE_CHILD_PROPERTY, 
+                        AccessibleContext.ACCESSIBLE_CHILD_PROPERTY,
                         null, ((javax.accessibility.Accessible) c).getAccessibleContext());
                 }
             }
@@ -488,14 +488,14 @@ public class Container extends java.awt.Container implements javax.accessibility
                 java.awt.Component c = e.getChild();
                 if (c != null && c instanceof javax.accessibility.Accessible) {
                     AccessibleContainer.this.firePropertyChange(
-                        AccessibleContext.ACCESSIBLE_CHILD_PROPERTY, 
-                        ((javax.accessibility.Accessible) c).getAccessibleContext(), null); 
+                        AccessibleContext.ACCESSIBLE_CHILD_PROPERTY,
+                        ((javax.accessibility.Accessible) c).getAccessibleContext(), null);
                 }
             }
         }
-        
+
         protected int propertyChangeListenerCount = 0;
-        
+
         /**
         * Add a PropertyChangeListener to the listener list.
         *
@@ -505,16 +505,16 @@ public class Container extends java.awt.Container implements javax.accessibility
             if (propertyChangeListenerCount++ == 0) {
                 accessibleFocusHandler = new AccessibleFocusHandler();
                 Container.this.addFocusListener(accessibleFocusHandler);
-                
+
                 accessibleContainerHandler = new AccessibleContainerHandler();
                 Container.this.addContainerListener(accessibleContainerHandler);
-                
+
                 accessibleComponentHandler = new AccessibleComponentHandler();
                 Container.this.addComponentListener(accessibleComponentHandler);
             }
             super.addPropertyChangeListener(listener);
         }
-        
+
         /**
         * Remove a PropertyChangeListener from the listener list.
         * This removes a PropertyChangeListener that was registered
@@ -526,30 +526,30 @@ public class Container extends java.awt.Container implements javax.accessibility
             if (--propertyChangeListenerCount == 0) {
                 Container.this.removeComponentListener(accessibleComponentHandler);
                 accessibleComponentHandler = null;
-                
+
                 Container.this.removeContainerListener(accessibleContainerHandler);
                 accessibleContainerHandler = null;
-                
+
                 Container.this.removeFocusListener(accessibleFocusHandler);
                 accessibleFocusHandler = null;
             }
             super.removePropertyChangeListener(listener);
         }
-        
+
         /** Gets the role of this object */
         public javax.accessibility.AccessibleRole getAccessibleRole() {
             return accessibleRole;
         }
-        
+
         /** Gets the AccessibleText associated with this object presenting text on the display */
         public javax.accessibility.AccessibleText getAccessibleText() {
-            
+
             if (disposed)
                 return null;
-            
+
             return accessibleText;
         }
-        
+
         /**
         * Gets the current state set of this object.
         *
@@ -568,21 +568,21 @@ public class Container extends java.awt.Container implements javax.accessibility
                 return AccessibleStateAdapter.getDefunctStateSet();
             }
         }
-        
+
         /** Returns the AccessibleSelection interface for this object */
         public javax.accessibility.AccessibleSelection getAccessibleSelection() {
             try {
-                XAccessibleSelection unoAccessibleSelection = (XAccessibleSelection) 
+                XAccessibleSelection unoAccessibleSelection = (XAccessibleSelection)
                     UnoRuntime.queryInterface(XAccessibleSelection.class, unoAccessibleContext);
                 if (unoAccessibleSelection != null) {
                     return new AccessibleSelectionImpl(unoAccessibleSelection);
                 }
             } catch (com.sun.star.uno.RuntimeException e) {
             }
-            
+
             return null;
         }
-        
+
         /** Gets the locale of the component */
         public java.util.Locale getLocale() throws java.awt.IllegalComponentStateException {
             try {
@@ -594,11 +594,11 @@ public class Container extends java.awt.Container implements javax.accessibility
                 return super.getLocale();
             }
         }
-        
+
         /*
         * AccessibleComponent
         */
-        
+
         /** Returns the background color of the object */
         public java.awt.Color getBackground() {
             try {
@@ -607,11 +607,11 @@ public class Container extends java.awt.Container implements javax.accessibility
                 return null;
             }
         }
-        
+
         public void setBackground(java.awt.Color c) {
             // Not supported by UNO accessibility API
         }
-        
+
         /** Returns the foreground color of the object */
         public java.awt.Color getForeground() {
             try {
@@ -620,140 +620,139 @@ public class Container extends java.awt.Container implements javax.accessibility
                 return null;
             }
         }
-        
+
         public void setForeground(java.awt.Color c) {
             // Not supported by UNO accessibility API
         }
-        
+
         public java.awt.Cursor getCursor() {
             // Not supported by UNO accessibility API
             return null;
         }
-        
+
         public void setCursor(java.awt.Cursor cursor) {
             // Not supported by UNO accessibility API
         }
-        
+
         public java.awt.Font getFont() {
             // FIXME
             return null;
         }
-        
+
         public void setFont(java.awt.Font f) {
             // Not supported by UNO accessibility API
         }
-        
+
         public java.awt.FontMetrics getFontMetrics(java.awt.Font f) {
             // FIXME
             return null;
         }
-        
+
         public boolean isEnabled() {
             return Container.this.isEnabled();
         }
-        
+
         public void setEnabled(boolean b) {
             // Not supported by UNO accessibility API
         }
-        
+
         public boolean isVisible() {
             return Container.this.isVisible();
         }
-        
+
         public void setVisible(boolean b) {
             // Not supported by UNO accessibility API
         }
-        
+
         public boolean isShowing() {
             return Container.this.isShowing();
         }
-        
+
         public boolean contains(java.awt.Point p) {
             try {
-                return unoAccessibleComponent.containsPoint(new com.sun.star.awt.Point(p.x, p.y)); 
+                return unoAccessibleComponent.containsPoint(new com.sun.star.awt.Point(p.x, p.y));
             } catch (com.sun.star.uno.RuntimeException e) {
                 return false;
             }
         }
-        
+
         /** Returns the location of the object on the screen. */
         public java.awt.Point getLocationOnScreen() {
             try {
-                com.sun.star.awt.Point unoPoint = unoAccessibleComponent.getLocationOnScreen(); 
+                com.sun.star.awt.Point unoPoint = unoAccessibleComponent.getLocationOnScreen();
                 return new java.awt.Point(unoPoint.X, unoPoint.Y);
             } catch (com.sun.star.uno.RuntimeException e) {
                 return null;
             }
         }
-        
+
         /** Gets the location of this component in the form of a point specifying the component's top-left corner */
         public java.awt.Point getLocation() {
             try {
-                com.sun.star.awt.Point unoPoint = unoAccessibleComponent.getLocation(); 
+                com.sun.star.awt.Point unoPoint = unoAccessibleComponent.getLocation();
                 return new java.awt.Point( unoPoint.X, unoPoint.Y );
             } catch (com.sun.star.uno.RuntimeException e) {
                 return null;
             }
         }
-        
+
         /** Moves this component to a new location */
         public void setLocation(java.awt.Point p) {
             // Not supported by UNO accessibility API
         }
-        
+
         /** Gets the bounds of this component in the form of a Rectangle object */
         public java.awt.Rectangle getBounds() {
             try {
-                com.sun.star.awt.Rectangle unoRect = unoAccessibleComponent.getBounds(); 
+                com.sun.star.awt.Rectangle unoRect = unoAccessibleComponent.getBounds();
                 return new java.awt.Rectangle(unoRect.X, unoRect.Y, unoRect.Width, unoRect.Height);
             } catch (com.sun.star.uno.RuntimeException e) {
                 return null;
             }
         }
-        
+
         /** Moves and resizes this component to conform to the new bounding rectangle r */
         public void setBounds(java.awt.Rectangle r) {
             // Not supported by UNO accessibility API
         }
-        
+
         /** Returns the size of this component in the form of a Dimension object */
         public java.awt.Dimension getSize() {
             try {
-                com.sun.star.awt.Size unoSize = unoAccessibleComponent.getSize(); 
+                com.sun.star.awt.Size unoSize = unoAccessibleComponent.getSize();
                 return new java.awt.Dimension(unoSize.Width, unoSize.Height);
             } catch (com.sun.star.uno.RuntimeException e) {
                 return null;
             }
         }
-        
+
         /** Resizes this component so that it has width d.width and height d.height */
         public void setSize(java.awt.Dimension d) {
             // Not supported by UNO accessibility API
         }
 
-        /** Returns the Accessible child, if one exists, contained at the local coordinate Point */     
+        /** Returns the Accessible child, if one exists, contained at the local coordinate Point */
         public javax.accessibility.Accessible getAccessibleAt(java.awt.Point p) {
             try {
                 java.awt.Component c = AccessibleObjectFactory.getAccessibleComponent(
                     unoAccessibleComponent.getAccessibleAtPoint(new com.sun.star.awt.Point(p.x, p.y)));
-                
+
                 return (javax.accessibility.Accessible) c;
             } catch (com.sun.star.uno.RuntimeException e) {
                 return null;
             }
         }
-        
+
         public boolean isFocusTraversable() {
             return Container.this.isFocusable();
         }
-        
+
         public void requestFocus() {
             unoAccessibleComponent.grabFocus();
         }
     }
-    
+
     public String toString() {
         return UnoRuntime.generateOid(unoAccessible);
     }
 }
-
diff --git a/main/accessibility/java/java_uno_accessbridge/src/main/java/org/openoffice/java/accessibility/Paragraph.java b/main/accessibility/java/java_uno_accessbridge/src/main/java/org/openoffice/java/accessibility/Paragraph.java
index 3e0eef4674..99764a708b 100644
--- a/main/accessibility/java/java_uno_accessbridge/src/main/java/org/openoffice/java/accessibility/Paragraph.java
+++ b/main/accessibility/java/java_uno_accessbridge/src/main/java/org/openoffice/java/accessibility/Paragraph.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.
- * 
+ *
  *************************************************************/
 
 
@@ -29,16 +29,16 @@ import javax.accessibility.AccessibleText;
 import com.sun.star.uno.*;
 import com.sun.star.accessibility.*;
 
-/** 
+/**
  */
 public class Paragraph extends Container implements javax.accessibility.Accessible {
-    
+
     protected Paragraph(XAccessible xAccessible, XAccessibleContext xAccessibleContext) {
         super(javax.accessibility.AccessibleRole.TEXT, xAccessible, xAccessibleContext);
     }
-    
+
     protected class AccessibleParagraphListener extends AccessibleContainerListener {
-        
+
         protected AccessibleParagraphListener() {
             super();
         }
@@ -58,7 +58,7 @@ public class Paragraph extends Container implements javax.accessibility.Accessib
                     break;
             }
         }
-               
+
 
         protected void handleVisibleDataChanged() {
             if (Paragraph.this.isFocusOwner()) {
@@ -75,13 +75,13 @@ public class Paragraph extends Container implements javax.accessibility.Accessib
                 }
             }
         }
-        
+
         /** Called by OpenOffice process to notify property changes */
         public void notifyEvent(AccessibleEventObject event) {
             switch (event.EventId) {
                 case AccessibleEventId.CARET_CHANGED:
                     firePropertyChange(accessibleContext.ACCESSIBLE_CARET_PROPERTY,
-                        Component.toNumber(event.OldValue), 
+                        Component.toNumber(event.OldValue),
                         Component.toNumber(event.NewValue));
                     break;
                 case AccessibleEventId.VISIBLE_DATA_CHANGED:
@@ -95,28 +95,28 @@ public class Paragraph extends Container implements javax.accessibility.Accessib
             }
         }
     }
-    
+
     protected XAccessibleEventListener createEventListener() {
         return new AccessibleParagraphListener();
     }
-    
+
     /** Creates the AccessibleContext associated with this object */
     public javax.accessibility.AccessibleContext createAccessibleContext() {
         return new AccessibleParagraph();
     }
 
     protected class AccessibleParagraph extends AccessibleContainer {
-        
+
         protected AccessibleParagraph() {
             // Don't do the queryInterface on XAccessibleText already ..
             super(false);
-            /* Since getAccessibleText() is heavily used by the java access 
+            /* Since getAccessibleText() is heavily used by the java access
              * bridge for gnome and the gnome at-tools, we do a query interface
              * here and remember the result.
              */
             accessibleText = AccessibleHypertextImpl.get(unoAccessibleContext);
         }
-    
+
         /*
         * AccessibleContext
         */
@@ -128,12 +128,12 @@ public class Paragraph extends Container implements javax.accessibility.Accessib
 
         /** Gets the AccessibleEditableText associated with this object presenting text on the display */
         public javax.accessibility.AccessibleEditableText getAccessibleEditableText() {
-            
+
             if (disposed)
                 return null;
-            
+
             try {
-                XAccessibleEditableText unoAccessibleText = (XAccessibleEditableText) 
+                XAccessibleEditableText unoAccessibleText = (XAccessibleEditableText)
                     UnoRuntime.queryInterface(XAccessibleEditableText.class,
                     unoAccessibleComponent);
                 if (unoAccessibleText != null) {
@@ -145,28 +145,28 @@ public class Paragraph extends Container implements javax.accessibility.Accessib
                 return null;
             }
         }
-        
+
         /** Gets the AccessibleAction associated with this object that has a graphical representation */
         public javax.accessibility.AccessibleAction getAccessibleAction() {
             try {
                 XAccessibleAction unoAccessibleAction = (XAccessibleAction)
                     UnoRuntime.queryInterface(XAccessibleAction.class, unoAccessibleComponent);
-                return (unoAccessibleAction != null) ? 
+                return (unoAccessibleAction != null) ?
                     new AccessibleActionImpl(unoAccessibleAction) : null;
             } catch (com.sun.star.uno.RuntimeException e) {
                 return null;
             }
         }
-        
+
         /** Returns the relation set of this object */
         public javax.accessibility.AccessibleRelationSet getAccessibleRelationSet() {
             try {
-                XAccessibleRelationSet unoAccessibleRelationSet = 
+                XAccessibleRelationSet unoAccessibleRelationSet =
                     unoAccessible.getAccessibleContext().getAccessibleRelationSet();
                 if (unoAccessibleRelationSet == null) {
                     return super.getAccessibleRelationSet();
                 }
-                
+
                 javax.accessibility.AccessibleRelationSet relationSet = new javax.accessibility.AccessibleRelationSet();
                 int count = unoAccessibleRelationSet.getRelationCount();
                 for (int i = 0; i < count; i++) {
@@ -215,4 +215,3 @@ public class Paragraph extends Container implements javax.accessibility.Accessib
         }
     }
 }
-
diff --git a/main/accessibility/source/standard/vclxaccessibletoolbox.cxx b/main/accessibility/source/standard/vclxaccessibletoolbox.cxx
index 267f3c74e6..d9c38f19c5 100644
--- a/main/accessibility/source/standard/vclxaccessibletoolbox.cxx
+++ b/main/accessibility/source/standard/vclxaccessibletoolbox.cxx
@@ -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.
- * 
+ *
  *************************************************************/
 
 
@@ -543,11 +543,11 @@ void VCLXAccessibleToolBox::ProcessWindowEvent( const VclWindowEvent& rVclWindow
 	// to prevent an early release of the toolbox (VCLEVENT_OBJECT_DYING)
 	Reference< XAccessibleContext > xTemp = this;
 
-	ToolBox* pToolBox = static_cast< ToolBox* >( GetWindow() ); 
+	ToolBox* pToolBox = static_cast< ToolBox* >( GetWindow() );
 	switch ( rVclWindowEvent.GetId() )
 	{
 		case VCLEVENT_TOOLBOX_CLICK:
-		case VCLEVENT_TOOLBOX_SELECT: 
+		case VCLEVENT_TOOLBOX_SELECT:
         {
 			if ( rVclWindowEvent.GetData() )
             {
@@ -574,7 +574,7 @@ void VCLXAccessibleToolBox::ProcessWindowEvent( const VclWindowEvent& rVclWindow
 	        {
 				UpdateChecked_Impl( TOOLBOX_ITEM_NOTFOUND );
 	            UpdateIndeterminate_Impl( (sal_Int32)rVclWindowEvent.GetData() );
-	        }	
+	        }
 		break;
 		}
 		*/
diff --git a/main/automation/inc/automation/commdefines.hxx b/main/automation/inc/automation/commdefines.hxx
index 8a16746089..710161b4c8 100644
--- a/main/automation/inc/automation/commdefines.hxx
+++ b/main/automation/inc/automation/commdefines.hxx
@@ -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.
- * 
+ *
  *************************************************************/
 
 
diff --git a/main/bean/java/officebean/src/main/java/com/sun/star/beans/ContainerFactory.java b/main/bean/java/officebean/src/main/java/com/sun/star/beans/ContainerFactory.java
index 1b5f5cb546..1d1d9f00a7 100644
--- a/main/bean/java/officebean/src/main/java/com/sun/star/beans/ContainerFactory.java
+++ b/main/bean/java/officebean/src/main/java/com/sun/star/beans/ContainerFactory.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.
- * 
+ *
  *************************************************************/
 
 
@@ -26,7 +26,7 @@ package com.sun.star.beans;
 import java.awt.Container;
 
 /**
- * This interface reprecents an AWT container factory. 
+ * This interface reprecents an AWT container factory.
  *
  * @see OfficeBean
  * @deprecated
diff --git a/main/bean/java/officebean/src/main/java/com/sun/star/beans/OfficeConnection.java b/main/bean/java/officebean/src/main/java/com/sun/star/beans/OfficeConnection.java
index c9d7556c1d..b63bb67d5d 100644
--- a/main/bean/java/officebean/src/main/java/com/sun/star/beans/OfficeConnection.java
+++ b/main/bean/java/officebean/src/main/java/com/sun/star/beans/OfficeConnection.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.
- * 
+ *
  *************************************************************/
 
 
@@ -29,7 +29,7 @@ import com.sun.star.lang.XComponent;
 import com.sun.star.uno.XComponentContext;
 
 /**
- * This abstract class reprecents a connection to the office 
+ * This abstract class reprecents a connection to the office
  * application.
  * @deprecated
  */
@@ -47,14 +47,14 @@ public interface OfficeConnection
 	/**
 	 * Sets an AWT container catory.
 	 *
-	 * @param containerFactory This is a application provided AWT container 
+	 * @param containerFactory This is a application provided AWT container
 	 *	factory.
 	 */
 	void setContainerFactory(ContainerFactory containerFactory);
 
 	/**
 	 * Retrives the UNO component context.
-	 * Establishes a connection if necessary and initialises the  
+	 * Establishes a connection if necessary and initialises the
 	 * UNO service manager if it has not already been initialised.
 	 *
 	 * @return The office UNO component context.
@@ -63,9 +63,9 @@ public interface OfficeConnection
 
 	/**
 	 * Creates an office window.
-	 * The window is either a sub-class of java.awt.Canvas (local) or 
-	 * java.awt.Container (RVP). 
-	 * 
+	 * The window is either a sub-class of java.awt.Canvas (local) or
+	 * java.awt.Container (RVP).
+	 *
 	 * This method does not add add the office window to its container.
 	 *
 	 * @param container This is an AWT container.
diff --git a/main/bean/java/officebean/src/main/java/com/sun/star/comp/beans/NativeConnection.java b/main/bean/java/officebean/src/main/java/com/sun/star/comp/beans/NativeConnection.java
index 8c4e9407e2..95a07862f3 100644
--- a/main/bean/java/officebean/src/main/java/com/sun/star/comp/beans/NativeConnection.java
+++ b/main/bean/java/officebean/src/main/java/com/sun/star/comp/beans/NativeConnection.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.
- * 
+ *
  *************************************************************/
 
 
@@ -54,5 +54,5 @@ import com.sun.star.connection.XConnection;
 	}
 
 	private long	NativeHandle;
-	private String	Description;			
+	private String	Description;
 }
diff --git a/main/bean/java/officebean/src/main/java/com/sun/star/comp/beans/OfficeConnection.java b/main/bean/java/officebean/src/main/java/com/sun/star/comp/beans/OfficeConnection.java
index 76e3433c16..a095bd65d3 100644
--- a/main/bean/java/officebean/src/main/java/com/sun/star/comp/beans/OfficeConnection.java
+++ b/main/bean/java/officebean/src/main/java/com/sun/star/comp/beans/OfficeConnection.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.
- * 
+ *
  *************************************************************/
 
 
@@ -29,7 +29,7 @@ import com.sun.star.lang.XComponent;
 import com.sun.star.uno.XComponentContext;
 
 /**
- * This abstract class reprecents a connection to the office 
+ * This abstract class reprecents a connection to the office
  * application.
 
     @deprecated
@@ -48,14 +48,14 @@ public interface OfficeConnection
 	/**
 	 * Sets an AWT container catory.
 	 *
-	 * @param containerFactory This is a application provided AWT container 
+	 * @param containerFactory This is a application provided AWT container
 	 *	factory.
 	 */
 	void setContainerFactory(ContainerFactory containerFactory);
 
 	/**
 	 * Retrives the UNO component context.
-	 * Establishes a connection if necessary and initialises the  
+	 * Establishes a connection if necessary and initialises the
 	 * UNO service manager if it has not already been initialised.
 	 *
 	 * @return The office UNO component context.
@@ -64,9 +64,9 @@ public interface OfficeConnection
 
 	/**
 	 * Creates an office window.
-	 * The window is either a sub-class of java.awt.Canvas (local) or 
-	 * java.awt.Container (RVP). 
-	 * 
+	 * The window is either a sub-class of java.awt.Canvas (local) or
+	 * java.awt.Container (RVP).
+	 *
 	 * This method does not add add the office window to its container.
 	 *
 	 * @param container This is an AWT container.
diff --git a/main/bean/java/officebean/src/main/java/com/sun/star/comp/beans/OfficeWindow.java b/main/bean/java/officebean/src/main/java/com/sun/star/comp/beans/OfficeWindow.java
index 4db274cf89..896d6fcd16 100644
--- a/main/bean/java/officebean/src/main/java/com/sun/star/comp/beans/OfficeWindow.java
+++ b/main/bean/java/officebean/src/main/java/com/sun/star/comp/beans/OfficeWindow.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.
- * 
+ *
  *************************************************************/
 
 
@@ -28,8 +28,8 @@ import java.awt.Component;
 import com.sun.star.awt.XWindowPeer;
 
 /**
- * The concreate implementation of the OfficeWindow extends an 
- * approperate type of visual component (java.awt.Canvas for local 
+ * The concreate implementation of the OfficeWindow extends an
+ * approperate type of visual component (java.awt.Canvas for local
  * and java.awt.Container for remote).
 
     @deprecated
diff --git a/main/bean/qa/complex/bean/OOoBeanTest.java b/main/bean/qa/complex/bean/OOoBeanTest.java
index bf45bd42dc..5bee4eede7 100644
--- a/main/bean/qa/complex/bean/OOoBeanTest.java
+++ b/main/bean/qa/complex/bean/OOoBeanTest.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.
- * 
+ *
  *************************************************************/
 
 
@@ -50,7 +50,7 @@ class PrivateLocalOfficeConnection extends com.sun.star.comp.beans.LocalOfficeCo
 
 public class OOoBeanTest
 {
-    
+
 //    public String[] getTestMethodNames()
 //    {
 //        // TODO think about trigger of sub-tests from outside
@@ -88,7 +88,7 @@ public class OOoBeanTest
     {
         boolean ret = false;
         String os = System.getProperty("os.name");
-        if (os != null) 
+        if (os != null)
         {
             os = os.trim();
             if (os.toLowerCase().indexOf("win") == 0)
@@ -211,14 +211,14 @@ public class OOoBeanTest
             {
                 fail("Sizing error: Frame moved.");
             }
-                            
+
             capturer.grabTwo(f.getClientArea());
             if (capturer.compare() == false)
             {
                 fail("Painting error: Move frame to a different position.");
                 capturer.writeImages();
             }
-            
+
             //move Window down
             Dimension dim = Toolkit.getDefaultToolkit().getScreenSize();
             int maxY = dim.height - f.getBounds().height;
@@ -241,7 +241,7 @@ public class OOoBeanTest
             }
 
             //obscure the window and make it visible again
-            
+
             oldPosition = f.getBounds();
 
             Rectangle pos = new Rectangle(oldPosition.x - 50, oldPosition.y - 50,
@@ -299,7 +299,7 @@ public class OOoBeanTest
             {
                 fail("Sizing error.");
             }
-            
+
         }
         finally
         {
@@ -365,7 +365,7 @@ public class OOoBeanTest
                 f.removeOOoBean();
                 f.addOOoBean();
             }
-            
+
             f.goToStart();
             f.pageDown();
             Thread.sleep(getSleepTime(200));
@@ -377,7 +377,7 @@ public class OOoBeanTest
                        "repeatedly to java.lang.Frame.");
                 capturer.writeImages();
             }
-            
+
             if (f.checkUnoFramePosition() == false)
             {
                 fail("Sizing error.");
@@ -420,7 +420,7 @@ public class OOoBeanTest
                 bean.loadFromURL("private:factory/swriter", null);
                 // #1
                 Thread.sleep(1000);
-                
+
                 StringBuffer buf = new StringBuffer(1000);
                 for (int i = 0; i < 1; i++)
                 {
@@ -433,7 +433,7 @@ public class OOoBeanTest
                     bean.aquireSystemWindow();
 //                    frame.validate();
                 }
-                
+
                 if (isWindows() == false)
                 {
                     Thread.sleep(5000);
@@ -443,7 +443,7 @@ public class OOoBeanTest
                 roby.keyPress(KeyEvent.VK_H);
                 roby.keyRelease(KeyEvent.VK_H);
                 buf.append("h");
-                
+
                 String s = getText(bean);
                 if ( ! s.equals(buf.toString()))
                 {
@@ -458,12 +458,12 @@ public class OOoBeanTest
                 {
                     Thread.sleep(2000);
                 }
-            
+
             } finally {
                 bean.stopOOoConnection();
                 frame.dispose();
             }
-        }   
+        }
     }
 
     /** Tests focus problem just like test6, but the implementation is a little
@@ -491,7 +491,7 @@ public class OOoBeanTest
                 Thread.sleep(1000);
                 StringBuffer buf = new StringBuffer(1000);
                 int i = 0;
-                
+
                 for (; i < 1; i++)
                 {
                 EventQueue q = Toolkit.getDefaultToolkit().getSystemEventQueue();
@@ -499,14 +499,14 @@ public class OOoBeanTest
                         public void run() {
                             try {
 
-                            bean.releaseSystemWindow(); 
+                            bean.releaseSystemWindow();
                             frame.remove(bean);
                             frame.validate();
 
                             } catch (Exception e) {
                                 e.printStackTrace();
                             }
-                            
+
                             }
                         });
                 // #2
@@ -523,11 +523,11 @@ public class OOoBeanTest
                             }
                             }
                         });
-                    
+
                 // #3
                 Thread.sleep(1000);
                 }
-                
+
                 if (isWindows() == false)
                 {
                     Thread.sleep(5000);
@@ -546,7 +546,7 @@ public class OOoBeanTest
                 roby.waitForIdle();
 
                 buf.append("h");
-                Thread.sleep(1000);                
+                Thread.sleep(1000);
                 String s = getText(bean);
                 System.out.println(" getText: " + s);
                 if ( ! s.equals(buf.toString()))
@@ -561,7 +561,7 @@ public class OOoBeanTest
                     roby.waitForIdle();
 
                     String sH = "h";
-                    Thread.sleep(1000);                
+                    Thread.sleep(1000);
                     String s2 = getText(bean);
 
                     if ( ! sH.equals(s2))
@@ -579,7 +579,7 @@ public class OOoBeanTest
                 {
                     //                   Thread.sleep(2000);
                 }
-            
+
             } finally {
                 bean.stopOOoConnection();
                 frame.dispose();
@@ -649,7 +649,7 @@ public class OOoBeanTest
             c.gridx = 0;
             c.gridy = 0;
             f.add(bp1, c);
-            
+
             c.gridx = 1;
             c.insets = new Insets(0, 0, 0, 0);
             f.add(bp2, c);
diff --git a/main/chart2/qa/makefile.mk b/main/chart2/qa/makefile.mk
index 8705a7d4f7..f2cf413501 100644
--- a/main/chart2/qa/makefile.mk
+++ b/main/chart2/qa/makefile.mk
@@ -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.
-#  
+#
 #**************************************************************
 
 
diff --git a/main/cli_ure/qa/climaker/ClimakerTestCase.java b/main/cli_ure/qa/climaker/ClimakerTestCase.java
index aea92884ce..7aa07c4a61 100644
--- a/main/cli_ure/qa/climaker/ClimakerTestCase.java
+++ b/main/cli_ure/qa/climaker/ClimakerTestCase.java
@@ -46,7 +46,7 @@ public class ClimakerTestCase extends ComplexTestCase
                 failed("Check the make file. Java must be called with -Dcli_ure_test=pathtoexe");
             Process proc = null;
             try{
-                
+
              proc = Runtime.getRuntime().exec(testProgram);
              Reader outReader = new Reader(proc.getInputStream());
              Reader errReader = new Reader(proc.getErrorStream());
@@ -64,7 +64,7 @@ public class ClimakerTestCase extends ComplexTestCase
         {
             failed("Unexpected exception.");
         }
-        
+
     }
 }
 
diff --git a/main/comphelper/inc/comphelper/embeddedobjectcontainer.hxx b/main/comphelper/inc/comphelper/embeddedobjectcontainer.hxx
index 3850cb3ad6..95bf2f1b97 100644
--- a/main/comphelper/inc/comphelper/embeddedobjectcontainer.hxx
+++ b/main/comphelper/inc/comphelper/embeddedobjectcontainer.hxx
@@ -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.
- * 
+ *
  *************************************************************/
 
 
@@ -127,9 +127,9 @@ public:
 
     // move an embedded object from one container to another one
     sal_Bool MoveEmbeddedObject( EmbeddedObjectContainer& rSrc, const ::com::sun::star::uno::Reference < ::com::sun::star::embed::XEmbeddedObject >&, ::rtl::OUString& );
- // #i119941, bKeepToTempStorage: use to specify whether store the removed object to temporary storage+    
+ // #i119941, bKeepToTempStorage: use to specify whether store the removed object to temporary storage+
 sal_Bool            RemoveEmbeddedObject( const ::rtl::OUString& rName, sal_Bool bClose = sal_True, sal_Bool bKeepToTempStorage = sal_True );
-sal_Bool            RemoveEmbeddedObject( const ::com::sun::star::uno::Reference < ::com::sun::star::embed::XEmbeddedObject >&, sal_Bool bClose = sal_True, sal_Bool bKeepToTempStorage = sal_True ); 
+sal_Bool            RemoveEmbeddedObject( const ::com::sun::star::uno::Reference < ::com::sun::star::embed::XEmbeddedObject >&, sal_Bool bClose = sal_True, sal_Bool bKeepToTempStorage = sal_True );
     // remove an embedded object from the container and from the storage; if object can't be closed
     //sal_Bool            RemoveEmbeddedObject( const ::rtl::OUString& rName, sal_Bool bClose=sal_True );
    // sal_Bool            RemoveEmbeddedObject( const ::com::sun::star::uno::Reference < ::com::sun::star::embed::XEmbeddedObject >&, sal_Bool bClose=sal_True );
diff --git a/main/comphelper/inc/comphelper/extract.hxx b/main/comphelper/inc/comphelper/extract.hxx
index fc75fa9cb9..a6622844c7 100644
--- a/main/comphelper/inc/comphelper/extract.hxx
+++ b/main/comphelper/inc/comphelper/extract.hxx
@@ -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.
- * 
+ *
  *************************************************************/
 
 
diff --git a/main/comphelper/qa/complex/comphelper/SequenceOutputStreamUnitTest.java b/main/comphelper/qa/complex/comphelper/SequenceOutputStreamUnitTest.java
index 262a417236..e32e06e347 100644
--- a/main/comphelper/qa/complex/comphelper/SequenceOutputStreamUnitTest.java
+++ b/main/comphelper/qa/complex/comphelper/SequenceOutputStreamUnitTest.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.
- * 
+ *
  *************************************************************/
 
 
@@ -66,16 +66,16 @@ public class SequenceOutputStreamUnitTest /* extends ComplexTestCase*/ {
     private XMultiServiceFactory m_xMSF = null;
 
     TestHelper m_aTestHelper = null;
-    
+
 //    public String[] getTestMethodNames() {
 //        return new String[] {
 //            "ExecuteTest01"};
 //    }
-    
+
 //    public String getTestObjectName () {
 //        return "SequenceOutputStreamUnitTest";
 //    }
-    
+
 //    public static String getShortTestDescription() {
 //        return "tests the SequenceOutput/InputStream implementations";
 //    }
@@ -91,11 +91,11 @@ public class SequenceOutputStreamUnitTest /* extends ComplexTestCase*/ {
             fail ("Cannot create service factory!");
         }
     }
-    
+
     @After public void after() {
         m_xMSF = null;
     }
-    
+
 //    @Test public void ExecuteTest01() {
 //        Test01 aTest = new Test01 (m_xMSF);
 //        assertTrue( "Test01 failed!", aTest.test() );
@@ -181,4 +181,4 @@ public class SequenceOutputStreamUnitTest /* extends ComplexTestCase*/ {
     }
 
     private static final OfficeConnection connection = new OfficeConnection();
-}
\ No newline at end of file
+}
diff --git a/main/comphelper/source/misc/locale.cxx b/main/comphelper/source/misc/locale.cxx
index d62e9b28ab..7db3847ac0 100644
--- a/main/comphelper/source/misc/locale.cxx
+++ b/main/comphelper/source/misc/locale.cxx
@@ -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.
- * 
+ *
  *************************************************************/
 
 
@@ -45,7 +45,7 @@ const Locale& Locale::X_DEFAULT()
     static Locale aLocale(
                     ::rtl::OUString::createFromAscii("x"),
                     ::rtl::OUString::createFromAscii("default"));
-    return aLocale;                    
+    return aLocale;
 }
 
 //-----------------------------------------------
@@ -54,7 +54,7 @@ const Locale& Locale::EN()
     static Locale aLocale(
                     ::rtl::OUString::createFromAscii("en"),
                     ::rtl::OUString());
-    return aLocale;                    
+    return aLocale;
 }
 
 //-----------------------------------------------
@@ -63,7 +63,7 @@ const Locale& Locale::EN_US()
     static Locale aLocale(
                     ::rtl::OUString::createFromAscii("en"),
                     ::rtl::OUString::createFromAscii("US"));
-    return aLocale;                    
+    return aLocale;
 }
 
 //-----------------------------------------------
@@ -72,7 +72,7 @@ const Locale& Locale::DE_DE()
     static Locale aLocale(
                     ::rtl::OUString::createFromAscii("de"),
                     ::rtl::OUString::createFromAscii("DE"));
-    return aLocale;                    
+    return aLocale;
 }
 
 //-----------------------------------------------
@@ -81,7 +81,7 @@ const Locale& Locale::DE_CH()
     static Locale aLocale(
                     ::rtl::OUString::createFromAscii("de"),
                     ::rtl::OUString::createFromAscii("CH"));
-    return aLocale;                    
+    return aLocale;
 }
 
 //-----------------------------------------------
@@ -90,7 +90,7 @@ const Locale& Locale::DE_AT()
     static Locale aLocale(
                     ::rtl::OUString::createFromAscii("de"),
                     ::rtl::OUString::createFromAscii("AT"));
-    return aLocale;                    
+    return aLocale;
 }
 
 //-----------------------------------------------
@@ -99,7 +99,7 @@ const Locale& Locale::AR()
     static Locale aLocale(
                     ::rtl::OUString::createFromAscii("ar"),
                     ::rtl::OUString());
-    return aLocale;                    
+    return aLocale;
 }
 
 //-----------------------------------------------
@@ -108,7 +108,7 @@ const Locale& Locale::CA()
     static Locale aLocale(
                     ::rtl::OUString::createFromAscii("ca"),
                     ::rtl::OUString());
-    return aLocale;                    
+    return aLocale;
 }
 
 //-----------------------------------------------
@@ -117,7 +117,7 @@ const Locale& Locale::CS()
     static Locale aLocale(
                     ::rtl::OUString::createFromAscii("cs"),
                     ::rtl::OUString());
-    return aLocale;                    
+    return aLocale;
 }
 
 //-----------------------------------------------
@@ -126,7 +126,7 @@ const Locale& Locale::DA()
     static Locale aLocale(
                     ::rtl::OUString::createFromAscii("da"),
                     ::rtl::OUString());
-    return aLocale;                    
+    return aLocale;
 }
 
 //-----------------------------------------------
@@ -135,7 +135,7 @@ const Locale& Locale::EL()
     static Locale aLocale(
                     ::rtl::OUString::createFromAscii("el"),
                     ::rtl::OUString());
-    return aLocale;                    
+    return aLocale;
 }
 
 //-----------------------------------------------
@@ -144,7 +144,7 @@ const Locale& Locale::ES()
     static Locale aLocale(
                     ::rtl::OUString::createFromAscii("es"),
                     ::rtl::OUString());
-    return aLocale;                    
+    return aLocale;
 }
 
 //-----------------------------------------------
@@ -153,7 +153,7 @@ const Locale& Locale::FI()
     static Locale aLocale(
                     ::rtl::OUString::createFromAscii("fi"),
                     ::rtl::OUString());
-    return aLocale;                    
+    return aLocale;
 }
 
 //-----------------------------------------------
@@ -162,7 +162,7 @@ const Locale& Locale::FR()
     static Locale aLocale(
                     ::rtl::OUString::createFromAscii("fr"),
                     ::rtl::OUString());
-    return aLocale;                    
+    return aLocale;
 }
 
 //-----------------------------------------------
@@ -171,7 +171,7 @@ const Locale& Locale::HE()
     static Locale aLocale(
                     ::rtl::OUString::createFromAscii("he"),
                     ::rtl::OUString());
-    return aLocale;                    
+    return aLocale;
 }
 
 //-----------------------------------------------
@@ -180,7 +180,7 @@ const Locale& Locale::HI_IN()
     static Locale aLocale(
                     ::rtl::OUString::createFromAscii("hi"),
                     ::rtl::OUString::createFromAscii("IN"));
-    return aLocale;                    
+    return aLocale;
 }
 
 //-----------------------------------------------
@@ -189,7 +189,7 @@ const Locale& Locale::HU()
     static Locale aLocale(
                     ::rtl::OUString::createFromAscii("hu"),
                     ::rtl::OUString());
-    return aLocale;                    
+    return aLocale;
 }
 
 //-----------------------------------------------
@@ -198,7 +198,7 @@ const Locale& Locale::IT()
     static Locale aLocale(
                     ::rtl::OUString::createFromAscii("it"),
                     ::rtl::OUString());
-    return aLocale;                    
+    return aLocale;
 }
 
 //-----------------------------------------------
@@ -207,7 +207,7 @@ const Locale& Locale::JA()
     static Locale aLocale(
                     ::rtl::OUString::createFromAscii("ja"),
                     ::rtl::OUString());
-    return aLocale;                    
+    return aLocale;
 }
 
 //-----------------------------------------------
@@ -216,7 +216,7 @@ const Locale& Locale::KO()
     static Locale aLocale(
                     ::rtl::OUString::createFromAscii("ko"),
                     ::rtl::OUString());
-    return aLocale;                    
+    return aLocale;
 }
 
 //-----------------------------------------------
@@ -225,7 +225,7 @@ const Locale& Locale::NL()
     static Locale aLocale(
                     ::rtl::OUString::createFromAscii("nl"),
                     ::rtl::OUString());
-    return aLocale;                    
+    return aLocale;
 }
 
 //-----------------------------------------------
@@ -234,7 +234,7 @@ const Locale& Locale::PL()
     static Locale aLocale(
                     ::rtl::OUString::createFromAscii("pl"),
                     ::rtl::OUString());
-    return aLocale;                    
+    return aLocale;
 }
 
 //-----------------------------------------------
@@ -243,7 +243,7 @@ const Locale& Locale::PT()
     static Locale aLocale(
                     ::rtl::OUString::createFromAscii("pt"),
                     ::rtl::OUString());
-    return aLocale;                    
+    return aLocale;
 }
 
 //-----------------------------------------------
@@ -252,7 +252,7 @@ const Locale& Locale::PT_BR()
     static Locale aLocale(
                     ::rtl::OUString::createFromAscii("pt"),
                     ::rtl::OUString::createFromAscii("BR"));
-    return aLocale;                    
+    return aLocale;
 }
 
 //-----------------------------------------------
@@ -261,7 +261,7 @@ const Locale& Locale::RU()
     static Locale aLocale(
                     ::rtl::OUString::createFromAscii("ru"),
                     ::rtl::OUString());
-    return aLocale;                    
+    return aLocale;
 }
 
 //-----------------------------------------------
@@ -270,7 +270,7 @@ const Locale& Locale::SK()
     static Locale aLocale(
                     ::rtl::OUString::createFromAscii("sk"),
                     ::rtl::OUString());
-    return aLocale;                    
+    return aLocale;
 }
 
 //-----------------------------------------------
@@ -279,7 +279,7 @@ const Locale& Locale::SL()
     static Locale aLocale(
                     ::rtl::OUString::createFromAscii("sl"),
                     ::rtl::OUString());
-    return aLocale;                    
+    return aLocale;
 }
 
 //-----------------------------------------------
@@ -288,7 +288,7 @@ const Locale& Locale::SV()
     static Locale aLocale(
                     ::rtl::OUString::createFromAscii("sv"),
                     ::rtl::OUString());
-    return aLocale;                    
+    return aLocale;
 }
 
 //-----------------------------------------------
@@ -297,7 +297,7 @@ const Locale& Locale::TH()
     static Locale aLocale(
                     ::rtl::OUString::createFromAscii("th"),
                     ::rtl::OUString());
-    return aLocale;                    
+    return aLocale;
 }
 
 //-----------------------------------------------
@@ -306,7 +306,7 @@ const Locale& Locale::TR()
     static Locale aLocale(
                     ::rtl::OUString::createFromAscii("tr"),
                     ::rtl::OUString());
-    return aLocale;                    
+    return aLocale;
 }
 
 //-----------------------------------------------
@@ -315,7 +315,7 @@ const Locale& Locale::X_COMMENT()
     static Locale aLocale(
                     ::rtl::OUString::createFromAscii("x"),
                     ::rtl::OUString::createFromAscii("comment"));
-    return aLocale;                    
+    return aLocale;
 }
 
 //-----------------------------------------------
@@ -324,7 +324,7 @@ const Locale& Locale::X_TRANSLATE()
     static Locale aLocale(
                     ::rtl::OUString::createFromAscii("x"),
                     ::rtl::OUString::createFromAscii("translate"));
-    return aLocale;                    
+    return aLocale;
 }
 
 //-----------------------------------------------
@@ -333,7 +333,7 @@ const Locale& Locale::X_NOTRANSLATE()
     static Locale aLocale(
                     ::rtl::OUString::createFromAscii("x"),
                     ::rtl::OUString::createFromAscii("notranslate"));
-    return aLocale;                    
+    return aLocale;
 }
 
 //-----------------------------------------------
@@ -342,7 +342,7 @@ const Locale& Locale::ZH_CN()
     static Locale aLocale(
                     ::rtl::OUString::createFromAscii("zh"),
                     ::rtl::OUString::createFromAscii("CN"));
-    return aLocale;                    
+    return aLocale;
 }
 
 //-----------------------------------------------
@@ -351,7 +351,7 @@ const Locale& Locale::ZH_TW()
     static Locale aLocale(
                     ::rtl::OUString::createFromAscii("zh"),
                     ::rtl::OUString::createFromAscii("TW"));
-    return aLocale;                    
+    return aLocale;
 }
 
 //-----------------------------------------------
@@ -385,7 +385,7 @@ Locale::Locale(const Locale& aCopy)
 {
     (*this) = aCopy; // recycle assign operator
 }
-       
+
 //-----------------------------------------------
 ::rtl::OUString Locale::getLanguage() const
 {
@@ -434,13 +434,13 @@ void Locale::fromISO(const ::rtl::OUString& sISO)
     m_sLanguage = ::rtl::OUString();
     m_sCountry  = ::rtl::OUString();
     m_sVariant  = ::rtl::OUString();
-    
+
     ::rtl::OUString sParser(sISO);
     sParser.trim();
 
     sal_Int32 nStart = 0;
     sal_Int32 nEnd   = 0;
-    
+
     // extract language part
     nEnd = sParser.indexOf(SEPERATOR_LC, nStart);
     if (nEnd<0)
@@ -450,7 +450,7 @@ void Locale::fromISO(const ::rtl::OUString& sISO)
     }
     setLanguage(sParser.copy(nStart, nEnd-nStart));
     nStart = nEnd+1;
-    
+
     // extract country
     nEnd = sParser.indexOf(SEPERATOR_CV, nStart);
     if (nEnd<0)
@@ -461,7 +461,7 @@ void Locale::fromISO(const ::rtl::OUString& sISO)
         return;
     }
     nStart = nEnd+1;
-    
+
     // extract variant
     setVariant(sParser.copy(nStart, sParser.getLength()-nStart));
 }
@@ -470,7 +470,7 @@ void Locale::fromISO(const ::rtl::OUString& sISO)
 ::rtl::OUString Locale::toISO() const
 {
     ::rtl::OUStringBuffer sISO(64);
-    
+
     sISO.append(m_sLanguage);
     if ( !m_sCountry.isEmpty() )
     {
@@ -483,7 +483,7 @@ void Locale::fromISO(const ::rtl::OUString& sISO)
             sISO.append(m_sVariant);
         }
     }
-    
+
     return sISO.makeStringAndClear();
 }
 
@@ -509,21 +509,21 @@ sal_Bool Locale::similar(const Locale& aComparable) const
     throw(Locale::MalFormedLocaleException)
 {
     Locale aReference(sReferenceISO);
-    
+
     // Note: The same language or "en"/"en-US" should be preferred as fallback.
     // On the other side some localized variables doesn't use localzation in real.
     // May be the use a "fix" value only ... marked as X-DEFAULT or X-NOTRANSLATE.
     // At least it can be discussed, if any language is a valid fallback ...
     // But in case some office functionality depends on that (that means real functionality instead
     // of pure UI descriptions) we should do anything, so it can work.
-    
+
     ::std::vector< ::rtl::OUString >::const_iterator pSimilar      = lISOList.end();
     ::std::vector< ::rtl::OUString >::const_iterator pEN_US        = lISOList.end();
     ::std::vector< ::rtl::OUString >::const_iterator pEN           = lISOList.end();
     ::std::vector< ::rtl::OUString >::const_iterator pXDefault     = lISOList.end();
     ::std::vector< ::rtl::OUString >::const_iterator pXNoTranslate = lISOList.end();
     ::std::vector< ::rtl::OUString >::const_iterator pAny          = lISOList.end();
-    
+
     ::std::vector< ::rtl::OUString >::const_iterator pIt;
     for (  pIt  = lISOList.begin();
            pIt != lISOList.end()  ;
@@ -533,7 +533,7 @@ sal_Bool Locale::similar(const Locale& aComparable) const
         // found Locale, which match with 100% => return it
         if (aCheck.equals(aReference))
             return pIt;
-        
+
         // found similar Locale => safe it as possible fallback
         if (
             (pSimilar == lISOList.end()) &&
@@ -587,22 +587,22 @@ sal_Bool Locale::similar(const Locale& aComparable) const
 
     if (pSimilar != lISOList.end())
         return pSimilar;
-    
+
     if (pEN_US != lISOList.end())
         return pEN_US;
-    
+
     if (pEN != lISOList.end())
         return pEN;
 
     if (pXDefault != lISOList.end())
         return pXDefault;
-    
+
     if (pXNoTranslate != lISOList.end())
         return pXNoTranslate;
-    
+
     if (pAny != lISOList.end())
         return pAny;
-    
+
     return lISOList.end();
 }
 
@@ -640,7 +640,7 @@ sal_Bool Locale::getFallback(Locale& aLocale)
         aLocale.setCountry(::rtl::OUString());
         return sal_True;
     }
-    
+
     // e) "en-US" possible?
     if (!aLocale.equals(EN_US()))
     {
@@ -648,9 +648,9 @@ sal_Bool Locale::getFallback(Locale& aLocale)
         return sal_True;
     }
 
-    // f) no more fallbacks    
+    // f) no more fallbacks
     return sal_False;
-}            
+}
 
 //-----------------------------------------------
 void  Locale::operator=(const Locale& rCopy)
@@ -662,7 +662,7 @@ void  Locale::operator=(const Locale& rCopy)
     m_sCountry  = rCopy.m_sCountry;
     m_sVariant  = rCopy.m_sVariant;
 }
-        
+
 //-----------------------------------------------
 sal_Bool Locale::operator==(const Locale& aComparable) const
 {
diff --git a/main/connectivity/qa/complex/connectivity/HsqlDriverTest.java b/main/connectivity/qa/complex/connectivity/HsqlDriverTest.java
index 6a39b59b60..137082f089 100644
--- a/main/connectivity/qa/complex/connectivity/HsqlDriverTest.java
+++ b/main/connectivity/qa/complex/connectivity/HsqlDriverTest.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.
- * 
+ *
  *************************************************************/
 
 
@@ -30,7 +30,7 @@ import com.sun.star.lang.*;
 import com.sun.star.document.XDocumentSubStorageSupplier;
 import complexlib.ComplexTestCase;
 
- 
+
 import org.hsqldb.lib.StopWatch;
 import com.sun.star.uno.UnoRuntime;
 import com.sun.star.beans.PropertyState;
@@ -42,7 +42,7 @@ import connectivity.tools.HsqlDatabase;
 
 public class HsqlDriverTest extends ComplexTestCase {
 
-	
+
     public String[] getTestMethodNames() {
         return new String[] { "test" };
     }
@@ -51,7 +51,7 @@ public class HsqlDriverTest extends ComplexTestCase {
     public String getTestObjectName() {
         return "DriverTest";
     }
-    
+
     public void assurePublic(String sMessage,boolean check){
         super.assure(sMessage,check);
     }
@@ -65,7 +65,7 @@ public class HsqlDriverTest extends ComplexTestCase {
         } catch(Exception ex) {
             throw new RuntimeException("factory: unable to construct data source" );
         }
-        
+
         try{
             XDocumentSubStorageSupplier doc = (XDocumentSubStorageSupplier)UnoRuntime.queryInterface(XDocumentSubStorageSupplier.class,ds);
             XStorage stor = doc.getDocumentSubStorage("database",4);
@@ -101,13 +101,13 @@ public class HsqlDriverTest extends ComplexTestCase {
             info = new com.sun.star.beans.PropertyValue[]{
                 new com.sun.star.beans.PropertyValue("Storage",0,stor,PropertyState.DIRECT_VALUE)
                 ,new com.sun.star.beans.PropertyValue("URL",0,mod.getURL(),PropertyState.DIRECT_VALUE)
-            };        
+            };
             drv = (XDriver)UnoRuntime.queryInterface(XDriver.class,((XMultiServiceFactory)param.getMSF()).createInstance("com.sun.star.sdbcx.comp.hsqldb.Driver"));
-        
+
 
             TestCacheSize test = new TestCacheSize(((XMultiServiceFactory)param.getMSF()),info,drv);
 
-            StopWatch     sw   = new StopWatch();      
+            StopWatch     sw   = new StopWatch();
 
             try{
                 test.setUp();
@@ -125,20 +125,20 @@ public class HsqlDriverTest extends ComplexTestCase {
     }
     public void test2(){
         System.gc();
-       
+
         com.sun.star.beans.PropertyValue[] info = null;
         XDriver drv = null;
         try{
             info = new com.sun.star.beans.PropertyValue[]{
                 new com.sun.star.beans.PropertyValue("JavaDriverClass",0,"org.hsqldb.jdbcDriver",PropertyState.DIRECT_VALUE)
                 ,new com.sun.star.beans.PropertyValue("ParameterNameSubstitution",0, false,PropertyState.DIRECT_VALUE)
-            };        
+            };
             drv = (XDriver)UnoRuntime.queryInterface(XDriver.class,((XMultiServiceFactory)param.getMSF()).createInstance("com.sun.star.comp.sdbc.JDBCDriver"));
             TestCacheSize test = new TestCacheSize(((XMultiServiceFactory)param.getMSF()),info,drv);
             test.setURL("jdbc:hsqldb:g:\\hsql\\db");
 
 
-            StopWatch     sw   = new StopWatch();      
+            StopWatch     sw   = new StopWatch();
 
             try{
                 test.setUp();
diff --git a/main/connectivity/qa/complex/connectivity/JdbcLongVarCharTest.java b/main/connectivity/qa/complex/connectivity/JdbcLongVarCharTest.java
index 3209bcce99..69096dc090 100644
--- a/main/connectivity/qa/complex/connectivity/JdbcLongVarCharTest.java
+++ b/main/connectivity/qa/complex/connectivity/JdbcLongVarCharTest.java
@@ -125,4 +125,4 @@ public class JdbcLongVarCharTest extends ComplexTestCase
             System.exit(0);
         }
     }
-}
\ No newline at end of file
+}
diff --git a/main/connectivity/qa/complex/connectivity/hsqldb/DatabaseMetaData.java b/main/connectivity/qa/complex/connectivity/hsqldb/DatabaseMetaData.java
index ff18ad197d..6194a78bdf 100644
--- a/main/connectivity/qa/complex/connectivity/hsqldb/DatabaseMetaData.java
+++ b/main/connectivity/qa/complex/connectivity/hsqldb/DatabaseMetaData.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.
- * 
+ *
  *************************************************************/
 
 /*
@@ -36,28 +36,28 @@ import java.lang.reflect.Method;
 
 
 public class DatabaseMetaData {
-    
+
     private java.sql.DatabaseMetaData m_xMD;
     private HsqlDriverTest m_TestCase;
-    
+
     /** Creates a new instance of DatabaseMetaData */
     public DatabaseMetaData(HsqlDriverTest _testCase,java.sql.DatabaseMetaData _xmd) {
         m_TestCase = _testCase;
         m_xMD = _xmd;
     }
-    
+
     protected void assure(String _sText,boolean btest){
         m_TestCase.assurePublic(_sText,btest);
     }
-    
+
     protected void testMethod(String sName,Class[] params,Object[] objParams,int nCount){
         try {
             System.out.println("test method " + sName);
-            
+
             Method aGet = ((Object)m_xMD).getClass().getDeclaredMethod(sName, params);
             if ( aGet != null ){
                 ResultSet rs = (ResultSet)aGet.invoke(m_xMD, objParams);
-                ResultSetMetaData rsMD = rs.getMetaData();            
+                ResultSetMetaData rsMD = rs.getMetaData();
 
                 assure( sName + " returns wrong column count" , rsMD.getColumnCount() == nCount);
             }
@@ -72,14 +72,14 @@ public class DatabaseMetaData {
         } catch( java.lang.reflect.InvocationTargetException ex ) {
             assure("IllegalAccessException!",false);
         } finally {
-            
+
         }
     }
-    
+
     public void test(){
-        
+
    //     try {
-            
+
             try{
 		ResultSet rs = m_xMD.getTables(null,null,"TESTCASE",null);
 		while ( rs.next() )
@@ -104,14 +104,14 @@ public class DatabaseMetaData {
 
 		}
             } catch(Exception e){
-                
+
             }
             //testMethod("getTypeInfo", zclass,empty,17);
 /*
             Class[] zclass = new Class[]{};
             Object[] empty = new Object[]{};
             testMethod("getCatalogs", zclass,empty,1);
-            
+
             testMethod("getSchemas", zclass,empty,2);
             testMethod("getTableTypes", zclass,empty,1);
             Class[] a4 = new Class[4];
@@ -129,7 +129,7 @@ public class DatabaseMetaData {
             testMethod("getColumns", a4,o4,18);
             testMethod("getProcedureColumns", a4,o4,13);
             testMethod("getColumns", a4,o4,18);
-        
+
             Class[] a3 = new Class[3];
             Object[] o3 = new Object[3];
             a3[0] = Class.forName("java.lang.Object");
@@ -139,7 +139,7 @@ public class DatabaseMetaData {
             o3[0] = null;
             o3[1] = null;
             o3[2] = "%";
-            
+
             testMethod("getExportedKeys", a3,o3,14);
             testMethod("getImportedKeys", a3,o3,14);
             testMethod("getPrimaryKeys", a3,o3,14);
@@ -147,24 +147,24 @@ public class DatabaseMetaData {
             testMethod("getTablePrivileges", a3,o3,6);
             testMethod("getVersionColumns", a3,o3,7);
             // testMethod("getCrossReference", a3,o3,14);
-  
+
         } catch( java.lang.ClassNotFoundException ex) {
             assure("ClassNotFoundException: " + ex.getMessage() ,false);
         }
  */
     }
-/*    
+/*
     public com.sun.star.sdbc.XResultSet getCrossReference(Object obj, String str, String str2, Object obj3, String str4, String str5) {
     }
     public com.sun.star.sdbc.XResultSet getIndexInfo(Object obj, String str, String str2, boolean param, boolean param4) {
     }
-    
+
     public com.sun.star.sdbc.XResultSet getTables(Object obj, String str, String str2, String[] str3) {
     }
-    
+
     public com.sun.star.sdbc.XResultSet getUDTs(Object obj, String str, String str2, int[] values) {
     }
-    
+
     public com.sun.star.sdbc.XResultSet getBestRowIdentifier(Object obj, String str, String str2, int param, boolean param4) throws com.sun.star.sdbc.SQLException {
     }
  */
diff --git a/main/connectivity/qa/makefile.mk b/main/connectivity/qa/makefile.mk
index 28566b5abd..4810b603fe 100644
--- a/main/connectivity/qa/makefile.mk
+++ b/main/connectivity/qa/makefile.mk
@@ -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.
-#  
+#
 #**************************************************************
 
 
diff --git a/main/cppu/source/typelib/typelib.cxx b/main/cppu/source/typelib/typelib.cxx
index 8d8135c550..2e96610611 100644
--- a/main/cppu/source/typelib/typelib.cxx
+++ b/main/cppu/source/typelib/typelib.cxx
@@ -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.
- * 
+ *
  *************************************************************/
 
 
 
 // MARKER(update_precomp.py): autogen include statement, do not remove
 #include "precompiled_cppu.hxx"
- 
+
 #include <hash_map>
 #include <list>
 #include <set>
diff --git a/main/dbaccess/source/ui/dlg/dbadminsetup.src b/main/dbaccess/source/ui/dlg/dbadminsetup.src
index 6e4bb1f5ec..306319b32d 100644
--- a/main/dbaccess/source/ui/dlg/dbadminsetup.src
+++ b/main/dbaccess/source/ui/dlg/dbadminsetup.src
@@ -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.
- * 
+ *
  *************************************************************/
 
 
@@ -212,7 +212,7 @@ TabPage PAGE_DBWIZARD_AUTHENTIFICATION
 	Size = MAP_APPFONT ( WIZARD_PAGE_X , WIZARD_PAGE_Y ) ;
 	Hide = TRUE ;
 
-	FixedText FT_AUTHENTIFICATIONHEADERTEXT 
+	FixedText FT_AUTHENTIFICATIONHEADERTEXT
 	{
 		Pos = MAP_APPFONT ( START_X , 8 ) ;
 		Size = MAP_APPFONT ( (WIZARD_PAGE_X - START_X) - 12 , 2 * FIXEDTEXT_HEIGHT ) ;
@@ -388,7 +388,7 @@ TabPage PAGE_DBWIZARD_MYSQL_NATIVE
         Text[ en-US ] = "Set up connection to a MySQL database" ;
 		WordBreak = TRUE;
 	};
- 
+
 	FixedText FT_SETUP_WIZARD_HELP
 	{
 		Pos = MAP_APPFONT ( START_X , INIT_Y ) ;
@@ -681,5 +681,3 @@ TabPage PAGE_DBWIZARD_SPREADSHEET
         Text[ en-US ] = "~Password required" ;
     };
 };
-
-
diff --git a/main/dbaccess/source/ui/dlg/dlgsize.src b/main/dbaccess/source/ui/dlg/dlgsize.src
index 9d7528e02d..a88e47cd94 100644
--- a/main/dbaccess/source/ui/dlg/dlgsize.src
+++ b/main/dbaccess/source/ui/dlg/dlgsize.src
@@ -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.
- * 
+ *
  *************************************************************/
 
 
@@ -145,34 +145,3 @@ ModalDialog DLG_COLWIDTH
 	};
 	Text [ en-US ] = "Column Width" ;
 };
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/main/desktop/source/app/configinit.hxx b/main/desktop/source/app/configinit.hxx
index a37c938ecf..e2056c2966 100644
--- a/main/desktop/source/app/configinit.hxx
+++ b/main/desktop/source/app/configinit.hxx
@@ -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.
- * 
+ *
  *************************************************************/
 
 #ifndef _DESKTOP_CONFIGINIT_HXX_
@@ -29,7 +29,7 @@
 Important: exceptions thrown from that method will contain a readily
 displayable message.
 
-    @return 
+    @return
         The default configuration provider for the application or<br/>
         <NULL/>, if startup was canceled
 
@@ -38,11 +38,11 @@ displayable message.
 
     @throw com::sun::star::lang::ServiceNotRegisteredException
         if the ConfigurationProvider service is unknwon
-        
+
     @throw com::sun::star::lang::WrappedTargetException
         if the configuration backend could be created,
         but incurred a failure later
-        
+
 */
 extern
 com::sun::star::uno::Reference< com::sun::star::lang::XMultiServiceFactory >
@@ -59,7 +59,7 @@ com::sun::star::uno::Reference< com::sun::star::lang::XMultiServiceFactory >
     {
     public:
         typedef com::sun::star::uno::Reference< com::sun::star::task::XInteractionHandler > InteractionHandler;
-        
+
         /// Constructor: Uses the default interaction handler
         ConfigurationErrorHandler()
         : m_pContext(0), m_xHandler()
@@ -78,11 +78,11 @@ com::sun::star::uno::Reference< com::sun::star::lang::XMultiServiceFactory >
         void activate();
         /// deinstalls the handler from the current context, restoring the previous context
         void deactivate();
-    private: 
+    private:
         class Context;
         Context * m_pContext;
         InteractionHandler m_xHandler;
-    private: 
+    private:
         // not implemented - suppress copy
         ConfigurationErrorHandler(const ConfigurationErrorHandler&);
         void operator=(const ConfigurationErrorHandler&);
diff --git a/main/dtrans/source/cnttype/wbench/testcnttype.cxx b/main/dtrans/source/cnttype/wbench/testcnttype.cxx
index 0caa09ca31..07d5a11a3a 100644
--- a/main/dtrans/source/cnttype/wbench/testcnttype.cxx
+++ b/main/dtrans/source/cnttype/wbench/testcnttype.cxx
@@ -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.
- * 
+ *
  *************************************************************/
 
 
@@ -76,7 +76,7 @@ void CheckMimeContentType( const OUString& aCntType, const OUString& aType, cons
 
 	OSL_ASSERT( aType    == xMimeCntType->getMediaType ( ) );
 	OSL_ASSERT( aSubtype == xMimeCntType->getMediaSubtype ( ) );
-	
+
 	try
 	{
 		Sequence< OUString > seqParam = xMimeCntType->getParameters( );
@@ -100,13 +100,13 @@ void CheckMimeContentType( const OUString& aCntType, const OUString& aType, cons
 	}
 	catch( NoSuchElementException& )
 	{
-		
+
 	}
 }
 */
 
 //----------------------------------------------------------------
-//	
+//
 //----------------------------------------------------------------
 
 void ShutdownServiceMgr( Reference< XMultiServiceFactory >& SrvMgr )
@@ -116,7 +116,7 @@ void ShutdownServiceMgr( Reference< XMultiServiceFactory >& SrvMgr )
 
 	if ( !xComponent.is() )
 		OSL_ENSURE(sal_False, "Error shuting down");
-	
+
 	// Dispose and clear factory
 	xComponent->dispose();
 	SrvMgr.clear();
@@ -124,7 +124,7 @@ void ShutdownServiceMgr( Reference< XMultiServiceFactory >& SrvMgr )
 }
 
 //----------------------------------------------------------------
-//	
+//
 //----------------------------------------------------------------
 
 sal_Bool readCntTypesFromFileIntoVector( char* fname, vector< string >& vecData )
@@ -140,7 +140,7 @@ sal_Bool readCntTypesFromFileIntoVector( char* fname, vector< string >& vecData
 
 	char line[1024];
 	while ( fscanf( fstream, "%[^\n]s", line ) != EOF )
-	{		
+	{
 		vecData.push_back( line );
 		fgetc( fstream );
 	}
@@ -151,7 +151,7 @@ sal_Bool readCntTypesFromFileIntoVector( char* fname, vector< string >& vecData
 }
 
 //----------------------------------------------------------------
-//	
+//
 //----------------------------------------------------------------
 
 sal_Bool processCntTypesAndWriteResultIntoFile( char* fname, vector< string >& vecData, Reference< XMimeContentTypeFactory > cnttypeFactory )
@@ -169,7 +169,7 @@ sal_Bool processCntTypesAndWriteResultIntoFile( char* fname, vector< string >& v
 	const char* pStr = NULL;
 
 	for ( vector< string >::iterator iter = vecData.begin( ); iter != iter_end; ++iter )
-	{	
+	{
 		try
 		{
 			fprintf( fstream, "Gelesen: %s\n", iter->c_str( ) );
@@ -186,14 +186,14 @@ sal_Bool processCntTypesAndWriteResultIntoFile( char* fname, vector< string >& v
 			{
 				fwprintf( fstream, OUString::createFromAscii("PName: %s\n" ), seqParam[i].getStr( ) );
 				fwprintf( fstream, OUString::createFromAscii("PValue: %s\n" ), xMCntTyp->getParameterValue( seqParam[i] ).getStr( ) );
-			}			
+			}
 		}
 		catch( IllegalArgumentException& ex )
 		{
-			fwprintf( fstream, OUString::createFromAscii( "Fehlerhafter Content-Type gelesen!!!\n\n" ) ); 
+			fwprintf( fstream, OUString::createFromAscii( "Fehlerhafter Content-Type gelesen!!!\n\n" ) );
 		}
 		catch( NoSuchElementException& )
-		{		
+		{
 			fwprintf( fstream, OUString::createFromAscii( "Parameterwert nicht vorhanden\n" ) );
 		}
 		catch( ... )
@@ -205,7 +205,7 @@ sal_Bool processCntTypesAndWriteResultIntoFile( char* fname, vector< string >& v
 	}
 
 	fclose( fstream );
-	
+
 	return sal_True;
 }
 
@@ -240,7 +240,7 @@ int SAL_CALL main( int nArgc, char* argv[] )
 		ShutdownServiceMgr( g_xFactory );
 	}
 
-	Reference< XMimeContentTypeFactory > 
+	Reference< XMimeContentTypeFactory >
 		xMCntTypeFactory( g_xFactory->createInstance( OUString::createFromAscii( "com.sun.star.datatransfer.MimeContentTypeFactory" ) ), UNO_QUERY );
 
 	if ( !xMCntTypeFactory.is( ) )
@@ -261,5 +261,5 @@ int SAL_CALL main( int nArgc, char* argv[] )
 
 	ShutdownServiceMgr( g_xFactory );
 
-	return 0;	
+	return 0;
 }
diff --git a/main/dtrans/source/win32/workbench/test_wincb.cxx b/main/dtrans/source/win32/workbench/test_wincb.cxx
index a10f2975de..8c29755d3e 100644
--- a/main/dtrans/source/win32/workbench/test_wincb.cxx
+++ b/main/dtrans/source/win32/workbench/test_wincb.cxx
@@ -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.
- * 
+ *
  *************************************************************/
 
 
@@ -95,7 +95,7 @@ Reference< XTransferable > rXTransfRead;
 HANDLE	g_hEvtThreadWakeup;
 
 //------------------------------------------------------------
-//	
+//
 //------------------------------------------------------------
 
 class CClipboardListener : public WeakImplHelper1 < XClipboardListener >
@@ -106,7 +106,7 @@ public:
 	//-------------------------------------------------
 	// XClipboardListener
 	//-------------------------------------------------
-	
+
 	virtual void SAL_CALL disposing( const EventObject& Source ) throw(RuntimeException);
 	virtual void SAL_CALL changedContents( const ClipboardEvent& event ) throw( RuntimeException );
 };
@@ -126,32 +126,32 @@ void SAL_CALL CClipboardListener::changedContents( const ClipboardEvent& event )
 }
 
 //------------------------------------------------------------
-//	
+//
 //------------------------------------------------------------
 
 class CTransferable : public WeakImplHelper2< XClipboardOwner, XTransferable >
 {
-public:	
+public:
 	CTransferable( );
-		
+
 	//-------------------------------------------------
 	// XTransferable
 	//-------------------------------------------------
 
-	virtual Any SAL_CALL getTransferData( const DataFlavor& aFlavor ) 
+	virtual Any SAL_CALL getTransferData( const DataFlavor& aFlavor )
 		throw(UnsupportedFlavorException, IOException, RuntimeException);
 
     virtual Sequence< DataFlavor > SAL_CALL getTransferDataFlavors(  ) throw(RuntimeException);
 
 	virtual sal_Bool SAL_CALL isDataFlavorSupported( const DataFlavor& aFlavor ) throw(RuntimeException);
-	
+
 	//-------------------------------------------------
 	// XClipboardOwner
 	//-------------------------------------------------
 
-	virtual void SAL_CALL lostOwnership( const Reference< XClipboard >& xClipboard, const Reference< XTransferable >& xTrans ) 
+	virtual void SAL_CALL lostOwnership( const Reference< XClipboard >& xClipboard, const Reference< XTransferable >& xTrans )
 		throw(RuntimeException);
-	
+
 private:
 	Sequence< DataFlavor > m_FlavorList;
 	OUString               m_Data;
@@ -166,10 +166,10 @@ CTransferable::CTransferable( ) :
 	m_Data( OUString::createFromAscii( "Ich habe mir ein neues Fahrrad gekauft!" ) )
 {
 	DataFlavor df;
-	
+
 	//df.MimeType = L"text/plain;charset=utf-16";
 	//df.DataType = getCppuType( ( OUString* )0 );
-	
+
 	df.MimeType = L"text/plain;charset=Windows1252";
 	df.DataType = getCppuType( (Sequence< sal_Int8 >*)0 );
 
@@ -180,9 +180,9 @@ CTransferable::CTransferable( ) :
 //	getTransferData
 //----------------------------------------------------------------
 
-Any SAL_CALL CTransferable::getTransferData( const DataFlavor& aFlavor ) 
+Any SAL_CALL CTransferable::getTransferData( const DataFlavor& aFlavor )
 	throw(UnsupportedFlavorException, IOException, RuntimeException)
-{	
+{
 	Any anyData;
 
 	/*
@@ -191,9 +191,9 @@ Any SAL_CALL CTransferable::getTransferData( const DataFlavor& aFlavor )
 	*/
 	if ( aFlavor.MimeType.equalsIgnoreCase( m_FlavorList[0].MimeType ) )
 	{
-		OString text( 
-			m_Data.getStr( ), 
-			m_Data.getLength( ), 
+		OString text(
+			m_Data.getStr( ),
+			m_Data.getLength( ),
 			RTL_TEXTENCODING_ASCII_US );
 
 		Sequence< sal_Int8 > textStream( text.getLength( ) + 1 );
@@ -201,7 +201,7 @@ Any SAL_CALL CTransferable::getTransferData( const DataFlavor& aFlavor )
 		rtl_copyMemory( textStream.getArray( ), text.getStr( ), textStream.getLength( ) );
 
 		anyData = makeAny( textStream );
-	}	
+	}
 	else
 		throw UnsupportedFlavorException( );
 
@@ -212,7 +212,7 @@ Any SAL_CALL CTransferable::getTransferData( const DataFlavor& aFlavor )
 //	getTransferDataFlavors
 //----------------------------------------------------------------
 
-Sequence< DataFlavor > SAL_CALL CTransferable::getTransferDataFlavors(  ) 
+Sequence< DataFlavor > SAL_CALL CTransferable::getTransferDataFlavors(  )
 	throw(RuntimeException)
 {
 	return m_FlavorList;
@@ -222,14 +222,14 @@ Sequence< DataFlavor > SAL_CALL CTransferable::getTransferDataFlavors(  )
 //	isDataFlavorSupported
 //----------------------------------------------------------------
 
-sal_Bool SAL_CALL CTransferable::isDataFlavorSupported( const DataFlavor& aFlavor ) 
+sal_Bool SAL_CALL CTransferable::isDataFlavorSupported( const DataFlavor& aFlavor )
 	throw(RuntimeException)
 {
 	sal_Int32 nLength = m_FlavorList.getLength( );
-	
+
 	for ( sal_Int32 i = 0; i < nLength; ++i )
-		if ( m_FlavorList[i].MimeType == aFlavor.MimeType )	
-			return sal_True;			
+		if ( m_FlavorList[i].MimeType == aFlavor.MimeType )
+			return sal_True;
 
 	return sal_False;
 }
@@ -238,8 +238,8 @@ sal_Bool SAL_CALL CTransferable::isDataFlavorSupported( const DataFlavor& aFlavo
 //	lostOwnership
 //----------------------------------------------------------------
 
-void SAL_CALL CTransferable::lostOwnership( 
-	const Reference< XClipboard >& xClipboard, const Reference< XTransferable >& xTrans ) 
+void SAL_CALL CTransferable::lostOwnership(
+	const Reference< XClipboard >& xClipboard, const Reference< XTransferable >& xTrans )
 	throw(RuntimeException)
 {
 	//MessageBox( NULL, TEXT("No longer clipboard owner"), TEXT("Info"), MB_OK | MB_ICONINFORMATION );
@@ -251,12 +251,12 @@ void SAL_CALL CTransferable::lostOwnership(
 
 int SAL_CALL main( int nArgc, char* Argv[] )
 {
-	// create a multi-threaded apartment; we can test only 
+	// create a multi-threaded apartment; we can test only
 	// with a multithreaded apartment because for a single
 	// threaded apartment we need a message loop to deliver
 	// messages to our XTDataObject
 	//HRESULT hr = CoInitializeEx( NULL, COINIT_MULTITHREADED );
-	HRESULT hr = CoInitialize( NULL );	
+	HRESULT hr = CoInitialize( NULL );
 
 	char buff[6];
 
@@ -285,7 +285,7 @@ int SAL_CALL main( int nArgc, char* Argv[] )
 
 	Reference< XTransferable > rXTransf( static_cast< XTransferable* >( new CTransferable ) );
 
-	Reference< XClipboard > 
+	Reference< XClipboard >
 		xClipboard( g_xFactory->createInstance( OUString( WINCLIPBOARD_SERVICE_NAME ) ), UNO_QUERY );
 	if ( !xClipboard.is( ) )
 	{
@@ -295,7 +295,7 @@ int SAL_CALL main( int nArgc, char* Argv[] )
 
 	Reference< XClipboardNotifier > xClipNotifier( xClipboard, UNO_QUERY );
 	Reference< XClipboardListener > rXClipListener( static_cast< XClipboardListener* >( new CClipboardListener() ) );
-	xClipNotifier->addClipboardListener( rXClipListener );	
+	xClipNotifier->addClipboardListener( rXClipListener );
 
 	MessageBox( NULL, TEXT("Go"), TEXT("INFO"), MB_OK|MB_ICONINFORMATION);
 
@@ -311,7 +311,7 @@ int SAL_CALL main( int nArgc, char* Argv[] )
 	*/
 
 	MessageBox( NULL, TEXT("Stop"), TEXT("INFO"), MB_OK|MB_ICONINFORMATION);
-	
+
 	// flush the clipboard content
 	Reference< XFlushableClipboard > rXFlushableClip( xClipboard, UNO_QUERY );
 	rXFlushableClip->flushClipboard( );
@@ -320,7 +320,7 @@ int SAL_CALL main( int nArgc, char* Argv[] )
 	xClipNotifier->removeClipboardListener( rXClipListener );
 	rXClipListener = Reference< XClipboardListener >( );
 	xClipNotifier  = Reference< XClipboardNotifier >( );
-	
+
 	//--------------------------------------------------
 	// shutdown the service manager
 	//--------------------------------------------------
@@ -330,7 +330,7 @@ int SAL_CALL main( int nArgc, char* Argv[] )
 
 	if ( !xComponent.is() )
 		OSL_ENSURE(sal_False, "Error shuting down");
-	
+
 	// Dispose and clear factory
 	xComponent->dispose();
 	xComponent = Reference< XComponent >( );
@@ -340,5 +340,5 @@ int SAL_CALL main( int nArgc, char* Argv[] )
 
 	CoUninitialize( );
 
-	return 0;	
+	return 0;
 }
diff --git a/main/embeddedobj/qa/embedding/EmbeddingTest.java b/main/embeddedobj/qa/embedding/EmbeddingTest.java
index 76f1852711..100aec15d3 100644
--- a/main/embeddedobj/qa/embedding/EmbeddingTest.java
+++ b/main/embeddedobj/qa/embedding/EmbeddingTest.java
@@ -25,4 +25,3 @@ public interface EmbeddingTest
 {
 	boolean test();
 }
-
diff --git a/main/embeddedobj/qa/embedding/Test01.java b/main/embeddedobj/qa/embedding/Test01.java
index 7d32543e12..323156db26 100644
--- a/main/embeddedobj/qa/embedding/Test01.java
+++ b/main/embeddedobj/qa/embedding/Test01.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.
- * 
+ *
  *************************************************************/
 
 package complex.embedding;
@@ -66,7 +66,7 @@ public class Test01 implements EmbeddingTest {
 			}
 
 			xLoad.initNew();
-			
+
 			XDrawPagesSupplier xDPSupply = (XDrawPagesSupplier) UnoRuntime.queryInterface( XDrawPagesSupplier.class, oDoc );
 			if ( xDPSupply == null )
 			{
@@ -94,7 +94,7 @@ public class Test01 implements EmbeddingTest {
 				m_aTestHelper.Error( "Can not get access to drawing page!" );
 				return false;
 			}
-	
+
 			XMultiServiceFactory xDrFactory = ( XMultiServiceFactory ) UnoRuntime.queryInterface( XMultiServiceFactory.class,
 																								  oDoc );
 			if ( xDrFactory == null )
@@ -153,4 +153,3 @@ public class Test01 implements EmbeddingTest {
 		}
     }
 }
-
diff --git a/main/embeddedobj/qa/embedding/makefile.mk b/main/embeddedobj/qa/embedding/makefile.mk
index 994881b86b..559cb5f4c4 100644
--- a/main/embeddedobj/qa/embedding/makefile.mk
+++ b/main/embeddedobj/qa/embedding/makefile.mk
@@ -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.
-#  
+#
 #**************************************************************
 
 
@@ -76,5 +76,3 @@ RUN: run
 
 run:
     java -cp $(CLASSPATH) $(CT_APP) $(CT_TESTBASE) $(CT_APPEXECCOMMAND) $(CT_TEST)
-
-
diff --git a/main/extensions/qa/integration/extensions/TestSkeleton.java b/main/extensions/qa/integration/extensions/TestSkeleton.java
index 8823afed3d..d2c153eb1e 100644
--- a/main/extensions/qa/integration/extensions/TestSkeleton.java
+++ b/main/extensions/qa/integration/extensions/TestSkeleton.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.
- * 
+ *
  *************************************************************/
 
 
diff --git a/main/extensions/qa/integration/extensions/makefile.mk b/main/extensions/qa/integration/extensions/makefile.mk
index c32cd7e435..fdf453762b 100644
--- a/main/extensions/qa/integration/extensions/makefile.mk
+++ b/main/extensions/qa/integration/extensions/makefile.mk
@@ -76,4 +76,3 @@ run:
 
 run_%:
     +java $(RUNNER_CLASSPATH) $(RUNNER_ARGS) -o integration.$(PRJNAME).$(@:s/run_//)
-
diff --git a/main/filter/qa/complex/filter/detection/typeDetection/TypeDetection.java b/main/filter/qa/complex/filter/detection/typeDetection/TypeDetection.java
index 697cd861a4..5e31789acf 100644
--- a/main/filter/qa/complex/filter/detection/typeDetection/TypeDetection.java
+++ b/main/filter/qa/complex/filter/detection/typeDetection/TypeDetection.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.
- * 
+ *
  *************************************************************/
 
 
@@ -180,14 +180,14 @@ import util.utils;
  */
 public class TypeDetection extends ComplexTestCase {
 
-    /** 
+    /**
      * @member m_xDetection     the object to test
      * @member helper           instacne of helper class
      */
-    
+
     static XTypeDetection   m_xDetection;
     static Helper helper = null;
-    
+
     /**
      * A function to tell the framework, which test functions are available.
      * @return All test methods.
@@ -212,17 +212,17 @@ public class TypeDetection extends ComplexTestCase {
         // create TypeDetection
         XMultiServiceFactory xMSF = (XMultiServiceFactory)param.getMSF();
         assure("Could not get XMultiServiceFactory", xMSF != null);
-        
+
         Object oInterface = xMSF.createInstance(
                                         "com.sun.star.document.TypeDetection");
-                                        
+
         if (oInterface == null) {
             failed("Service wasn't created") ;
         }
 
         XInterface oObj = (XInterface) oInterface ;
         log.println("ImplName: "+utils.getImplName(oObj));
-        
+
         m_xDetection = (XTypeDetection)
                 UnoRuntime.queryInterface(XTypeDetection.class, oInterface);
         Enumeration k = param.keys();
@@ -232,7 +232,7 @@ public class TypeDetection extends ComplexTestCase {
         }
         // create instrace of helper class
         helper = new Helper(param, log);
-        
+
     }
 
     /**
@@ -242,8 +242,8 @@ public class TypeDetection extends ComplexTestCase {
     }
 
     /**
-     * The <code>MediaDescriptor</code> was filled with the URL of a file. The 
-     * <code>type</code> of the file is kown and must be returned by 
+     * The <code>MediaDescriptor</code> was filled with the URL of a file. The
+     * <code>type</code> of the file is kown and must be returned by
      * <code>MediaDescriptor</code>
      *
      * Syntax of files.csv:
@@ -256,7 +256,7 @@ public class TypeDetection extends ComplexTestCase {
             Vector CSVData =  helper.getToDoList(
                                     (String)param.get("csv.files"));
             Enumeration allToDos = CSVData.elements();
-            
+
             while (allToDos.hasMoreElements()){
                 Vector toDo = (Vector) allToDos.nextElement();
 
@@ -264,17 +264,17 @@ public class TypeDetection extends ComplexTestCase {
                 String fileURL  = (String) toDo.get(1);
                 String URLfileType = (String) toDo.get(2);
                 String StreamfileType = (String) toDo.get(3);
-                
+
                 fileURL =  utils.getFullURL(helper.ensureEndingFileSep(
                               (String)param.get("TestDocumentPath")) + fileURL);
-                
-                log.println("actual '"+ fileAlias + 
+
+                log.println("actual '"+ fileAlias +
                                         "' ['" + URLfileType + "']: '" + fileURL);
-                
+
                 checkMediaDescriptorURL(fileAlias, fileURL, URLfileType);
                 checkMediaDescriptorXInputStream(fileAlias, fileURL, StreamfileType);
             }
-            
+
         } catch (ClassCastException e){
             failed(e.toString(), true);
         }
@@ -290,17 +290,17 @@ public class TypeDetection extends ComplexTestCase {
      */
     private void checkMediaDescriptorURL(
                             String fileAlias, String fileURL, String fileType){
-                                
+
         PropertyValue[] MediaDescriptor = helper.createMediaDescriptor(
             new String[] {"URL"},
             new Object[] {fileURL});
             log.println("check only by URL...");
-                
+
             String type = m_xDetection.queryTypeByDescriptor(
                                helper.createInOutPropertyValue(MediaDescriptor), true);
-            
+
             boolean fileTypeOK = helper.checkFileType(type, fileType);
-            
+
             assure("\nURL-test         : " + fileAlias + ":\n\treturned type: '" + type +
                    "'\n\texpected type: '" + fileType + "'",fileTypeOK ,true);
     }
@@ -317,34 +317,34 @@ public class TypeDetection extends ComplexTestCase {
      */
     private void checkMediaDescriptorXInputStream(
                              String fileAlias, String fileURL, String fileType){
-        
+
         XInputStream xStream = null;
-        
+
         try{
             xStream = helper.getFileStream( fileURL );
         } catch (NotConnectedException e) {
             failed("Could not get XInputStream from file :'" + fileURL + "'",true);
             return;
         }
-            
+
         PropertyValue[] MediaDescriptor = helper.createMediaDescriptor(
             new String[] {"InputStream"},
             new Object[] {xStream});
             log.println("check only by XInputStream...");
-                
+
             String type = m_xDetection.queryTypeByDescriptor(
                                helper.createInOutPropertyValue(MediaDescriptor), true);
-            
+
             boolean fileTypeOK = helper.checkFileType(type, fileType);
-            
+
             assure("\nXInputStream-test: " + fileAlias + ":\n\treturned type: '" + type +
                    "'\n\texpected type: '" + fileType + "'", fileTypeOK, true);
-            
+
     }
 
     /**
-     * The <code>MediaDescriptor</code> was filled with the URL of a file. The 
-     * <code>type</code> of the file is kown and must be returned by 
+     * The <code>MediaDescriptor</code> was filled with the URL of a file. The
+     * <code>type</code> of the file is kown and must be returned by
      * <code>MediaDescriptor</code>
      *
      * Syntax of files.csv:
@@ -354,31 +354,31 @@ public class TypeDetection extends ComplexTestCase {
     public void checkPreselectedType() {
         try{
             log.println("### checkPreselectedType() ###");
-            
+
             Vector CSVData =  helper.getToDoList(
                                     (String)param.get("csv.preselectedType"));
             Enumeration allToDos = CSVData.elements();
-            
+
             while (allToDos.hasMoreElements()){
                 try{
                     Vector toDo = (Vector) allToDos.nextElement();
-                
+
                     String fileAlias = (String) toDo.get(0);
                     String fileURL  = helper.getURLforfileAlias(fileAlias);
                     String preselectFileType = (String) toDo.get(1);
                     String expectedFileType = (String) toDo.get(2);
-                    
+
                     PropertyValue[] MediaDescriptor = helper.createMediaDescriptor(
                         new String[] {"URL", "MediaType"},
                         new Object[] {fileURL, preselectFileType});
-                    log.println("check '" + fileAlias + "' with MediaType: '" + 
+                    log.println("check '" + fileAlias + "' with MediaType: '" +
                                 preselectFileType + "'");
 
                     String type = m_xDetection.queryTypeByDescriptor(
                                    helper.createInOutPropertyValue(MediaDescriptor), true);
 
                     boolean fileTypeOK = helper.checkFileType(type, expectedFileType);
-                    
+
                     assure("\n" + fileAlias + ":\n\treturned type: '" + type +
                                     "'\n\texpected type: '" + expectedFileType + "'",
                                     fileTypeOK, true);
@@ -386,9 +386,9 @@ public class TypeDetection extends ComplexTestCase {
                     } catch (FileAliasNotFoundException e){
                         failed(e.toString(),true);
                     }
-                
+
             }
-            
+
         } catch (ClassCastException e){
             failed(e.toString(), true);
         }
@@ -403,12 +403,12 @@ public class TypeDetection extends ComplexTestCase {
     public void checkPreselectedFilter() {
         try{
             log.println("### checkPreselectedFilter() ###");
-            
+
             Vector CSVData =  helper.getToDoList(
                                     (String)param.get("csv.preselectedFilter"));
 
             Enumeration allToDos = CSVData.elements();
-            
+
             while (allToDos.hasMoreElements()){
                 try{
                     Vector toDo = (Vector) allToDos.nextElement();
@@ -423,27 +423,27 @@ public class TypeDetection extends ComplexTestCase {
                     PropertyValue[] MediaDescriptor = helper.createMediaDescriptor(
                         new String[] {"URL","FilterName",
                                                   "FilterOptions","FilterData"},
-                        new Object[] {fileURL, filterName, 
+                        new Object[] {fileURL, filterName,
                                                    filterOptions, filterData});
 
-                    log.println("check '" + fileAlias + "' with filter: '" + 
+                    log.println("check '" + fileAlias + "' with filter: '" +
                                 filterName + "'");
 
                     String type = m_xDetection.queryTypeByDescriptor(
                                helper.createInOutPropertyValue(MediaDescriptor), true);
 
                     boolean fileTypeOK = helper.checkFileType(type, expectedType);
-                    
+
                     assure("\n" + fileAlias + ":\n\treturned type: '" + type +
                                     "'\n\texpected type: '" + expectedType + "'",
                                     fileTypeOK,true);
-                  
+
                 } catch (FileAliasNotFoundException e){
                     failed(e.toString(),true);
                 }
 
             }
-            
+
         } catch (ClassCastException e){
             failed(e.toString(), true);
         }
@@ -459,7 +459,7 @@ public class TypeDetection extends ComplexTestCase {
 
             Vector CSVData =  helper.getToDoList((String)param.get("csv.serviceName"));
             Enumeration allToDos = CSVData.elements();
-            
+
             while (allToDos.hasMoreElements()){
                 try{
                     Vector toDo = (Vector) allToDos.nextElement();
@@ -468,7 +468,7 @@ public class TypeDetection extends ComplexTestCase {
                     String fileURL  = helper.getURLforfileAlias(fileAlias);
                     String serviceName = (String) toDo.get(1);
                     String fileType = helper.getTypeforfileAlias(fileAlias);
-                
+
                     PropertyValue[] MediaDescriptor = helper.createMediaDescriptor(
                         new String[] {"URL", "DocumentSerivce"},
                         new Object[] {fileURL, serviceName});
@@ -478,7 +478,7 @@ public class TypeDetection extends ComplexTestCase {
                                    helper.createInOutPropertyValue(MediaDescriptor), true);
 
                     boolean fileTypeOK = helper.checkFileType(type, fileType);
-                    
+
                     assure("\n" + fileAlias + ":\n\treturned type: '" + type +
                                     "'\t\nexpected type: '" + fileType + "'",
                                     fileTypeOK, true);
@@ -486,17 +486,17 @@ public class TypeDetection extends ComplexTestCase {
                 } catch (FileAliasNotFoundException e){
                     failed(e.toString(),true);
                 }
-                  
+
             }
-            
+
         } catch (ClassCastException e){
             failed(e.toString(), true);
         }
      }
-     
+
      public void checkStreamLoader(){
          try{
-             
+
             /*
              *als Dateien die typeDetection.props und eine der csv-Dateien
              *benutzten. diese k�nnen per dmake einfach auf andere Rechte setzten
@@ -504,22 +504,22 @@ public class TypeDetection extends ComplexTestCase {
              */
             log.println("### checkStreamLoader() ###");
             String[] urls = new String[2];
-            
+
             urls[0] = helper.getClassURLString("TypeDetection.props");
             urls[1] = helper.getClassURLString("files.csv");
-            
+
             for (int j=0; j<urls.length; j++){
                 String fileURL  = urls[j];
                 File file = new File(fileURL);
                 fileURL =  utils.getFullURL(fileURL);
-                
+
                 PropertyValue[] MediaDescriptor = helper.createMediaDescriptor(
                                                         new String[] {"URL"},
                                                         new Object[] {fileURL});
-                                                        
+
                 if (file.canWrite()) log.println("check writable file...");
                 else log.println("check readonly file...");
-                
+
                 PropertyValue[][] inOut = helper.createInOutPropertyValue(MediaDescriptor);
                 PropertyValue[] in = inOut[0];
                 log.println("in-Parameter:");
@@ -538,18 +538,18 @@ public class TypeDetection extends ComplexTestCase {
                     if ((out[i].Name.equals("ReadOnly")) && (out[i].Value.toString().equals("true"))) bReadOnly = true;
                     log.println("["+i+"] '" + out[i].Name + "':'" + out[i].Value.toString()+"'");
                 }
-                
+
                 if (file.canWrite() && bReadOnly)
                     assure("\nStreamLoader: file '"+ fileURL +"' is writable but out-Parameter does contain 'ReadOnly' property",false ,true);
                 else if ((!file.canWrite()) && (!bReadOnly))
                     assure("\nStreamLoader: file '"+ fileURL +"'is readonly but out-Parameter does not contain 'ReadOnly' property",false ,true);
                 else assure("all ok",true,true);
-                
+
             }
 
          } catch (ClassCastException e){
             failed(e.toString(), true);
         }
-        
+
      }
-}
\ No newline at end of file
+}
diff --git a/main/filter/source/config/cache/querytokenizer.hxx b/main/filter/source/config/cache/querytokenizer.hxx
index a3e5ca75ee..0d1d3c173b 100644
--- a/main/filter/source/config/cache/querytokenizer.hxx
+++ b/main/filter/source/config/cache/querytokenizer.hxx
@@ -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.
- * 
+ *
  *************************************************************/
 
 
diff --git a/main/filter/source/pdf/impdialog.src b/main/filter/source/pdf/impdialog.src
index dd8e2fe7ad..f7d3e69d6b 100644
--- a/main/filter/source/pdf/impdialog.src
+++ b/main/filter/source/pdf/impdialog.src
@@ -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.
- * 
+ *
  *************************************************************/
 
 
@@ -588,7 +588,7 @@ TabPage  RID_PDF_TAB_SECURITY
 		Pos = MAP_APPFONT(12 , 40 );
 		Size = MAP_APPFONT( 160, 20 );
 	};
-    
+
     String  STR_USER_PWD_SET
     {
         Text [ en-US ] = "Open password set";
@@ -608,7 +608,7 @@ TabPage  RID_PDF_TAB_SECURITY
     {
         Text [ en-US ] = "PDF document will not be encrypted";
     };
-    
+
     String STR_USER_PWD_PDFA
     {
         Text [en-US] = "PDF document will not be encrypted due to PDF/A export.";
diff --git a/main/filter/source/pdf/pdf.src b/main/filter/source/pdf/pdf.src
index 00003d7891..83f961eeb8 100644
--- a/main/filter/source/pdf/pdf.src
+++ b/main/filter/source/pdf/pdf.src
@@ -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.
- * 
+ *
  *************************************************************/
 
 
@@ -28,35 +28,3 @@ String PDF_PROGRESS_BAR
 {
 	Text [ en-US ] = "Export as PDF";
 };
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/main/forms/qa/integration/forms/MasterDetailForms.java b/main/forms/qa/integration/forms/MasterDetailForms.java
index fe1f9f2643..5d9b9ba9e9 100644
--- a/main/forms/qa/integration/forms/MasterDetailForms.java
+++ b/main/forms/qa/integration/forms/MasterDetailForms.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.
- * 
+ *
  *************************************************************/
 
 
@@ -68,7 +68,7 @@ public class MasterDetailForms extends complexlib.ComplexTestCase implements com
     public MasterDetailForms()
     {
     }
-    
+
     /* ------------------------------------------------------------------ */
     public String[] getTestMethodNames()
     {
@@ -92,7 +92,7 @@ public class MasterDetailForms extends complexlib.ComplexTestCase implements com
 
     /* ------------------------------------------------------------------ */
     /** creates the table structure needed for the test
-     */ 
+     */
     private void impl_createTableStructure( final HsqlDatabase _databaseDocument ) throws SQLException
     {
         HsqlColumnDescriptor[] masterColumns = {
@@ -379,7 +379,7 @@ public class MasterDetailForms extends complexlib.ComplexTestCase implements com
             m_loaded = false;
         }
     }
- 
+
     /** assures that the (integer) values in the given columns of our master and detail forms are identical
      */
     private void verifyColumnValueIdentity( final String masterColName, final String detailColName ) throws SQLException
@@ -390,7 +390,7 @@ public class MasterDetailForms extends complexlib.ComplexTestCase implements com
         int masterValue = m_masterResult.getInt( locateMasterCols.findColumn( masterColName ) );
         int detailValue = m_detailResult.getInt( locateDetailCols.findColumn( detailColName ) );
 
-        assure( "values in linked column pair " + detailColName + "->" + masterColName + " (" + 
+        assure( "values in linked column pair " + detailColName + "->" + masterColName + " (" +
             detailValue + "->" + masterValue + ") do not match (master position: " + m_masterResult.getRow()  + ")!",
             masterValue == detailValue );
     }
diff --git a/main/forms/qa/integration/forms/TestSkeleton.java b/main/forms/qa/integration/forms/TestSkeleton.java
index 86da627f0b..0c0e9bb127 100644
--- a/main/forms/qa/integration/forms/TestSkeleton.java
+++ b/main/forms/qa/integration/forms/TestSkeleton.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.
- * 
+ *
  *************************************************************/
 
 
diff --git a/main/forms/qa/integration/forms/XMLFormSettings.java b/main/forms/qa/integration/forms/XMLFormSettings.java
index 77f3d7d45f..ab1bfeb918 100644
--- a/main/forms/qa/integration/forms/XMLFormSettings.java
+++ b/main/forms/qa/integration/forms/XMLFormSettings.java
@@ -63,7 +63,7 @@ public class XMLFormSettings extends complexlib.ComplexTestCase
             "checkExternalData"
         };
     }
-    
+
     /* ------------------------------------------------------------------ */
     public String getTestObjectName()
     {
diff --git a/main/forms/qa/makefile.mk b/main/forms/qa/makefile.mk
index 93dffee065..54c584a0bf 100644
--- a/main/forms/qa/makefile.mk
+++ b/main/forms/qa/makefile.mk
@@ -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.
-#  
+#
 #**************************************************************
 
 
diff --git a/main/framework/inc/threadhelp/transactionbase.hxx b/main/framework/inc/threadhelp/transactionbase.hxx
index 29f347ad4e..179db9f54d 100644
--- a/main/framework/inc/threadhelp/transactionbase.hxx
+++ b/main/framework/inc/threadhelp/transactionbase.hxx
@@ -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.
- * 
+ *
  *************************************************************/
 
 
diff --git a/main/framework/qa/complex/framework/recovery/RecoveryTools.java b/main/framework/qa/complex/framework/recovery/RecoveryTools.java
index b57907a0e7..06e00625d5 100644
--- a/main/framework/qa/complex/framework/recovery/RecoveryTools.java
+++ b/main/framework/qa/complex/framework/recovery/RecoveryTools.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.
- * 
+ *
  *************************************************************/
 
 
@@ -56,10 +56,10 @@ import util.utils;
  * functions.
  */
 public class RecoveryTools {
-    
+
     private final TestParameters param;
     private final LogWriter log;
-    
+
     /**
      * Creates new OfficeWatcher
      * @param param the test parameter
@@ -68,19 +68,19 @@ public class RecoveryTools {
     public RecoveryTools(TestParameters param, LogWriter log) {
         this.param = param;
         this.log = log;
-        
+
     }
-    
+
     /**
      * get the active dialog from the top of the desktop
      * @param xToolKit xToolKit the <CODE> XExtendedToolkit</CODE> to get the dialog from the top of the desktop.
      * @return a <CODE>XDialog</CODE> interface of the dialog
-     */    
+     */
     public XDialog getActiveDialog( XMultiServiceFactory xMSF){
         XWindow xWin = getActiveWindow(xMSF);
         return (XDialog) UnoRuntime.queryInterface(XDialog.class, xWin);
     }
-    
+
     public XWindow getActiveWindow( XMultiServiceFactory xMSF){
         XInterface xToolKit = null;
         try {
@@ -101,10 +101,10 @@ public class RecoveryTools {
      * tries to get the dialog until the <CODE>OfficeWatcher</CODE> kills the office.
      * @param xToolKit the <CODE> XExtendedToolkit</CODE> to get the dialog from the top of the desktop.
      * @return a <CODE>XDialog</CODE> interface of the dialog
-     */    
+     */
     public XDialog getActiveDialogAfterStartup(XMultiServiceFactory xMSF){
         // while the office starts it takes some time to get the dialog.
-        
+
         // the dialog is accessible AFTER the office has recoverd all documents.
         // This could consumes more time then the TimeOut allow.
         int counter = 0;
@@ -112,9 +112,9 @@ public class RecoveryTools {
         int pause = param.getInt(PropertyName.SHORT_WAIT)*10;
         int timeOut = param.getInt(PropertyName.THREAD_TIME_OUT)*5;
         int maximum = (timeOut / pause) * multi;
-        
+
         XDialog oDialog = getActiveDialog(xMSF);
-        
+
         while (oDialog == null && (counter < maximum)){
             log.println("waiting until the office has recoverd... remaining " + (timeOut * multi - pause * counter)/1000 + " seconds");
             pause(pause);
@@ -126,18 +126,18 @@ public class RecoveryTools {
 
     /**
      * halt the thread for some time
-     */    
+     */
     public void pause(){
        pause(param.getInt(PropertyName.SHORT_WAIT));
     }
-    
+
     /**
      * halt the thread for some time
-     */    
+     */
     public void pause(int sleepTime){
         sleep(sleepTime);
     }
-    
+
     private void sleep(long millis){
         try{
             Thread.sleep(millis);
@@ -148,36 +148,36 @@ public class RecoveryTools {
      * remove the content of the user backup folder and removes the Recovery.xcu. This
      * was done from the Office via XSimpleFileAccess
      * @throws com.sun.star.io.IOException the exception was thrown if something goes wrong.
-     */    
+     */
     public void cleanRecoveryData()
         throws com.sun.star.io.IOException
     {
         try{
             HashMap recFiles = getRecoveryFiles();
-            
+
             String recoveryFolder = (String) recFiles.get("recoveryFolder");
             String recoveryXCU = (String) recFiles.get("recoveryXCU");
 
             log.println("try to remove content of '" + recoveryFolder + "'");
-            
+
             File rf = new File(recoveryFolder);
-            
+
             boolean success = FileTools.cleanDir(rf);
             log.println("removed " + recoveryFolder + ": " + success);
-            
+
             log.println("try to remove '" + recoveryXCU + "'");
-            
+
             File xcu = new File(recoveryXCU);
             if (xcu.isFile()){
                 success = xcu.delete();
                 log.println("removed " + recoveryXCU + " : " + success);
             }
-            
+
         } catch (Exception e){
             throw new com.sun.star.io.IOException("could not remove old recovery data: " + e.toString());
         }
     }
-    
+
     public HashMap getRecoveryFiles()
         throws com.sun.star.io.IOException
     {
@@ -185,46 +185,46 @@ public class RecoveryTools {
             log.println("try to get UnoProvider...");
             UnoProvider unoProv = new UnoProvider();
             XMultiServiceFactory xMSF = (XMultiServiceFactory) unoProv.getManager(param);
-            
+
             String userPath = utils.expandMacro(xMSF, "${$ORIGIN/bootstraprc:UserInstallation}");
             System.out.println("userPath:'" + userPath + "'");
-            
+
             if (userPath.equals(""))userPath = utils.expandMacro(xMSF, "${$ORIGIN/bootstrap.ini:UserInstallation}");
             System.out.println("userPath:'" + userPath + "'");
-            
+
             if (userPath.equals("")) throw new com.sun.star.io.IOException("could not get user path at bootstraping");
-            
+
             String recoveryFolder = utils.getSystemURL(userPath + "/user/backup");
-            
+
             String recoveryXCU = utils.getSystemURL(userPath + "/user/registry/data/org/openoffice/Office/Recovery.xcu");
-            
+
             HashMap recFiles = new HashMap();
-            
+
             recFiles.put("recoveryFolder", recoveryFolder);
             recFiles.put("recoveryXCU", recoveryXCU);
             return recFiles;
-            
+
         } catch (Exception e){
             throw new com.sun.star.io.IOException("could not get recovery folder: " + e.toString());
         }
-        
+
     }
     /**
      * This function close the office while calling terminate on the desktop. If
      * this failed, the <CODE>ProcessHandler</CODE> kills the process.
      * @param xMSF the <CODE>XMultiServiceFactory</CODE>
      * @return <CODE>TRUE</CODE> if no exception was thrown, otherwise <CODE>FALSE</CODE>
-     */    
+     */
     public boolean closeOffice(XMultiServiceFactory xMSF) {
         try {
             XDesktop desk = (XDesktop) UnoRuntime.queryInterface(
                     XDesktop.class, xMSF.createInstance(
                     "com.sun.star.frame.Desktop"));
             xMSF = null;
-            
+
             desk.terminate();
             log.println("Waiting until ProcessHandler loose the office...");
-            
+
         }
         catch (java.lang.Exception e) {
             e.printStackTrace();
@@ -233,11 +233,11 @@ public class RecoveryTools {
         waitForClosedOffice();
         return true;
     }
-    
+
     /**
      * This function waits until the office is closed. If the closing time reach
      * the value of parameter <CODE>THREAD_TIME_OUT</CODE> the office was killed.
-     */    
+     */
     public void waitForClosedOffice(){
         // check for the office process
         helper.ProcessHandler ph = (helper.ProcessHandler) param.get("AppProvider");
@@ -254,7 +254,7 @@ public class RecoveryTools {
         // be sure that office is closed
         if (ph != null) ph.kill();
     }
-    
+
     public void killOffice(){
         helper.ProcessHandler ph = (helper.ProcessHandler) param.get("AppProvider");
         ph.kill();
@@ -264,9 +264,9 @@ public class RecoveryTools {
      * The office must be started WITH restore and crashreporter functionality.
      * Therefore the parmater '<CODE>-norestore</CODE>' and '<CODE>-nocrashreport</CODE>'
      * was removed from the <CODE>AppExecutionCommand</CODE> parameter
-     */    
+     */
     public void removeParametersFromAppExecutionCommand(){
-                                    
+
         //remove some params to start office
         String office = (String) param.get("AppExecutionCommand");
         String[] params = {"-norestore", "-nocrashreport"};
@@ -281,19 +281,19 @@ public class RecoveryTools {
         }
         param.put("AppExecutionCommand", office);
         log.println("connect: " + (String) param.get("AppExecutionCommand"));
-        
+
     }
- 
+
     /**
      * This function uses accessibility to handle modal dialogs like the
      * "Are you sure" dialog.
      * It cklick the named button given in parameter <CODE>buttonName</CODE>
      * @param buttonName the name of the button which should be chlicked
-     */    
+     */
     public void handleModalDialog(XMultiServiceFactory xMSF, String buttonName)
                 throws com.sun.star.accessibility.IllegalAccessibleComponentStateException
-    {                
-    
+    {
+
         log.println("try to get modal Dialog...");
 
         pause();
@@ -314,7 +314,7 @@ public class RecoveryTools {
         }
         pause();
     }
-    
+
     public void clickThreadButton(XMultiServiceFactory xMSF, XWindow xWindow, String buttonName)
                 throws com.sun.star.accessibility.IllegalAccessibleComponentStateException
     {
@@ -322,12 +322,12 @@ public class RecoveryTools {
         kbt.start();
         pause(param.getInt(PropertyName.SHORT_WAIT) * 10);
     }
- 
+
     public void copyRecoveryData(boolean backup)
         throws com.sun.star.io.IOException, java.io.IOException
-    {   
+    {
         HashMap recFiles = null;
-        
+
         try{
             recFiles = getRecoveryFiles();
         } catch ( com.sun.star.io.IOException e){
@@ -356,6 +356,6 @@ public class RecoveryTools {
             throw new java.io.IOException("Could not copy recovery files: " + e.toString());
         }
    }
-    
-    
+
+
 }
diff --git a/main/instsetoo_native/util/aoo-420-release.xml b/main/instsetoo_native/util/aoo-420-release.xml
index 9902c0f363..9e0c18eca0 100644
--- a/main/instsetoo_native/util/aoo-420-release.xml
+++ b/main/instsetoo_native/util/aoo-420-release.xml
@@ -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,18 +8,18 @@
  * 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.
- * 
+ *
  ***********************************************************-->
-<release 
+<release
     name="snapshot"
     version="4.2.0">
     <language
@@ -40,7 +40,7 @@
     <language
         id="zh-TW"
         english-name="Chinese (traditional)"
-        local-name="正體中文" 
+        local-name="正體中文"
         />
     <language
         id="cs"
@@ -277,25 +277,25 @@
         />
 
     <wiki>
-      <package-ref 
+      <package-ref
           package-id="openoffice"
           language-list="all"
           platform-list="all"
           table="main"
           />
-      <package-ref 
+      <package-ref
           package-id="langpack"
           language-list="all"
           platform-list="all"
           table="main"
           />
-      <package-ref 
+      <package-ref
           package-id="patch"
           language-list="all"
           platform-list="wntmsci12.pro"
           table="main"
           />
-      <package-ref 
+      <package-ref
           package-id="sdk"
           language-list="en-US"
           platform-list="all"
diff --git a/main/javaunohelper/com/sun/star/lib/uno/helper/InterfaceContainer.java b/main/javaunohelper/com/sun/star/lib/uno/helper/InterfaceContainer.java
index 0aec664be5..0e0e332f05 100644
--- a/main/javaunohelper/com/sun/star/lib/uno/helper/InterfaceContainer.java
+++ b/main/javaunohelper/com/sun/star/lib/uno/helper/InterfaceContainer.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.
- * 
+ *
  *************************************************************/
 
 
@@ -98,13 +98,13 @@ public class InterfaceContainer implements Cloneable
      * The capacity of the ArrayList is the length of this array buffer.
      */
     Object elementData[];
-    
+
     /**
      * The size of the ArrayList (the number of elements it contains).
      */
     private int size;
-    
-    
+
+
     //private ArrayList data= new ArrayList();
     /** Creates a new instance of InterfaceContainer */
     public InterfaceContainer()
@@ -125,7 +125,7 @@ public class InterfaceContainer implements Cloneable
             initialCapacity);
         this.elementData = new Object[initialCapacity];
     }
-    
+
     /**
      * Trims the capacity of this <tt>ArrayList</tt> instance to be the
      * list's current size.  An application can use this operation to minimize
@@ -141,7 +141,7 @@ public class InterfaceContainer implements Cloneable
             System.arraycopy(oldData, 0, elementData, 0, size);
         }
     }
-    
+
     /**
      * Increases the capacity of this <tt>ArrayList</tt> instance, if
      * necessary, to ensure  that it can hold at least the number of elements
@@ -162,7 +162,7 @@ public class InterfaceContainer implements Cloneable
             System.arraycopy(oldData, 0, elementData, 0, size);
         }
     }
-    
+
     /**
      * Appends the specified element to the end of this list.
      *
@@ -180,7 +180,7 @@ public class InterfaceContainer implements Cloneable
         }
         return ret;
     }
-    
+
     /**
      * Inserts the specified element at the specified position in this
      * list. Shifts the element currently at that position (if any) and
@@ -198,7 +198,7 @@ public class InterfaceContainer implements Cloneable
             if (index > size || index < 0)
                 throw new IndexOutOfBoundsException(
                 "Index: "+index+", Size: "+size);
-            
+
             ensureCapacity(size+1);
             System.arraycopy(elementData, index, elementData, index + 1,
             size - index);
@@ -206,8 +206,8 @@ public class InterfaceContainer implements Cloneable
             size++;
         }
     }
-    
-    
+
+
     /**
      * Appends all of the elements in the specified Collection to the end of
      * this list, in the order that they are returned by the
@@ -225,7 +225,7 @@ public class InterfaceContainer implements Cloneable
     {
         int numNew = c.size();
         ensureCapacity(size + numNew);
-        
+
         Iterator e = c.iterator();
         for (int i=0; i<numNew; i++)
         {
@@ -270,12 +270,12 @@ public class InterfaceContainer implements Cloneable
             }
             int numNew = curIndex;
             ensureCapacity(size + numNew);  // Increments modCount!!
-            
+
             int numMoved = size - index;
             if (numMoved > 0)
                 System.arraycopy(elementData, index, elementData, index + numNew,
                 numMoved);
-            
+
             for (int i=0; i<numNew; i++)
             {
                 elementData[index++]= arColl[i];
@@ -285,7 +285,7 @@ public class InterfaceContainer implements Cloneable
         }
         return ret;
     }
-    
+
     /**
      * Removes all of the elements from this list.  The list will
      * be empty after this call returns.
@@ -297,7 +297,7 @@ public class InterfaceContainer implements Cloneable
             // Let gc do its work
             for (int i = 0; i < size; i++)
                 elementData[i] = null;
-            
+
             size = 0;
         }
     }
@@ -310,7 +310,7 @@ public class InterfaceContainer implements Cloneable
     {
         return indexOf(elem) >= 0;
     }
-    
+
     synchronized public boolean containsAll(Collection collection)
     {
         boolean retVal= true;
@@ -346,7 +346,7 @@ public class InterfaceContainer implements Cloneable
         }
         return null;
     }
-    
+
     /**
      * Searches for the first occurrence of the given argument, testing
      * for equality using the <tt>equals</tt> method.
@@ -369,7 +369,7 @@ public class InterfaceContainer implements Cloneable
                     break;
                 }
             }
-            
+
             if (index == -1)
             {
                 for (int i = 0; i < size; i++)
@@ -394,7 +394,7 @@ public class InterfaceContainer implements Cloneable
     {
         return size == 0;
     }
-    
+
     synchronized public Iterator iterator()
     {
         if (elementData != null)
@@ -439,9 +439,9 @@ public class InterfaceContainer implements Cloneable
         }
         return index;
     }
-    
+
     /**
-     * Returns a shallow copy of this <tt>ArrayList</tt> instance. The contained 
+     * Returns a shallow copy of this <tt>ArrayList</tt> instance. The contained
      * references are copied but the objects not.
      *
      * @return  a clone of this <tt>List</tt> instance.
@@ -463,7 +463,7 @@ public class InterfaceContainer implements Cloneable
     {
         return listIterator(0);
     }
-    
+
     /** The iterator keeps a copy of the list. Changes to InterfaceContainer do not
      *  affect the data of the iterator. Conversely, changes to the iterator are effect
      *  InterfaceContainer.
@@ -496,7 +496,7 @@ public class InterfaceContainer implements Cloneable
         {
             RangeCheck(index);
             ret= elementData[index];
-            
+
             int numMoved = size - index - 1;
             if (numMoved > 0)
                 System.arraycopy(elementData, index+1, elementData, index,
@@ -505,8 +505,8 @@ public class InterfaceContainer implements Cloneable
         }
         return ret;
     }
-    
-    
+
+
     /** Parameter obj may  */
     synchronized public boolean remove(Object obj)
     {
@@ -522,7 +522,7 @@ public class InterfaceContainer implements Cloneable
         }
         return ret;
     }
-    
+
     synchronized public boolean removeAll(Collection collection)
     {
         boolean retVal= false;
@@ -539,7 +539,7 @@ public class InterfaceContainer implements Cloneable
         }
         return retVal;
     }
-    
+
     synchronized public boolean retainAll(Collection collection)
     {
         boolean retVal= false;
@@ -591,9 +591,9 @@ public class InterfaceContainer implements Cloneable
         }
         return retVal;
     }
-    
-    
-    /** Not supported. 
+
+
+    /** Not supported.
      * @param index index of element to replace.
      * @param element element to be stored at the specified position.
      * @return the element previously at the specified position.
@@ -611,7 +611,7 @@ public class InterfaceContainer implements Cloneable
           }
           return ret;
     }
-    
+
     /**
      * Returns the number of elements in this list.
      *
@@ -623,7 +623,7 @@ public class InterfaceContainer implements Cloneable
             return size;
         return 0;
     }
-    
+
 
     /**
      * Returns an array containing all of the elements in this list
@@ -671,13 +671,13 @@ public class InterfaceContainer implements Cloneable
             a.getClass().getComponentType(), size);
         if (elementData != null)
             System.arraycopy(elementData, 0, a, 0, size);
-        
+
         if (a.length > size)
             a[size] = null;
-        
+
         return a;
     }
-    
+
     /**
      * Check if the given index is in range.  If not, throw an appropriate
      * runtime exception.
@@ -688,7 +688,7 @@ public class InterfaceContainer implements Cloneable
             throw new IndexOutOfBoundsException(
             "Index: "+index+", Size: "+size);
     }
-    
+
     public void disposeAndClear(EventObject evt)
     {
         Iterator aIt;
@@ -721,8 +721,8 @@ public class InterfaceContainer implements Cloneable
             }
         }
     }
-    
-    
+
+
     private class Itr implements Iterator
     {
         InterfaceContainer dataIt;
@@ -736,23 +736,23 @@ public class InterfaceContainer implements Cloneable
          * to remove.
          */
         int lastRet = -1;
-        
+
         /** The object that has been returned by most recent call to next
          *  or previous. Reset to null if this element is deleted by a call
          *  to remove.
          */
         Object lastRetObj= null;
-        
+
         Itr(InterfaceContainer _data)
         {
             dataIt= _data;
         }
-        
+
         synchronized public boolean hasNext()
         {
             return cursor !=dataIt.size();
         }
-        
+
         public synchronized Object next()
         {
             try
@@ -767,7 +767,7 @@ public class InterfaceContainer implements Cloneable
                 throw new java.util.NoSuchElementException();
             }
         }
-        
+
         /** Removes the interface from the list, that has been last returned by a
          *  call to next(). This is done according to the specification of the interface
          *  method. The element is also removed from InterfaceContainer but independent
@@ -781,23 +781,23 @@ public class InterfaceContainer implements Cloneable
             // Remove the entry from InterfaceContainer.
             InterfaceContainer.this.remove(lastRetObj);
             dataIt.remove(lastRet);
-            
+
             if (lastRet < cursor)
                 cursor--;
             lastRet = -1;
             lastRetObj= null;
         }
     }
-    
+
     private class LstItr extends Itr implements ListIterator
     {
-        
+
         LstItr(InterfaceContainer _data, int _index)
         {
             super(_data);
             cursor= _index;
         }
-        
+
         /** Inserts an element to the iterators list according to the specification
          *  of this interface method. The element is also added to InterfaceContainer
          *  but its location within the list cannot be guaranteed.
@@ -809,17 +809,17 @@ public class InterfaceContainer implements Cloneable
             lastRet = -1;
             lastRetObj= null;
         }
-        
+
         synchronized public boolean hasPrevious()
         {
             return cursor != 0;
         }
-        
+
         synchronized public int nextIndex()
         {
             return cursor;
         }
-        
+
         public synchronized Object previous()
         {
             try
@@ -833,19 +833,19 @@ public class InterfaceContainer implements Cloneable
                 throw new NoSuchElementException();
             }
         }
-        
+
         synchronized public int previousIndex()
         {
             return cursor-1;
         }
-        
+
         /** This is not possible since several iterators can modify InterfaceContainer
          */
         public synchronized void set(Object o)
         {
             throw new UnsupportedOperationException();
         }
-        
-        
+
+
     } // class LstItr
 }
diff --git a/main/jurt/test/com/sun/star/uno/makefile.mk b/main/jurt/test/com/sun/star/uno/makefile.mk
index f965f587fd..bf5091ef28 100644
--- a/main/jurt/test/com/sun/star/uno/makefile.mk
+++ b/main/jurt/test/com/sun/star/uno/makefile.mk
@@ -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.
-#  
+#
 #**************************************************************
 
 
diff --git a/main/jurt/test/makefile.mk b/main/jurt/test/makefile.mk
index e33ae8fd86..3de3559933 100644
--- a/main/jurt/test/makefile.mk
+++ b/main/jurt/test/makefile.mk
@@ -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.
-#  
+#
 #**************************************************************
 
 
diff --git a/main/offapi/com/sun/star/awt/XDisplayConnection.idl b/main/offapi/com/sun/star/awt/XDisplayConnection.idl
index a49c5cc6fb..8ad46c6854 100644
--- a/main/offapi/com/sun/star/awt/XDisplayConnection.idl
+++ b/main/offapi/com/sun/star/awt/XDisplayConnection.idl
@@ -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.
- * 
+ *
  *************************************************************/
 
 
@@ -46,7 +46,7 @@ published interface XDisplayConnection: com::sun::star::uno::XInterface
 	/** registers an event handler.
 
 		@param window
-		the platform specific window id. If empty, the handler should be 
+		the platform specific window id. If empty, the handler should be
 		registered for all windows.
 
 		@param eventHandler
@@ -62,14 +62,14 @@ published interface XDisplayConnection: com::sun::star::uno::XInterface
 	/** removes a eventHandler from the handler list.
 
 		@param window
-		the platform specific window id the handler should be deregistered for. 
+		the platform specific window id the handler should be deregistered for.
 		If empty, the handler should be deregistered completly.
 
 		@param eventHandler
 		the handler to remove.
 	*/
 	[oneway] void removeEventHandler( [in] any window, [in] XEventHandler eventHandler );
-	
+
     //-------------------------------------------------------------------------
 
 	/** register an error handler for toolkit specific errors.
@@ -95,7 +95,7 @@ published interface XDisplayConnection: com::sun::star::uno::XInterface
         @returns a unique platform dependend identifier for a display connection.
 	*/
 	any getIdentifier();
-    
+
 };
 
 //=============================================================================
diff --git a/main/qadevOOo/build.xml b/main/qadevOOo/build.xml
index a65c516d11..039f060392 100644
--- a/main/qadevOOo/build.xml
+++ b/main/qadevOOo/build.xml
@@ -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.
- * 
+ *
  ***********************************************************-->
 <project name="qadevOOo" default="main" basedir=".">
   <description>
@@ -53,7 +53,7 @@
 		</classpath>
 	</javac>
   </target>
-  
+
   <!-- target for building the tests -->
   <target name="qadevOOo_tests_build" depends="qadevOOo_runner_build">
     <javac srcdir="${qadevOOo.tests}" destdir="${qadevOOo.class}" includes="**/*.java"
diff --git a/main/qadevOOo/makefile.mk b/main/qadevOOo/makefile.mk
index f4fc4ef1d2..f34baa6560 100644
--- a/main/qadevOOo/makefile.mk
+++ b/main/qadevOOo/makefile.mk
@@ -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.
-#  
+#
 #**************************************************************
 
 
@@ -35,11 +35,11 @@ debug=true
 TST:
 	echo $(SOLAR_JAVA)
 
-.IF "$(SOLAR_JAVA)"=="TRUE"	
+.IF "$(SOLAR_JAVA)"=="TRUE"
 .IF "$(ANT_HOME)"!="NO_ANT_HOME"
 ANT_FLAGS+=-Dbuild.source=1.6
 .IF "$(L10N_framework)"==""
 ALLTAR: ANTBUILD
 .ENDIF
 .ENDIF
-.ENDIF 
+.ENDIF
diff --git a/main/qadevOOo/runner/base/makefile.mk b/main/qadevOOo/runner/base/makefile.mk
index f80976096d..338c116361 100644
--- a/main/qadevOOo/runner/base/makefile.mk
+++ b/main/qadevOOo/runner/base/makefile.mk
@@ -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.
-#  
+#
 #**************************************************************
 
 
diff --git a/main/qadevOOo/runner/basicrunner/basichelper/makefile.mk b/main/qadevOOo/runner/basicrunner/basichelper/makefile.mk
index 3684f3c1d9..22501d1a1d 100644
--- a/main/qadevOOo/runner/basicrunner/basichelper/makefile.mk
+++ b/main/qadevOOo/runner/basicrunner/basichelper/makefile.mk
@@ -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.
-#  
+#
 #**************************************************************
 
 
diff --git a/main/qadevOOo/runner/basicrunner/makefile.mk b/main/qadevOOo/runner/basicrunner/makefile.mk
index 5fd445512f..3937dc27b8 100644
--- a/main/qadevOOo/runner/basicrunner/makefile.mk
+++ b/main/qadevOOo/runner/basicrunner/makefile.mk
@@ -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.
-#  
+#
 #**************************************************************
 
 
diff --git a/main/qadevOOo/runner/convwatch/makefile.mk b/main/qadevOOo/runner/convwatch/makefile.mk
index ac233803bd..27655871f8 100644
--- a/main/qadevOOo/runner/convwatch/makefile.mk
+++ b/main/qadevOOo/runner/convwatch/makefile.mk
@@ -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.
-#  
+#
 #**************************************************************
 
 
diff --git a/main/qadevOOo/runner/graphical/makefile.mk b/main/qadevOOo/runner/graphical/makefile.mk
index 33ffc45e8d..46d973c81c 100644
--- a/main/qadevOOo/runner/graphical/makefile.mk
+++ b/main/qadevOOo/runner/graphical/makefile.mk
@@ -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.
-#  
+#
 #**************************************************************
 
 
diff --git a/main/qadevOOo/runner/helper/StreamSimulator.java b/main/qadevOOo/runner/helper/StreamSimulator.java
index 1d447e46dc..ea261ee2ea 100644
--- a/main/qadevOOo/runner/helper/StreamSimulator.java
+++ b/main/qadevOOo/runner/helper/StreamSimulator.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.
- * 
+ *
  *************************************************************/
 
 
@@ -83,7 +83,7 @@ public class StreamSimulator implements com.sun.star.io.XInputStream    ,
      *              in case the internal streams to the file on disk couldn't established.
      *              They are necessary. Otherwise this simulator can't really work.
      */
-    public StreamSimulator( String  sFileName , boolean bInput , 
+    public StreamSimulator( String  sFileName , boolean bInput ,
         lib.TestParameters param   ) throws com.sun.star.io.NotConnectedException
     {
         ////m_aProtocol = new ComplexTestEnvironment();
@@ -93,8 +93,8 @@ public class StreamSimulator implements com.sun.star.io.XInputStream    ,
 
         try
         {
-            XSimpleFileAccess xHelper = (XSimpleFileAccess) 
-                UnoRuntime.queryInterface(XSimpleFileAccess.class, 
+            XSimpleFileAccess xHelper = (XSimpleFileAccess)
+                UnoRuntime.queryInterface(XSimpleFileAccess.class,
                     ((XMultiServiceFactory)param.getMSF()).createInstance("com.sun.star.ucb.SimpleFileAccess"));
 /*            com.sun.star.ucb.XSimpleFileAccess xHelper = (com.sun.star.ucb.XSimpleFileAccess)OfficeConnect.createRemoteInstance(
                 com.sun.star.ucb.XSimpleFileAccess.class,
@@ -156,13 +156,13 @@ public class StreamSimulator implements com.sun.star.io.XInputStream    ,
         {
             nRead = m_xInStream.readBytes(lData,nBytesToRead);
         }
-        catch (com.sun.star.io.NotConnectedException       exConnect) { //m_aProtocol.log("\tgot NotConnectedException\n\tfailed\n}\n"      ); throw exConnect; 
+        catch (com.sun.star.io.NotConnectedException       exConnect) { //m_aProtocol.log("\tgot NotConnectedException\n\tfailed\n}\n"      ); throw exConnect;
         }
-        catch (com.sun.star.io.BufferSizeExceededException exBuffer ) { //m_aProtocol.log("\tgot BufferSizeExceededException\n\tfailed\n}\n"); throw exBuffer;  
+        catch (com.sun.star.io.BufferSizeExceededException exBuffer ) { //m_aProtocol.log("\tgot BufferSizeExceededException\n\tfailed\n}\n"); throw exBuffer;
         }
-        catch (com.sun.star.io.IOException                 exIO     ) { //m_aProtocol.log("\tgot IOException\n\tfailed\n}\n"                ); throw exIO;      
+        catch (com.sun.star.io.IOException                 exIO     ) { //m_aProtocol.log("\tgot IOException\n\tfailed\n}\n"                ); throw exIO;
         }
-        catch (com.sun.star.uno.RuntimeException           exRuntime) { //m_aProtocol.log("\tgot RuntimeException\n\tfailed\n}\n"           ); throw exRuntime; 
+        catch (com.sun.star.uno.RuntimeException           exRuntime) { //m_aProtocol.log("\tgot RuntimeException\n\tfailed\n}\n"           ); throw exRuntime;
         }
         catch (com.sun.star.uno.Exception                  exUno    ) { //m_aProtocol.log("\tgot Exception\n\tfailed\n}\n"                  );
         }
@@ -196,13 +196,13 @@ public class StreamSimulator implements com.sun.star.io.XInputStream    ,
         {
             nRead = m_xInStream.readSomeBytes(lData,nMaxBytesToRead);
         }
-        catch (com.sun.star.io.NotConnectedException       exConnect) { //m_aProtocol.log("\tgot NotConnectedException\n\tfailed\n}\n"      ); throw exConnect; 
+        catch (com.sun.star.io.NotConnectedException       exConnect) { //m_aProtocol.log("\tgot NotConnectedException\n\tfailed\n}\n"      ); throw exConnect;
         }
-        catch (com.sun.star.io.BufferSizeExceededException exBuffer ) { //m_aProtocol.log("\tgot BufferSizeExceededException\n\tfailed\n}\n"); throw exBuffer;  
+        catch (com.sun.star.io.BufferSizeExceededException exBuffer ) { //m_aProtocol.log("\tgot BufferSizeExceededException\n\tfailed\n}\n"); throw exBuffer;
         }
-        catch (com.sun.star.io.IOException                 exIO     ) { //m_aProtocol.log("\tgot IOException\n\tfailed\n}\n"                ); throw exIO;      
+        catch (com.sun.star.io.IOException                 exIO     ) { //m_aProtocol.log("\tgot IOException\n\tfailed\n}\n"                ); throw exIO;
         }
-        catch (com.sun.star.uno.RuntimeException           exRuntime) { //m_aProtocol.log("\tgot RuntimeException\n\tfailed\n}\n"           ); throw exRuntime; 
+        catch (com.sun.star.uno.RuntimeException           exRuntime) { //m_aProtocol.log("\tgot RuntimeException\n\tfailed\n}\n"           ); throw exRuntime;
         }
         catch (com.sun.star.uno.Exception                  exUno    ) { //m_aProtocol.log("\tgot Exception\n\tfailed\n}\n"                  );
         }
@@ -234,13 +234,13 @@ public class StreamSimulator implements com.sun.star.io.XInputStream    ,
         {
             m_xInStream.skipBytes(nBytesToSkip);
         }
-        catch (com.sun.star.io.NotConnectedException       exConnect) { //m_aProtocol.log("\tgot NotConnectedException\n\tfailed\n}\n"      ); throw exConnect; 
+        catch (com.sun.star.io.NotConnectedException       exConnect) { //m_aProtocol.log("\tgot NotConnectedException\n\tfailed\n}\n"      ); throw exConnect;
         }
-        catch (com.sun.star.io.BufferSizeExceededException exBuffer ) { //m_aProtocol.log("\tgot BufferSizeExceededException\n\tfailed\n}\n"); throw exBuffer;  
+        catch (com.sun.star.io.BufferSizeExceededException exBuffer ) { //m_aProtocol.log("\tgot BufferSizeExceededException\n\tfailed\n}\n"); throw exBuffer;
         }
-        catch (com.sun.star.io.IOException                 exIO     ) { //m_aProtocol.log("\tgot IOException\n\tfailed\n}\n"                ); throw exIO;      
+        catch (com.sun.star.io.IOException                 exIO     ) { //m_aProtocol.log("\tgot IOException\n\tfailed\n}\n"                ); throw exIO;
         }
-        catch (com.sun.star.uno.RuntimeException           exRuntime) { //m_aProtocol.log("\tgot RuntimeException\n\tfailed\n}\n"           ); throw exRuntime; 
+        catch (com.sun.star.uno.RuntimeException           exRuntime) { //m_aProtocol.log("\tgot RuntimeException\n\tfailed\n}\n"           ); throw exRuntime;
         }
         catch (com.sun.star.uno.Exception                  exUno    ) { //m_aProtocol.log("\tgot Exception\n\tfailed\n}\n"                  );
         }
@@ -267,11 +267,11 @@ public class StreamSimulator implements com.sun.star.io.XInputStream    ,
         {
             nAvailable = m_xInStream.available();
         }
-        catch (com.sun.star.io.NotConnectedException exConnect) { //m_aProtocol.log("\tgot NotConnectedException\n\tfailed\n}\n"); throw exConnect; 
+        catch (com.sun.star.io.NotConnectedException exConnect) { //m_aProtocol.log("\tgot NotConnectedException\n\tfailed\n}\n"); throw exConnect;
         }
-        catch (com.sun.star.io.IOException           exIO     ) { //m_aProtocol.log("\tgot IOException\n\tfailed\n}\n"          ); throw exIO;      
+        catch (com.sun.star.io.IOException           exIO     ) { //m_aProtocol.log("\tgot IOException\n\tfailed\n}\n"          ); throw exIO;
         }
-        catch (com.sun.star.uno.RuntimeException     exRuntime) { //m_aProtocol.log("\tgot RuntimeException\n\tfailed\n}\n"     ); throw exRuntime; 
+        catch (com.sun.star.uno.RuntimeException     exRuntime) { //m_aProtocol.log("\tgot RuntimeException\n\tfailed\n}\n"     ); throw exRuntime;
         }
         catch (com.sun.star.uno.Exception            exUno    ) { //m_aProtocol.log("\tgot Exception\n\tfailed\n}\n"            );
         }
@@ -298,11 +298,11 @@ public class StreamSimulator implements com.sun.star.io.XInputStream    ,
         {
             m_xInStream.closeInput();
         }
-        catch (com.sun.star.io.NotConnectedException exConnect) { //m_aProtocol.log("\tgot NotConnectedException\n\tfailed\n}\n"); throw exConnect; 
+        catch (com.sun.star.io.NotConnectedException exConnect) { //m_aProtocol.log("\tgot NotConnectedException\n\tfailed\n}\n"); throw exConnect;
         }
-        catch (com.sun.star.io.IOException           exIO     ) { //m_aProtocol.log("\tgot IOException\n\tfailed\n}\n"          ); throw exIO;      
+        catch (com.sun.star.io.IOException           exIO     ) { //m_aProtocol.log("\tgot IOException\n\tfailed\n}\n"          ); throw exIO;
         }
-        catch (com.sun.star.uno.RuntimeException     exRuntime) { //m_aProtocol.log("\tgot RuntimeException\n\tfailed\n}\n"     ); throw exRuntime; 
+        catch (com.sun.star.uno.RuntimeException     exRuntime) { //m_aProtocol.log("\tgot RuntimeException\n\tfailed\n}\n"     ); throw exRuntime;
         }
         catch (com.sun.star.uno.Exception            exUno    ) { //m_aProtocol.log("\tgot Exception\n\tfailed\n}\n"            );
         }
@@ -334,13 +334,13 @@ public class StreamSimulator implements com.sun.star.io.XInputStream    ,
         {
             m_xOutStream.writeBytes(lData);
         }
-        catch (com.sun.star.io.NotConnectedException       exConnect) { //m_aProtocol.log("\tgot NotConnectedException\n\tfailed\n}\n"      ); throw exConnect; 
+        catch (com.sun.star.io.NotConnectedException       exConnect) { //m_aProtocol.log("\tgot NotConnectedException\n\tfailed\n}\n"      ); throw exConnect;
         }
-        catch (com.sun.star.io.BufferSizeExceededException exBuffer ) { //m_aProtocol.log("\tgot BufferSizeExceededException\n\tfailed\n}\n"); throw exBuffer;  
+        catch (com.sun.star.io.BufferSizeExceededException exBuffer ) { //m_aProtocol.log("\tgot BufferSizeExceededException\n\tfailed\n}\n"); throw exBuffer;
         }
-        catch (com.sun.star.io.IOException                 exIO     ) { //m_aProtocol.log("\tgot IOException\n\tfailed\n}\n"                ); throw exIO;      
+        catch (com.sun.star.io.IOException                 exIO     ) { //m_aProtocol.log("\tgot IOException\n\tfailed\n}\n"                ); throw exIO;
         }
-        catch (com.sun.star.uno.RuntimeException           exRuntime) { //m_aProtocol.log("\tgot RuntimeException\n\tfailed\n}\n"           ); throw exRuntime; 
+        catch (com.sun.star.uno.RuntimeException           exRuntime) { //m_aProtocol.log("\tgot RuntimeException\n\tfailed\n}\n"           ); throw exRuntime;
         }
         catch (com.sun.star.uno.Exception                  exUno    ) { //m_aProtocol.log("\tgot Exception\n\tfailed\n}\n"                  );
         }
@@ -367,13 +367,13 @@ public class StreamSimulator implements com.sun.star.io.XInputStream    ,
         {
             m_xOutStream.flush();
         }
-        catch (com.sun.star.io.NotConnectedException       exConnect) { //m_aProtocol.log("\tgot NotConnectedException\n\tfailed\n}\n"      ); throw exConnect; 
+        catch (com.sun.star.io.NotConnectedException       exConnect) { //m_aProtocol.log("\tgot NotConnectedException\n\tfailed\n}\n"      ); throw exConnect;
         }
-        catch (com.sun.star.io.BufferSizeExceededException exBuffer ) { //m_aProtocol.log("\tgot BufferSizeExceededException\n\tfailed\n}\n"); throw exBuffer;  
+        catch (com.sun.star.io.BufferSizeExceededException exBuffer ) { //m_aProtocol.log("\tgot BufferSizeExceededException\n\tfailed\n}\n"); throw exBuffer;
         }
-        catch (com.sun.star.io.IOException                 exIO     ) { //m_aProtocol.log("\tgot IOException\n\tfailed\n}\n"                ); throw exIO;      
+        catch (com.sun.star.io.IOException                 exIO     ) { //m_aProtocol.log("\tgot IOException\n\tfailed\n}\n"                ); throw exIO;
         }
-        catch (com.sun.star.uno.RuntimeException           exRuntime) { //m_aProtocol.log("\tgot RuntimeException\n\tfailed\n}\n"           ); throw exRuntime; 
+        catch (com.sun.star.uno.RuntimeException           exRuntime) { //m_aProtocol.log("\tgot RuntimeException\n\tfailed\n}\n"           ); throw exRuntime;
         }
         catch (com.sun.star.uno.Exception                  exUno    ) { //m_aProtocol.log("\tgot Exception\n\tfailed\n}\n"                  );
         }
@@ -399,13 +399,13 @@ public class StreamSimulator implements com.sun.star.io.XInputStream    ,
         {
             m_xOutStream.closeOutput();
         }
-        catch (com.sun.star.io.NotConnectedException       exConnect) { //m_aProtocol.log("\tgot NotConnectedException\n\tfailed\n}\n"      ); throw exConnect; 
+        catch (com.sun.star.io.NotConnectedException       exConnect) { //m_aProtocol.log("\tgot NotConnectedException\n\tfailed\n}\n"      ); throw exConnect;
         }
-        catch (com.sun.star.io.BufferSizeExceededException exBuffer ) { //m_aProtocol.log("\tgot BufferSizeExceededException\n\tfailed\n}\n"); throw exBuffer;  
+        catch (com.sun.star.io.BufferSizeExceededException exBuffer ) { //m_aProtocol.log("\tgot BufferSizeExceededException\n\tfailed\n}\n"); throw exBuffer;
         }
-        catch (com.sun.star.io.IOException                 exIO     ) { //m_aProtocol.log("\tgot IOException\n\tfailed\n}\n"                ); throw exIO;      
+        catch (com.sun.star.io.IOException                 exIO     ) { //m_aProtocol.log("\tgot IOException\n\tfailed\n}\n"                ); throw exIO;
         }
-        catch (com.sun.star.uno.RuntimeException           exRuntime) { //m_aProtocol.log("\tgot RuntimeException\n\tfailed\n}\n"           ); throw exRuntime; 
+        catch (com.sun.star.uno.RuntimeException           exRuntime) { //m_aProtocol.log("\tgot RuntimeException\n\tfailed\n}\n"           ); throw exRuntime;
         }
         catch (com.sun.star.uno.Exception                  exUno    ) { //m_aProtocol.log("\tgot Exception\n\tfailed\n}\n"                  );
         }
@@ -443,11 +443,11 @@ public class StreamSimulator implements com.sun.star.io.XInputStream    ,
         {
             m_xSeek.seek(nLocation);
         }
-        catch (com.sun.star.lang.IllegalArgumentException exArg    ) { //m_aProtocol.log("\tgot IllegalArgumentException\n\tfailed\n}\n" ); throw exArg;     
+        catch (com.sun.star.lang.IllegalArgumentException exArg    ) { //m_aProtocol.log("\tgot IllegalArgumentException\n\tfailed\n}\n" ); throw exArg;
         }
-        catch (com.sun.star.io.IOException                exIO     ) { //m_aProtocol.log("\tgot IOException\n\tfailed\n}\n"              ); throw exIO;      
+        catch (com.sun.star.io.IOException                exIO     ) { //m_aProtocol.log("\tgot IOException\n\tfailed\n}\n"              ); throw exIO;
         }
-        catch (com.sun.star.uno.RuntimeException          exRuntime) { //m_aProtocol.log("\tgot RuntimeException\n\tfailed\n}\n"         ); throw exRuntime; 
+        catch (com.sun.star.uno.RuntimeException          exRuntime) { //m_aProtocol.log("\tgot RuntimeException\n\tfailed\n}\n"         ); throw exRuntime;
         }
         catch (com.sun.star.uno.Exception                 exUno    ) { //m_aProtocol.log("\tgot Exception\n\tfailed\n}\n"                );
         }
@@ -480,9 +480,9 @@ public class StreamSimulator implements com.sun.star.io.XInputStream    ,
         {
             nPos = m_xSeek.getPosition();
         }
-        catch (com.sun.star.io.IOException       exIO     ) { //m_aProtocol.log("\tgot IOException\n\tfailed\n}\n"     ); throw exIO;      
+        catch (com.sun.star.io.IOException       exIO     ) { //m_aProtocol.log("\tgot IOException\n\tfailed\n}\n"     ); throw exIO;
         }
-        catch (com.sun.star.uno.RuntimeException exRuntime) { //m_aProtocol.log("\tgot RuntimeException\n\tfailed\n}\n"); throw exRuntime; 
+        catch (com.sun.star.uno.RuntimeException exRuntime) { //m_aProtocol.log("\tgot RuntimeException\n\tfailed\n}\n"); throw exRuntime;
         }
         catch (com.sun.star.uno.Exception        exUno    ) { //m_aProtocol.log("\tgot Exception\n\tfailed\n}\n"       );
         }
@@ -516,9 +516,9 @@ public class StreamSimulator implements com.sun.star.io.XInputStream    ,
         {
             nLen = m_xSeek.getLength();
         }
-        catch (com.sun.star.io.IOException       exIO     ) { //m_aProtocol.log("\tgot IOException\n\tfailed\n}\n"     ); throw exIO;      
+        catch (com.sun.star.io.IOException       exIO     ) { //m_aProtocol.log("\tgot IOException\n\tfailed\n}\n"     ); throw exIO;
         }
-        catch (com.sun.star.uno.RuntimeException exRuntime) { //m_aProtocol.log("\tgot RuntimeException\n\tfailed\n}\n"); throw exRuntime; 
+        catch (com.sun.star.uno.RuntimeException exRuntime) { //m_aProtocol.log("\tgot RuntimeException\n\tfailed\n}\n"); throw exRuntime;
         }
         catch (com.sun.star.uno.Exception        exUno    ) { //m_aProtocol.log("\tgot Exception\n\tfailed\n}\n"       );
         }
diff --git a/main/qadevOOo/runner/helper/makefile.mk b/main/qadevOOo/runner/helper/makefile.mk
index 52d82e919d..ec40753bd2 100644
--- a/main/qadevOOo/runner/helper/makefile.mk
+++ b/main/qadevOOo/runner/helper/makefile.mk
@@ -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.
-#  
+#
 #**************************************************************
 
 
diff --git a/main/qadevOOo/runner/lib/makefile.mk b/main/qadevOOo/runner/lib/makefile.mk
index d26c9b4047..cc5b48b930 100644
--- a/main/qadevOOo/runner/lib/makefile.mk
+++ b/main/qadevOOo/runner/lib/makefile.mk
@@ -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.
-#  
+#
 #**************************************************************
 
 
diff --git a/main/qadevOOo/runner/makefile.mk b/main/qadevOOo/runner/makefile.mk
index 8f5a74d135..bcabbee8ff 100644
--- a/main/qadevOOo/runner/makefile.mk
+++ b/main/qadevOOo/runner/makefile.mk
@@ -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.
-#  
+#
 #**************************************************************
 
 
diff --git a/main/qadevOOo/runner/share/makefile.mk b/main/qadevOOo/runner/share/makefile.mk
index 552dfa5042..39a8bbd522 100644
--- a/main/qadevOOo/runner/share/makefile.mk
+++ b/main/qadevOOo/runner/share/makefile.mk
@@ -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.
-#  
+#
 #**************************************************************
 
 
diff --git a/main/qadevOOo/runner/util/compare/makefile.mk b/main/qadevOOo/runner/util/compare/makefile.mk
index 8ef689d85b..b9c79a4e42 100644
--- a/main/qadevOOo/runner/util/compare/makefile.mk
+++ b/main/qadevOOo/runner/util/compare/makefile.mk
@@ -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.
-#  
+#
 #**************************************************************
 
 
diff --git a/main/qadevOOo/runner/util/makefile.mk b/main/qadevOOo/runner/util/makefile.mk
index 1b7160574d..0ed662df5f 100644
--- a/main/qadevOOo/runner/util/makefile.mk
+++ b/main/qadevOOo/runner/util/makefile.mk
@@ -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.
-#  
+#
 #**************************************************************
 
 
diff --git a/main/qadevOOo/tests/java/ifc/i18n/_XCalendar.java b/main/qadevOOo/tests/java/ifc/i18n/_XCalendar.java
index 6c3acd102a..87a733ffbd 100644
--- a/main/qadevOOo/tests/java/ifc/i18n/_XCalendar.java
+++ b/main/qadevOOo/tests/java/ifc/i18n/_XCalendar.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.
- * 
+ *
  *************************************************************/
 
 
@@ -89,7 +89,7 @@ public class _XCalendar extends MultiMethodTest {
         count = new int[installed_locales.length];
         oObj.loadDefaultCalendar(installed_locales[0]);
         aOriginalDTime = oObj.getDateTime();
-        
+
         debug = tParam.getBool("DebugIsActive");
     }
 
@@ -101,7 +101,7 @@ public class _XCalendar extends MultiMethodTest {
         oObj.loadDefaultCalendar(installed_locales[0]);
         oObj.setDateTime(aOriginalDTime);
     }
-    
+
     /**
     * Loads default calendar for different locales. <p>
     * Has <b> OK </b> status if method loads calendar, that is
@@ -246,7 +246,7 @@ public class _XCalendar extends MultiMethodTest {
 
     public void _setDateTime() {
         boolean res = true;
-        
+
         for (int i=0; i<installed_locales.length; i++) {
             String lang = "Language: "+installed_locales[i].Language +
                           ", Country: "+ installed_locales[i].Country +
@@ -316,15 +316,15 @@ public class _XCalendar extends MultiMethodTest {
                                          CalendarFieldIndex.MONTH
             };
             for (int k=0; k<fields.length;k++) {
-                
+
                 oObj.setDateTime(0.0);
-                
+
                 // save the current values for debug purposes
                 short[] oldValues = new short[fields.length];
                 for (int n=0; n < oldValues.length; n++){
                     oldValues[n] = oObj.getValue(fields[n]);
                 }
-                
+
                 short set = oObj.getValue(fields[k]);
                 if (fields[k] == CalendarFieldIndex.MONTH) set = newValue;
                 oObj.setValue(fields[k],set);
@@ -340,7 +340,7 @@ public class _XCalendar extends MultiMethodTest {
                         for (int n=0; n < fields.length;n++){
                             log.println(names[n] + ":" + oObj.getValue(fields[n]));
                         }
-                        
+
                     error += "failed for "+names[k]+" expected "+
                                 set+" gained "+get+" ; \n";
                 }
@@ -535,7 +535,7 @@ public class _XCalendar extends MultiMethodTest {
     */
     public void _isValid() {
         boolean res = true;
-        
+
         oObj.loadDefaultCalendar(installed_locales[0]);
         oObj.setValue(CalendarFieldIndex.MONTH, (short) 37);
         res &= !oObj.isValid();
diff --git a/main/qadevOOo/tests/java/ifc/i18n/_XExtendedCalendar.java b/main/qadevOOo/tests/java/ifc/i18n/_XExtendedCalendar.java
index 34f5b56603..f55e3e811d 100644
--- a/main/qadevOOo/tests/java/ifc/i18n/_XExtendedCalendar.java
+++ b/main/qadevOOo/tests/java/ifc/i18n/_XExtendedCalendar.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.
- * 
+ *
  *************************************************************/
 
 
@@ -60,7 +60,7 @@ public class _XExtendedCalendar extends MultiMethodTest {
         Locale lo = installed_locales[0];
         for (int i=0; i<installed_locales.length; i++) {
             // search for "en" and "US"
-            if (installed_locales[i].Language.equals("en") && 
+            if (installed_locales[i].Language.equals("en") &&
                             installed_locales[i].Country.equals("US")) {
                 lo = installed_locales[i];
                 useUSENLocale = true;
@@ -69,8 +69,8 @@ public class _XExtendedCalendar extends MultiMethodTest {
         log.println("Choose Locale: '" + lo.Language + "', '" + lo.Country + "'");
         oObj.loadDefaultCalendar(lo);
     }
-    
-    
+
+
     public void _getDisplayString() {
         // against regression: the current state is the right one.
         boolean result = true;
@@ -79,13 +79,13 @@ public class _XExtendedCalendar extends MultiMethodTest {
         String[] expectedStringResult = new String[6];
         Calendar cal = new GregorianCalendar();
         Date actualDate = cal.getTime();
-        
+
         SimpleDateFormat sdf = getSDF("yy");
         expectedStringResult[0] = "AD" + sdf.format(actualDate);
-        
+
         sdf = getSDF("yyyy");
         expectedStringResult[1] = "AD" + sdf.format(actualDate);
-        
+
         sdf = getSDF("MM");
         expectedStringResult[2] = sdf.format(actualDate);
 
@@ -97,36 +97,36 @@ public class _XExtendedCalendar extends MultiMethodTest {
         else if (month > 10 && month < 13) {quarter = "Q4"; longQuarter = "4th quarter"; }
         expectedStringResult[3] = quarter;
         expectedStringResult[4] = longQuarter;
-        
+
         sdf = getSDF("MMMM");
         expectedStringResult[5] = sdf.format(actualDate);
-        
+
         displayString[0] = oObj.getDisplayString(CalendarDisplayCode.SHORT_YEAR_AND_ERA, NativeNumberMode.NATNUM0);
         displayString[1] = oObj.getDisplayString(CalendarDisplayCode.LONG_YEAR_AND_ERA, NativeNumberMode.NATNUM0);
         displayString[2] = oObj.getDisplayString(CalendarDisplayCode.LONG_MONTH, NativeNumberMode.NATNUM0);
         displayString[3] = oObj.getDisplayString(CalendarDisplayCode.SHORT_QUARTER, NativeNumberMode.NATNUM0);
         displayString[4] = oObj.getDisplayString(CalendarDisplayCode.LONG_QUARTER, NativeNumberMode.NATNUM0);
         displayString[5] = oObj.getDisplayString(CalendarDisplayCode.LONG_MONTH_NAME, NativeNumberMode.NATNUM0);
-         
+
         for (int i=0; i<displayString.length; i++) {
             boolean locResult = false;
             if (useUSENLocale) {
                 locResult = displayString[i].equals(expectedStringResult[i]);
                 if (!locResult)
-                    log.println("getDisplayString() result " + i + ": '" + displayString[i] 
+                    log.println("getDisplayString() result " + i + ": '" + displayString[i]
                                         + "', expected: '" + expectedStringResult[i] + "'");
                 result &= locResult;
             }
             else { // no defaults for other locales, just expect a String
                 locResult &= displayString[i] != null;
                 if (!locResult)
-                    log.println("getDisplayString() result " + i + " was 'null'"); 
+                    log.println("getDisplayString() result " + i + " was 'null'");
                 result &= locResult;
             }
         }
         tRes.tested("getDisplayString()", result);
     }
-    
+
     private SimpleDateFormat getSDF(String format){
         if (useUSENLocale) return new SimpleDateFormat(format, java.util.Locale.US);
         return new SimpleDateFormat(format);
diff --git a/main/qadevOOo/tests/java/ifc/i18n/_XExtendedIndexEntrySupplier.java b/main/qadevOOo/tests/java/ifc/i18n/_XExtendedIndexEntrySupplier.java
index 40214c846a..8731ce8cfa 100644
--- a/main/qadevOOo/tests/java/ifc/i18n/_XExtendedIndexEntrySupplier.java
+++ b/main/qadevOOo/tests/java/ifc/i18n/_XExtendedIndexEntrySupplier.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.
- * 
+ *
  *************************************************************/
 
 
@@ -44,7 +44,7 @@ public class _XExtendedIndexEntrySupplier extends MultiMethodTest {
         short result1 = oObj.compareIndexEntry(val1, "", locale, val1, "", locale);
         short result2 = oObj.compareIndexEntry(val1, "", locale, val2, "", locale);
         short result3 = oObj.compareIndexEntry(val2, "", locale, val1, "", locale);
-        
+
         tRes.tested("compareIndexEntry()", result1 == 0 && result2 + result3 == 0);
     }
 
@@ -56,21 +56,21 @@ public class _XExtendedIndexEntrySupplier extends MultiMethodTest {
         requiredMethod("getLocaleList()");
 
         boolean result = true;
-        boolean locResult = false; 
-        
+        boolean locResult = false;
+
         for (int i = 0; i < locales.length; i++) {
             String[] algNames = oObj.getAlgorithmList(locales[i]);
             algorithms.put(new Integer(i), algNames);
 
             locResult = algNames != null && algNames.length > 0;
             System.out.println("Locale " + i + ": " + locales[i].Country+","+locales[i].Language);
-            
+
             for (int j=0; j<algNames.length; j++) {
                 System.out.println("\tAlgorithm " + j + ": " + algNames[j]);
             }
-            
+
             if (!locResult) {
-                log.println("No Algorithm found for " + locales[i].Country + 
+                log.println("No Algorithm found for " + locales[i].Country +
                             "," + locales[i].Language);
             }
 
@@ -90,10 +90,10 @@ public class _XExtendedIndexEntrySupplier extends MultiMethodTest {
             for (int j = 0; j < algorithms.size(); j++) {
                 String[] algs = (String[])algorithms.get(new Integer(j));
                 for (int k=0;k<algs.length;k++) {
-                log.println("\t Algorithm :" + 
+                log.println("\t Algorithm :" +
                             algs[k]);
                 oObj.loadAlgorithm(locales[i], algs[k], CollatorOptions.CollatorOptions_IGNORE_CASE);
-                log.println("\t\t Get: " + 
+                log.println("\t\t Get: " +
                             oObj.getIndexKey(getIndexFor, "", locales[i]));
                 }
             }
@@ -119,8 +119,8 @@ public class _XExtendedIndexEntrySupplier extends MultiMethodTest {
         boolean res = true;
 
         Locale loc = new Locale("zh", "CN", "");
-        
-        for (int i = 0;i<UnicodeStringPair.getValCount();i++) {             
+
+        for (int i = 0;i<UnicodeStringPair.getValCount();i++) {
 
             char[] c = new char[]{UnicodeStringPair.getUnicodeValue(i)};
 
@@ -140,8 +140,8 @@ public class _XExtendedIndexEntrySupplier extends MultiMethodTest {
     }
 
     /*
-     * loads all algorithms available in all language. 
-     * Is OK if no exception occurs and the method returns 
+     * loads all algorithms available in all language.
+     * Is OK if no exception occurs and the method returns
      * true for each valid algorithm and false otherwise
      */
     public void _loadAlgorithm() {
@@ -151,13 +151,13 @@ public class _XExtendedIndexEntrySupplier extends MultiMethodTest {
 
         for (int i = 0; i < algorithms.size(); i++) {
             String[] names = (String[]) algorithms.get(new Integer(i));
-            log.println("loading algorithms for " + locales[i].Country + 
+            log.println("loading algorithms for " + locales[i].Country +
                         "," + locales[i].Language);
 
             for (int j = 0; j < names.length; j++) {
                 log.println("\t Loading " + names[j]);
 
-                boolean localres = oObj.loadAlgorithm(locales[i], names[j], 
+                boolean localres = oObj.loadAlgorithm(locales[i], names[j],
                                                       CollatorOptions.CollatorOptions_IGNORE_CASE);
 
                 if (!localres) {
@@ -171,7 +171,7 @@ public class _XExtendedIndexEntrySupplier extends MultiMethodTest {
 
 /*            log.println("\tTrying to load 'dummy' algorithm");
 
-            boolean localres = !oObj.loadAlgorithm(locales[i], "dummy", 
+            boolean localres = !oObj.loadAlgorithm(locales[i], "dummy",
                                                    CollatorOptions.CollatorOptions_IGNORE_WIDTH);
 
             if (!localres) {
@@ -187,7 +187,7 @@ public class _XExtendedIndexEntrySupplier extends MultiMethodTest {
     }
 
     /*
-     * checks the method usePhoneticEntry(). Only the languages ja, ko and zh 
+     * checks the method usePhoneticEntry(). Only the languages ja, ko and zh
      * should return true. Has OK state if exactly this is the case.
      */
     public void _usePhoneticEntry() {
@@ -198,8 +198,8 @@ public class _XExtendedIndexEntrySupplier extends MultiMethodTest {
         for (int i = 0; i < locales.length; i++) {
             boolean expected = false;
 
-            if (locales[i].Language.equals("ja") || 
-                    locales[i].Language.equals("ko") || 
+            if (locales[i].Language.equals("ja") ||
+                    locales[i].Language.equals("ko") ||
                     locales[i].Language.equals("zh")) {
                 expected = true;
             }
@@ -217,7 +217,7 @@ public class _XExtendedIndexEntrySupplier extends MultiMethodTest {
 
         tRes.tested("usePhoneticEntry()", res);
     }
-    
+
     /**
      * Helper class to handle the phonetic equivalence of unicode characters
      * This class delivers an amount of unicode characters and the equivalent phonetics
@@ -227,27 +227,27 @@ public class _XExtendedIndexEntrySupplier extends MultiMethodTest {
         final static int valCount = 78;
         static String[] sStringEquivalence = null;
         static char[] iUnicodeEquivalence = null;
-         
+
         static {
             sStringEquivalence = new String[valCount];
             iUnicodeEquivalence = new char[valCount];
             fillValues();
         }
-        
+
         public static int getValCount() {
             return valCount;
         }
-        
+
         public static String getExpectedPhoneticString(int index) {
             if (index >= valCount) return null;
             return sStringEquivalence[index];
         }
-        
+
         public static char getUnicodeValue(int index) {
             if (index > valCount) return 0;
             return iUnicodeEquivalence[index];
         }
-        
+
         private static void fillValues() {
             iUnicodeEquivalence[0] = 20049; sStringEquivalence[0] = "zhong";
             iUnicodeEquivalence[1] = 19968; sStringEquivalence[1] = "yi";
diff --git a/main/qadevOOo/tests/java/ifc/i18n/_XExtendedTransliteration.java b/main/qadevOOo/tests/java/ifc/i18n/_XExtendedTransliteration.java
index 35e82987b7..c12d8893d2 100644
--- a/main/qadevOOo/tests/java/ifc/i18n/_XExtendedTransliteration.java
+++ b/main/qadevOOo/tests/java/ifc/i18n/_XExtendedTransliteration.java
@@ -34,7 +34,7 @@ public class _XExtendedTransliteration extends MultiMethodTest {
     public XExtendedTransliteration oObj = null;
 //    private Locale loc = new Locale("ja", "JP", "") ;
     private Locale loc = new Locale("en", "US", "") ;
-    
+
     public void before() {
         oObj.loadModule(TransliterationModules.LOWERCASE_UPPERCASE, loc);
     }
diff --git a/main/qadevOOo/tests/java/mod/_i18n/BreakIterator.java b/main/qadevOOo/tests/java/mod/_i18n/BreakIterator.java
index b669ca3478..a81d3ff2a2 100644
--- a/main/qadevOOo/tests/java/mod/_i18n/BreakIterator.java
+++ b/main/qadevOOo/tests/java/mod/_i18n/BreakIterator.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.
- * 
+ *
  *************************************************************/
 
 
diff --git a/main/qadevOOo/tests/java/mod/_i18n/CalendarImpl.java b/main/qadevOOo/tests/java/mod/_i18n/CalendarImpl.java
index 82c37e6930..6d3c29a213 100644
--- a/main/qadevOOo/tests/java/mod/_i18n/CalendarImpl.java
+++ b/main/qadevOOo/tests/java/mod/_i18n/CalendarImpl.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.
- * 
+ *
  *************************************************************/
 
 
diff --git a/main/qadevOOo/tests/java/mod/_i18n/ChapterCollator.java b/main/qadevOOo/tests/java/mod/_i18n/ChapterCollator.java
index 18f97b853d..8a8c041a6d 100644
--- a/main/qadevOOo/tests/java/mod/_i18n/ChapterCollator.java
+++ b/main/qadevOOo/tests/java/mod/_i18n/ChapterCollator.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.
- * 
+ *
  *************************************************************/
 
 
diff --git a/main/qadevOOo/tests/java/mod/_i18n/CharacterClassification.java b/main/qadevOOo/tests/java/mod/_i18n/CharacterClassification.java
index f8285dcf6b..647eb3e11f 100644
--- a/main/qadevOOo/tests/java/mod/_i18n/CharacterClassification.java
+++ b/main/qadevOOo/tests/java/mod/_i18n/CharacterClassification.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.
- * 
+ *
  *************************************************************/
 
 
diff --git a/main/qadevOOo/tests/java/mod/_i18n/Collator.java b/main/qadevOOo/tests/java/mod/_i18n/Collator.java
index 5160853977..b04e52d3b8 100644
--- a/main/qadevOOo/tests/java/mod/_i18n/Collator.java
+++ b/main/qadevOOo/tests/java/mod/_i18n/Collator.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.
- * 
+ *
  *************************************************************/
 
 
diff --git a/main/qadevOOo/tests/java/mod/_i18n/IndexEntrySupplier.java b/main/qadevOOo/tests/java/mod/_i18n/IndexEntrySupplier.java
index dddd262e79..5b0f69b636 100644
--- a/main/qadevOOo/tests/java/mod/_i18n/IndexEntrySupplier.java
+++ b/main/qadevOOo/tests/java/mod/_i18n/IndexEntrySupplier.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.
- * 
+ *
  *************************************************************/
 
 
diff --git a/main/qadevOOo/tests/java/mod/_i18n/LocaleData.java b/main/qadevOOo/tests/java/mod/_i18n/LocaleData.java
index dfd61bd72b..ad0efe170c 100644
--- a/main/qadevOOo/tests/java/mod/_i18n/LocaleData.java
+++ b/main/qadevOOo/tests/java/mod/_i18n/LocaleData.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.
- * 
+ *
  *************************************************************/
 
 
diff --git a/main/qadevOOo/tests/java/mod/_i18n/NumberFormatCodeMapper.java b/main/qadevOOo/tests/java/mod/_i18n/NumberFormatCodeMapper.java
index 850a718cfa..14e8914d8e 100644
--- a/main/qadevOOo/tests/java/mod/_i18n/NumberFormatCodeMapper.java
+++ b/main/qadevOOo/tests/java/mod/_i18n/NumberFormatCodeMapper.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.
- * 
+ *
  *************************************************************/
 
 
diff --git a/main/qadevOOo/tests/java/mod/_i18n/TextSearch.java b/main/qadevOOo/tests/java/mod/_i18n/TextSearch.java
index 1d7e35083b..d28875bae8 100644
--- a/main/qadevOOo/tests/java/mod/_i18n/TextSearch.java
+++ b/main/qadevOOo/tests/java/mod/_i18n/TextSearch.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.
- * 
+ *
  *************************************************************/
 
 
diff --git a/main/qadevOOo/tests/java/mod/_i18n/Transliteration.java b/main/qadevOOo/tests/java/mod/_i18n/Transliteration.java
index 2ef4971f1f..2e2d6a6178 100644
--- a/main/qadevOOo/tests/java/mod/_i18n/Transliteration.java
+++ b/main/qadevOOo/tests/java/mod/_i18n/Transliteration.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.
- * 
+ *
  *************************************************************/
 
 
diff --git a/main/reportdesign/qa/complex/reportdesign/ReportDesignerTest.java b/main/reportdesign/qa/complex/reportdesign/ReportDesignerTest.java
index 7910cb1ac2..e8a6e11977 100644
--- a/main/reportdesign/qa/complex/reportdesign/ReportDesignerTest.java
+++ b/main/reportdesign/qa/complex/reportdesign/ReportDesignerTest.java
@@ -58,15 +58,15 @@ import convwatch.DB;
 // import java.text.SimpleDateFormat;
 // import java.text.ParsePosition;
 // import java.sql.Time;
-// 
+//
 // import java.io.BufferedReader;
 // import java.io.File;
 // import java.io.FileReader;
 // import java.io.IOException;
 // import java.io.FilenameFilter;
-// 
+//
 // import java.util.Vector;
-// 
+//
 // import helper.AppProvider;
 // import java.text.DecimalFormat;
 // import util.DynamicClassLoader;
diff --git a/main/ridljar/test/makefile.mk b/main/ridljar/test/makefile.mk
index 381b4b1f90..b8e79fa195 100644
--- a/main/ridljar/test/makefile.mk
+++ b/main/ridljar/test/makefile.mk
@@ -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.
-#  
+#
 #**************************************************************
 
 
diff --git a/main/rsc/inc/vclrsc.hxx b/main/rsc/inc/vclrsc.hxx
index 4b949dbde7..e0199d9f8d 100644
--- a/main/rsc/inc/vclrsc.hxx
+++ b/main/rsc/inc/vclrsc.hxx
@@ -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.
- * 
+ *
  *************************************************************/
 
 
diff --git a/main/sal/systools/win32/uwinapi/sntprintf.c b/main/sal/systools/win32/uwinapi/sntprintf.c
index c88cdf2874..f46ee676af 100644
--- a/main/sal/systools/win32/uwinapi/sntprintf.c
+++ b/main/sal/systools/win32/uwinapi/sntprintf.c
@@ -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.
- * 
+ *
  *************************************************************/
 
 #define _SNPRINTF_DLLIMPORT __declspec( dllexport )
diff --git a/main/sc/README.md b/main/sc/README.md
index d64dc2646f..1831e060ee 100644
--- a/main/sc/README.md
+++ b/main/sc/README.md
@@ -1 +1,20 @@
+<!--
+ 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
+ regarding copyright ownership.  The ASF licenses this file
+ 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.
+-->
+
 # Calc
diff --git a/main/sc/qa/complex/cellRanges/CheckXCellRangesQuery.java b/main/sc/qa/complex/cellRanges/CheckXCellRangesQuery.java
index fb8d7b388d..93041d3f3a 100644
--- a/main/sc/qa/complex/cellRanges/CheckXCellRangesQuery.java
+++ b/main/sc/qa/complex/cellRanges/CheckXCellRangesQuery.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.
- * 
+ *
  *************************************************************/
 
 
@@ -53,7 +53,7 @@ import org.openoffice.test.OfficeConnection;
 import static org.junit.Assert.*;
 
 /**
- * Check the XCellRangesQuery interface on the SheetCell service. test was 
+ * Check the XCellRangesQuery interface on the SheetCell service. test was
  * created for bug i20044.
  */
 public class CheckXCellRangesQuery /* extends ComplexTestCase */ {
@@ -70,7 +70,7 @@ public class CheckXCellRangesQuery /* extends ComplexTestCase */ {
 //     }
 
     /**
-    * Creates Spreadsheet document and the test object, 
+    * Creates Spreadsheet document and the test object,
     * before the actual test starts.
     */
     @Before public void before() {
@@ -92,7 +92,7 @@ public class CheckXCellRangesQuery /* extends ComplexTestCase */ {
         try {
             System.out.println("Getting spreadsheet") ;
             XSpreadsheets oSheets = m_xSheetDoc.getSheets() ;
-            XIndexAccess oIndexSheets = 
+            XIndexAccess oIndexSheets =
             UnoRuntime.queryInterface(XIndexAccess.class, oSheets);
             m_xSpreadSheet = (XSpreadsheet) AnyConverter.toObject(
                     new Type(XSpreadsheet.class),oIndexSheets.getByIndex(0));
@@ -160,7 +160,7 @@ public class CheckXCellRangesQuery /* extends ComplexTestCase */ {
         {
             closeSpreadsheetDocument();
         }
-    
+
     /**
      * Perform some tests on an empty cell:
      * <ol>
diff --git a/main/sc/qa/complex/sc/CalcRTL.java b/main/sc/qa/complex/sc/CalcRTL.java
index db95b42cc3..e6bc500099 100644
--- a/main/sc/qa/complex/sc/CalcRTL.java
+++ b/main/sc/qa/complex/sc/CalcRTL.java
@@ -81,7 +81,7 @@ public class CalcRTL /* extends ComplexTestCase */
      */
 //     public String[] getTestMethodNames() {
 //         return new String[] {
-//             "checkSpreadsheetProperties", "checkShapeProperties", 
+//             "checkSpreadsheetProperties", "checkShapeProperties",
 //             "checkInfluenceOfSpreadsheetChange"
 //         };
 //     }
diff --git a/main/sd/README.md b/main/sd/README.md
index 3d000f38ba..1302134c40 100644
--- a/main/sd/README.md
+++ b/main/sd/README.md
@@ -1 +1,20 @@
+<!--
+ 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
+ regarding copyright ownership.  The ASF licenses this file
+ 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.
+-->
+
 # Draw / Impress
diff --git a/main/solenv/gbuild/Library.mk b/main/solenv/gbuild/Library.mk
index 42c78fda2b..d58d5da65d 100644
--- a/main/solenv/gbuild/Library.mk
+++ b/main/solenv/gbuild/Library.mk
@@ -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.
-#  
+#
 #**************************************************************
 
 
@@ -45,7 +45,7 @@ $(WORKDIR)/Clean/OutDir/lib/%$(gb_Library_PLAINEXT) :
 			$(AUXTARGETS))
 
 # EVIL: gb_StaticLibrary and gb_Library need the same deliver rule because they are indistinguishable on windows
-$(gb_Library_OUTDIRLOCATION)/%$(gb_Library_PLAINEXT) : 
+$(gb_Library_OUTDIRLOCATION)/%$(gb_Library_PLAINEXT) :
 	$(call gb_Helper_abbreviate_dirs,\
 		$(call gb_Deliver_deliver,$<,$@) \
 			$(foreach target,$(AUXTARGETS), && $(call gb_Deliver_deliver,$(dir $<)/$(notdir $(target)),$(target))))
diff --git a/main/sot/qa/complex/olesimplestorage/OLESimpleStorageUnitTest.java b/main/sot/qa/complex/olesimplestorage/OLESimpleStorageUnitTest.java
index af56d3ac8c..8970a53e9b 100644
--- a/main/sot/qa/complex/olesimplestorage/OLESimpleStorageUnitTest.java
+++ b/main/sot/qa/complex/olesimplestorage/OLESimpleStorageUnitTest.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.
- * 
+ *
  *************************************************************/
 
 
@@ -40,7 +40,7 @@ import static org.junit.Assert.*;
 public class OLESimpleStorageUnitTest /* extends ComplexTestCase */
 {
     private XMultiServiceFactory m_xMSF = null;
-    
+
 //    public String[] getTestMethodNames() {
 //        return new String[] {
 //            "ExecuteTest01"};
@@ -61,12 +61,12 @@ public class OLESimpleStorageUnitTest /* extends ComplexTestCase */
             fail( "Cannot create service factory!" );
         }
     }
-    
+
     @After public void after () {
         System.out.println("after()");
         m_xMSF = null;
     }
-    
+
     @Test public void ExecuteTest01() {
         System.out.println("ExecuteTest01()");
         OLESimpleStorageTest aTest = new Test01( m_xMSF );
@@ -103,4 +103,4 @@ public class OLESimpleStorageUnitTest /* extends ComplexTestCase */
 
     private static final OfficeConnection connection = new OfficeConnection();
 
-}
\ No newline at end of file
+}
diff --git a/main/starmath/README.md b/main/starmath/README.md
index 89d2323034..b76c4c7ad0 100644
--- a/main/starmath/README.md
+++ b/main/starmath/README.md
@@ -1 +1,20 @@
+<!--
+ 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
+ regarding copyright ownership.  The ASF licenses this file
+ 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.
+-->
+
 # Math
diff --git a/main/starmath/source/toolbox.hrc b/main/starmath/source/toolbox.hrc
index 256779d534..1648cf72c5 100644
--- a/main/starmath/source/toolbox.hrc
+++ b/main/starmath/source/toolbox.hrc
@@ -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.
- * 
+ *
  *************************************************************/
 
 
@@ -39,4 +39,3 @@
 #define NUM_TBX_CATEGORIES  (TOOLBOX_CAT_I - TOOLBOX_CAT_A + 1)
 
 #endif
-
diff --git a/main/svx/source/dialog/language.src b/main/svx/source/dialog/language.src
index 96c64f4548..bb90c82ee8 100644
--- a/main/svx/source/dialog/language.src
+++ b/main/svx/source/dialog/language.src
@@ -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.
- * 
+ *
  *************************************************************/
 
 
@@ -33,30 +33,3 @@ String RID_SVXSTR_LANGUAGE_ALL
 };
 
  // ********************************************************************** EOF
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/main/sw/README.md b/main/sw/README.md
index 8e619c484b..3b8eab3fa5 100644
--- a/main/sw/README.md
+++ b/main/sw/README.md
@@ -1 +1,20 @@
+<!--
+ 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
+ regarding copyright ownership.  The ASF licenses this file
+ 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.
+-->
+
 # Writer
diff --git a/main/sw/source/ui/dbui/maildispatcher.cxx b/main/sw/source/ui/dbui/maildispatcher.cxx
index 4d8690b5d7..7a7f23a81f 100644
--- a/main/sw/source/ui/dbui/maildispatcher.cxx
+++ b/main/sw/source/ui/dbui/maildispatcher.cxx
@@ -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.
- * 
+ *
  *************************************************************/
 
 
@@ -36,30 +36,30 @@ typedef std::list< ::rtl::Reference<IMailDispatcherListener> > MailDispatcherLis
 
 namespace /* private */
 {
-    /* Generic event notifier for started, 
-       stopped, and idle events which are 
+    /* Generic event notifier for started,
+       stopped, and idle events which are
        very similary */
     class GenericEventNotifier
     {
     public:
         // pointer to virtual function typedef
         typedef void (IMailDispatcherListener::*GenericNotificationFunc_t)(::rtl::Reference<MailDispatcher>);
-        
+
         GenericEventNotifier(
-            GenericNotificationFunc_t notification_function, 
+            GenericNotificationFunc_t notification_function,
             ::rtl::Reference<MailDispatcher> mail_dispatcher) :
             notification_function_(notification_function),
             mail_dispatcher_(mail_dispatcher)
         {}
-        
+
         void operator() (::rtl::Reference<IMailDispatcherListener> listener) const
         { (listener.get()->*notification_function_)(mail_dispatcher_); }
-                        
+
     private:
         GenericNotificationFunc_t notification_function_;
         ::rtl::Reference<MailDispatcher> mail_dispatcher_;
     };
-                                           
+
     class MailDeliveryNotifier
     {
     public:
@@ -67,78 +67,78 @@ namespace /* private */
             mail_dispatcher_(xMailDispatcher),
             message_(message)
         {}
-        
+
         void operator() (::rtl::Reference<IMailDispatcherListener> listener) const
-        { listener->mailDelivered(mail_dispatcher_, message_); }        
-        
+        { listener->mailDelivered(mail_dispatcher_, message_); }
+
     private:
         ::rtl::Reference<MailDispatcher> mail_dispatcher_;
         uno::Reference<mail::XMailMessage> message_;
     };
-    
+
     class MailDeliveryErrorNotifier
     {
     public:
         MailDeliveryErrorNotifier(
             ::rtl::Reference<MailDispatcher> xMailDispatcher,
-            uno::Reference<mail::XMailMessage> message, 
-            const ::rtl::OUString& error_message) : 
+            uno::Reference<mail::XMailMessage> message,
+            const ::rtl::OUString& error_message) :
             mail_dispatcher_(xMailDispatcher),
             message_(message),
             error_message_(error_message)
         {}
-        
+
         void operator() (::rtl::Reference<IMailDispatcherListener> listener) const
         { listener->mailDeliveryError(mail_dispatcher_, message_, error_message_); }
-                
+
     private:
         ::rtl::Reference<MailDispatcher> mail_dispatcher_;
         uno::Reference<mail::XMailMessage> message_;
         ::rtl::OUString error_message_;
     };
-    
+
 } // namespace private
 
-    
+
 MailDispatcher::MailDispatcher(uno::Reference<mail::XSmtpService> mailserver) :
     mailserver_ (mailserver),
-    run_(false),    
+    run_(false),
     shutdown_requested_(false)
-{            
+{
     wakening_call_.reset();
     mail_dispatcher_active_.reset();
-    
-    if (!create())        
-        throw uno::RuntimeException();   
-    
-    // wait until the mail dispatcher thread is really alive    
-    // and has acquired a reference to this instance of the 
-    // class    
-    mail_dispatcher_active_.wait();                                             
+
+    if (!create())
+        throw uno::RuntimeException();
+
+    // wait until the mail dispatcher thread is really alive
+    // and has acquired a reference to this instance of the
+    // class
+    mail_dispatcher_active_.wait();
 }
 
 MailDispatcher::~MailDispatcher()
-{    
+{
 }
 
 void MailDispatcher::enqueueMailMessage(uno::Reference<mail::XMailMessage> message)
-{   
-    ::osl::MutexGuard thread_status_guard(thread_status_mutex_);     
+{
+    ::osl::MutexGuard thread_status_guard(thread_status_mutex_);
     ::osl::MutexGuard message_container_guard(message_container_mutex_);
-    
+
     OSL_PRECOND(!shutdown_requested_, "MailDispatcher thread is shuting down already");
-        
-    messages_.push_back(message);                    
+
+    messages_.push_back(message);
     if (run_)
-        wakening_call_.set();             
+        wakening_call_.set();
 }
 
 uno::Reference<mail::XMailMessage> MailDispatcher::dequeueMailMessage()
-{        
+{
     ::osl::MutexGuard guard(message_container_mutex_);
     uno::Reference<mail::XMailMessage> message;
     if(!messages_.empty())
-    {        
+    {
         message = messages_.front();
         messages_.pop_front();
     }
@@ -146,51 +146,51 @@ uno::Reference<mail::XMailMessage> MailDispatcher::dequeueMailMessage()
 }
 
 void MailDispatcher::start()
-{            
-    OSL_PRECOND(!isStarted(), "MailDispatcher is already started!");    
-    
-    ::osl::ClearableMutexGuard thread_status_guard(thread_status_mutex_);        
-        
+{
+    OSL_PRECOND(!isStarted(), "MailDispatcher is already started!");
+
+    ::osl::ClearableMutexGuard thread_status_guard(thread_status_mutex_);
+
     OSL_PRECOND(!shutdown_requested_, "MailDispatcher thread is shuting down already");
-    
+
     if (!shutdown_requested_)
     {
         run_ = true;
         wakening_call_.set();
         thread_status_guard.clear();
-        
-        MailDispatcherListenerContainer_t listeners_cloned(cloneListener());    
-        std::for_each(listeners_cloned.begin(), listeners_cloned.end(), GenericEventNotifier(&IMailDispatcherListener::started, this));        
-    }        
+
+        MailDispatcherListenerContainer_t listeners_cloned(cloneListener());
+        std::for_each(listeners_cloned.begin(), listeners_cloned.end(), GenericEventNotifier(&IMailDispatcherListener::started, this));
+    }
 }
 
 void MailDispatcher::stop()
 {
-    OSL_PRECOND(isStarted(), "MailDispatcher not started!");    
-    
-    ::osl::ClearableMutexGuard thread_status_guard(thread_status_mutex_);                
-        
+    OSL_PRECOND(isStarted(), "MailDispatcher not started!");
+
+    ::osl::ClearableMutexGuard thread_status_guard(thread_status_mutex_);
+
     OSL_PRECOND(!shutdown_requested_, "MailDispatcher thread is shuting down already");
-    
+
     if (!shutdown_requested_)
     {
         run_ = false;
         wakening_call_.reset();
         thread_status_guard.clear();
-        
-        MailDispatcherListenerContainer_t listeners_cloned(cloneListener());    
-        std::for_each(listeners_cloned.begin(), listeners_cloned.end(), GenericEventNotifier(&IMailDispatcherListener::stopped, this));   
+
+        MailDispatcherListenerContainer_t listeners_cloned(cloneListener());
+        std::for_each(listeners_cloned.begin(), listeners_cloned.end(), GenericEventNotifier(&IMailDispatcherListener::stopped, this));
     }
 }
 
 void MailDispatcher::shutdown()
-{        
-    ::osl::MutexGuard thread_status_guard(thread_status_mutex_);            
-    
+{
+    ::osl::MutexGuard thread_status_guard(thread_status_mutex_);
+
     OSL_PRECOND(!shutdown_requested_, "MailDispatcher thread is shuting down already");
-    
+
     shutdown_requested_ = true;
-    wakening_call_.set();        
+    wakening_call_.set();
 }
 
 bool MailDispatcher::isStarted() const
@@ -201,7 +201,7 @@ bool MailDispatcher::isStarted() const
 void MailDispatcher::addListener(::rtl::Reference<IMailDispatcherListener> listener)
 {
     OSL_PRECOND(!shutdown_requested_, "MailDispatcher thread is shuting down already");
-    
+
     ::osl::MutexGuard guard(listener_container_mutex_);
     listeners_.push_back(listener);
 }
@@ -209,7 +209,7 @@ void MailDispatcher::addListener(::rtl::Reference<IMailDispatcherListener> liste
 void MailDispatcher::removeListener(::rtl::Reference<IMailDispatcherListener> listener)
 {
     OSL_PRECOND(!shutdown_requested_, "MailDispatcher thread is shuting down already");
-    
+
     ::osl::MutexGuard guard(listener_container_mutex_);
     listeners_.remove(listener);
 }
@@ -224,69 +224,69 @@ void MailDispatcher::sendMailMessageNotifyListener(uno::Reference<mail::XMailMes
 {
     try
     {
-        mailserver_->sendMailMessage(message);                        
-        MailDispatcherListenerContainer_t listeners_cloned(cloneListener());            
-        std::for_each(listeners_cloned.begin(), listeners_cloned.end(), MailDeliveryNotifier(this, message));                   
+        mailserver_->sendMailMessage(message);
+        MailDispatcherListenerContainer_t listeners_cloned(cloneListener());
+        std::for_each(listeners_cloned.begin(), listeners_cloned.end(), MailDeliveryNotifier(this, message));
     }
     catch (mail::MailException& ex)
-    {            
-        MailDispatcherListenerContainer_t listeners_cloned(cloneListener());            
-        std::for_each(listeners_cloned.begin(), listeners_cloned.end(), MailDeliveryErrorNotifier(this, message, ex.Message));                   
+    {
+        MailDispatcherListenerContainer_t listeners_cloned(cloneListener());
+        std::for_each(listeners_cloned.begin(), listeners_cloned.end(), MailDeliveryErrorNotifier(this, message, ex.Message));
     }
     catch (uno::RuntimeException& ex)
-    {   
-        MailDispatcherListenerContainer_t listeners_cloned(cloneListener());            
-        std::for_each(listeners_cloned.begin(), listeners_cloned.end(), MailDeliveryErrorNotifier(this, message, ex.Message));                   
+    {
+        MailDispatcherListenerContainer_t listeners_cloned(cloneListener());
+        std::for_each(listeners_cloned.begin(), listeners_cloned.end(), MailDeliveryErrorNotifier(this, message, ex.Message));
     }
 }
 
 void MailDispatcher::run()
-{    
+{
     // acquire a self reference in order to avoid race
     // conditions. The last client of this class must
-    // call shutdown before releasing his last reference 
+    // call shutdown before releasing his last reference
     // to this class in order to shutdown this thread
     // which will release his (the very last reference
-    // to the class and so force their destruction        
-    m_xSelfReference = this; 
-    
+    // to the class and so force their destruction
+    m_xSelfReference = this;
+
     // signal that the mail dispatcher thread is now alive
     mail_dispatcher_active_.set();
-    
+
     for(;;)
-    {       
+    {
         wakening_call_.wait();
-                                                                                                                            
-        ::osl::ClearableMutexGuard thread_status_guard(thread_status_mutex_);        
+
+        ::osl::ClearableMutexGuard thread_status_guard(thread_status_mutex_);
         if (shutdown_requested_)
            break;
-    
+
         ::osl::ClearableMutexGuard message_container_guard(message_container_mutex_);
-                   
+
         if (messages_.size())
-        {   
-            thread_status_guard.clear();         
+        {
+            thread_status_guard.clear();
             uno::Reference<mail::XMailMessage> message = messages_.front();
             messages_.pop_front();
             message_container_guard.clear();
             sendMailMessageNotifyListener(message);
         }
-        else // idle - put ourself to sleep 
+        else // idle - put ourself to sleep
         {
             wakening_call_.reset();
             message_container_guard.clear();
             thread_status_guard.clear();
-            MailDispatcherListenerContainer_t listeners_cloned(cloneListener());    
-            std::for_each(listeners_cloned.begin(), listeners_cloned.end(), GenericEventNotifier(&IMailDispatcherListener::idle, this));               
-        }                                                    
+            MailDispatcherListenerContainer_t listeners_cloned(cloneListener());
+            std::for_each(listeners_cloned.begin(), listeners_cloned.end(), GenericEventNotifier(&IMailDispatcherListener::idle, this));
+        }
     } // end for        SSH ALI
 }
 /*-- 27.08.2004 12:04:46---------------------------------------------------
 
   -----------------------------------------------------------------------*/
-void MailDispatcher::onTerminated() 
+void MailDispatcher::onTerminated()
 {
-    //keep the reference until the end of onTerminated() because of the call order in the 
+    //keep the reference until the end of onTerminated() because of the call order in the
     //_threadFunc() from osl/thread.hxx
     m_xSelfReference = 0;
 }
diff --git a/main/sw/source/ui/docvw/PostItMgr.cxx b/main/sw/source/ui/docvw/PostItMgr.cxx
index d5cc9ec701..79ef92d2ab 100644
--- a/main/sw/source/ui/docvw/PostItMgr.cxx
+++ b/main/sw/source/ui/docvw/PostItMgr.cxx
@@ -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.
- * 
+ *
  *************************************************************/
 
 
@@ -1634,13 +1634,13 @@ void SwPostItMgr::CorrectPositions()
 
     // yeah, I know,    if this is a left page it could be wrong, but finding the page and the note is probably not even faster than just doing it
     // --> OD 2010-06-03 #i111964# - check, if anchor overlay object exists.
-    const long aAnchorX = pFirstPostIt->Anchor() 
+    const long aAnchorX = pFirstPostIt->Anchor()
                           ? mpEditWin->LogicToPixel( Point((long)(pFirstPostIt->Anchor()->GetSixthPosition().getX()),0)).X()
                           : 0;
-    const long aAnchorY = pFirstPostIt->Anchor() 
+    const long aAnchorY = pFirstPostIt->Anchor()
                           ? mpEditWin->LogicToPixel( Point(0,(long)(pFirstPostIt->Anchor()->GetSixthPosition().getY()))).Y() + 1
                           : 0;
-    // <-- 
+    // <--
     if (Point(aAnchorX,aAnchorY) != pFirstPostIt->GetPosPixel())
     {
         long aAnchorPosX = 0;
diff --git a/main/sw/source/ui/docvw/SidebarWin.cxx b/main/sw/source/ui/docvw/SidebarWin.cxx
index 2b2cdd87e9..13f332fae8 100644
--- a/main/sw/source/ui/docvw/SidebarWin.cxx
+++ b/main/sw/source/ui/docvw/SidebarWin.cxx
@@ -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.
- * 
+ *
  *************************************************************/
 
 
@@ -572,7 +572,7 @@ void SwSidebarWin::SetPosAndSize()
             }
             SwSidebarWin* pWin = GetTopReplyNote();
             if ( pWin && pWin->Anchor() )
-            {        
+            {
                 pWin->Anchor()->SetAnchorState(AS_END);
             }
         }
@@ -1214,8 +1214,8 @@ void SwSidebarWin::SetViewState(ViewState bViewState)
                 SwSidebarWin* pWin = GetTopReplyNote();
                 // --> OD 2010-06-03 #i111964#
                 if ( pWin && pWin->Anchor() )
-                // <--                        
-                {        
+                // <--
+                {
                     pWin->Anchor()->SetAnchorState(AS_END);
                 }
                 mpAnchor->setLineSolid(true);
@@ -1276,7 +1276,7 @@ void SwSidebarWin::SetViewState(ViewState bViewState)
                 }
             }
             if ( mpShadow )
-            {        
+            {
                 mpShadow->SetShadowState(SS_NORMAL);
             }
             break;
diff --git a/main/sw/source/ui/docvw/edtdd.cxx b/main/sw/source/ui/docvw/edtdd.cxx
index ed3f17275c..a1eba6a663 100644
--- a/main/sw/source/ui/docvw/edtdd.cxx
+++ b/main/sw/source/ui/docvw/edtdd.cxx
@@ -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.
- * 
+ *
  *************************************************************/
 
 
@@ -520,6 +520,3 @@ IMPL_LINK( SwEditWin, DDHandler, Timer *, EMPTYARG )
 	}
 	return 0;
 }
-
-
-
diff --git a/main/swext/README.md b/main/swext/README.md
index b095ed4855..bf9d13cad2 100644
--- a/main/swext/README.md
+++ b/main/swext/README.md
@@ -1 +1,20 @@
+<!--
+ 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
+ regarding copyright ownership.  The ASF licenses this file
+ 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.
+-->
+
 # Writer Extensions
diff --git a/main/test/source/cpp/unoexceptionprotector/makefile.mk b/main/test/source/cpp/unoexceptionprotector/makefile.mk
index e8ee76990d..763c7e769d 100644
--- a/main/test/source/cpp/unoexceptionprotector/makefile.mk
+++ b/main/test/source/cpp/unoexceptionprotector/makefile.mk
@@ -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.
-#  
+#
 #**************************************************************
 
 
diff --git a/main/test/source/cpp/unoexceptionprotector/unoexceptionprotector.cxx b/main/test/source/cpp/unoexceptionprotector/unoexceptionprotector.cxx
index 8ca429f775..2fc434bb20 100644
--- a/main/test/source/cpp/unoexceptionprotector/unoexceptionprotector.cxx
+++ b/main/test/source/cpp/unoexceptionprotector/unoexceptionprotector.cxx
@@ -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.
- * 
+ *
  *************************************************************/
 
 
diff --git a/main/testtools/qa/cli/CLITest.java b/main/testtools/qa/cli/CLITest.java
index efa35d7bfd..8d0c034bad 100644
--- a/main/testtools/qa/cli/CLITest.java
+++ b/main/testtools/qa/cli/CLITest.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.
- * 
+ *
  *************************************************************/
 
 
@@ -49,18 +49,18 @@ public class CLITest extends ComplexTestCase
             if (arg1.length() == 0)
                 failed("Check the make file. Java must be called with " +
                        "-Dcli_test_arg=path_to_bootstrap_ini");
-            String[] cmdarray = new String[] {testProgram, arg1}; 
+            String[] cmdarray = new String[] {testProgram, arg1};
 
             Process proc = null;
             Reader outReader;
             Reader errReader;
             try{
-                
+
                 proc = Runtime.getRuntime().exec(cmdarray);
                 outReader = new Reader(proc.getInputStream());
                 errReader = new Reader(proc.getErrorStream());
-                
-                
+
+
             }
             catch(Exception e)
             {
@@ -77,7 +77,7 @@ public class CLITest extends ComplexTestCase
         {
             failed("Unexpected exception.");
         }
-        
+
     }
 }
 
diff --git a/main/testtools/qa/cliversioning/makefile.mk b/main/testtools/qa/cliversioning/makefile.mk
index f13f270a06..a70e257337 100644
--- a/main/testtools/qa/cliversioning/makefile.mk
+++ b/main/testtools/qa/cliversioning/makefile.mk
@@ -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.
-#  
+#
 #**************************************************************
 
 
@@ -54,19 +54,19 @@ ALLTAR : \
 echo :
     @echo .
     @echo ###########################   N O T E  ######################################
-    @echo . 
+    @echo .
     @echo To run the test you have to provide the path to the  office location. It must
     @echo contain the ure (d:\myOffice\OpenOffice.org\URE).
     @echo Also an office must be installed with full system integration.
     @echo Example:
     @echo dmake run office="d:\myOffice"
     @echo .
-    @echo To build a test library with a particular name run. The names must start with "version". 
+    @echo To build a test library with a particular name run. The names must start with "version".
     @echo For example:
-    @echo "dmake name=version_10_10_10.dll"	
+    @echo "dmake name=version_10_10_10.dll"
     @echo ###########################   N O T E  ######################################
     @echo .
-    @echo .	
+    @echo .
 
 # --- Parameters for the test --------------------------------------
 
@@ -86,4 +86,3 @@ RUN: $(MISC)$/copyassemblies.done
     java -cp $(CLASSPATH) -DSystemRoot=$(SystemRoot) -Dcli_test_program=$(BIN)$/runtests.exe -Dpath="$(office)"\OpenOffice.org\URE\bin $(CT_APP) $(CT_NOOFFICE) $(CT_TESTBASE) $(CT_TEST)
 
 run: RUN
-
diff --git a/main/ucb/test/com/sun/star/comp/ucb/makefile.mk b/main/ucb/test/com/sun/star/comp/ucb/makefile.mk
index 6a9d2b8029..2d64848386 100644
--- a/main/ucb/test/com/sun/star/comp/ucb/makefile.mk
+++ b/main/ucb/test/com/sun/star/comp/ucb/makefile.mk
@@ -53,4 +53,3 @@ runtest:
     java -classpath $(CLASSPATH) org.openoffice.Runner -TestBase java_complex \
         -AppExecutionCommand "c:\staroffice8.m13\program\soffice -accept=socket,host=localhost,port=8100;urp;" \
         -o $(subst,$/,. $(PACKAGE)$/GlobalTransfer_Test)
-
diff --git a/main/unotools/qa/complex/tempfile/TempFileUnitTest.java b/main/unotools/qa/complex/tempfile/TempFileUnitTest.java
index c133174cc6..6aab3ca7c5 100644
--- a/main/unotools/qa/complex/tempfile/TempFileUnitTest.java
+++ b/main/unotools/qa/complex/tempfile/TempFileUnitTest.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.
- * 
+ *
  *************************************************************/
 
 
@@ -41,7 +41,7 @@ import static org.junit.Assert.*;
 public class TempFileUnitTest /* extends ComplexTestCase */ {
     private XMultiServiceFactory m_xMSF = null;
     private XSimpleFileAccess m_xSFA = null;
-    
+
 //    public String[] getTestMethodNames() {
 //        return new String[] {
 //            "ExecuteTest01",
@@ -51,7 +51,7 @@ public class TempFileUnitTest /* extends ComplexTestCase */ {
 //    public String getTestObjectName() {
 //        return "TempFileUnitTest";
 //    }
-    
+
     @Before public void before() {
         m_xMSF = getMSF();
         if ( m_xMSF == null ) {
@@ -70,17 +70,17 @@ public class TempFileUnitTest /* extends ComplexTestCase */ {
             fail ( "Cannot get simple file access!" );
         }
     }
-    
+
     @After public void after() {
         m_xMSF = null;
         m_xSFA = null;
     }
-    
+
     @Test public void ExecuteTest01() {
         TempFileTest aTest = new Test01( m_xMSF, m_xSFA );
         assertTrue( "Test01 failed!", aTest.test() );
     }
-    
+
     @Test public void ExecuteTest02() {
         TempFileTest aTest = new Test02( m_xMSF, m_xSFA );
         assertTrue( "Test02 failed!", aTest.test() );
diff --git a/main/unotools/source/config/viewoptions.cxx b/main/unotools/source/config/viewoptions.cxx
index a44b02cd29..5202198716 100644
--- a/main/unotools/source/config/viewoptions.cxx
+++ b/main/unotools/source/config/viewoptions.cxx
@@ -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.
- * 
+ *
  *************************************************************/
 
 
diff --git a/main/vcl/qa/complex/memCheck/CheckMemoryUsage.java b/main/vcl/qa/complex/memCheck/CheckMemoryUsage.java
index cd1a25ee6b..b12b440cbc 100644
--- a/main/vcl/qa/complex/memCheck/CheckMemoryUsage.java
+++ b/main/vcl/qa/complex/memCheck/CheckMemoryUsage.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.
- * 
+ *
  *************************************************************/
 
 
@@ -51,12 +51,12 @@ import org.openoffice.test.OfficeConnection;
 import static org.junit.Assert.*;
 
 /**
- * Documents are opened and exported with StarOffice. The memory usage of 
+ * Documents are opened and exported with StarOffice. The memory usage of
  * StarOffice is monitored and if the usage exceeds the allowed kilobytes,
- * the test is failed. Used for monitoring the StarOffice process is the 
+ * the test is failed. Used for monitoring the StarOffice process is the
  * command line tool 'pmap', available on Solaris or Linux. This test will not
- * run on Windows.<br>Test procedure: every given document type is searched in 
- * the source directory 
+ * run on Windows.<br>Test procedure: every given document type is searched in
+ * the source directory
  * Needed parameters:
  * <ul>
  *   <li>"TestDocumentPath" - the path where test documents are located.</li>
@@ -175,7 +175,7 @@ public class CheckMemoryUsage /* extends ComplexTestCase */
             v.add(sCalcDoc);
             v.add(sImpressDoc);
         }
-        // store a file extension 
+        // store a file extension
         sDocTypeExportFilter = new String[v.size()][2];
         for (int i = 0; i < v.size(); i++)
         {
diff --git a/main/vcl/qa/complex/memCheck/TestDocument.java b/main/vcl/qa/complex/memCheck/TestDocument.java
index d2ab23328c..3a2044d5fb 100644
--- a/main/vcl/qa/complex/memCheck/TestDocument.java
+++ b/main/vcl/qa/complex/memCheck/TestDocument.java
@@ -29,7 +29,7 @@ import org.openoffice.test.OfficeFileUrl;
 final class TestDocument
 {
     final static String sPathname = "testdocuments";
-    public static String getUrl(String name) 
+    public static String getUrl(String name)
     {
         return OfficeFileUrl.getAbsolute(new File(sPathname, name));
     }
diff --git a/main/vcl/source/app/svdata.cxx b/main/vcl/source/app/svdata.cxx
index 20cb99ea41..b547b121b6 100644
--- a/main/vcl/source/app/svdata.cxx
+++ b/main/vcl/source/app/svdata.cxx
@@ -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.
- * 
+ *
  *************************************************************/
 
 
@@ -96,7 +96,7 @@ using namespace rtl;
 
 namespace
 {
-    struct private_aImplSVData : 
+    struct private_aImplSVData :
         public rtl::Static<ImplSVData, private_aImplSVData> {};
 }
 
@@ -149,7 +149,7 @@ void ImplInitSVData()
 	//Default enable the acc bridge interface
 	pImplSVData->maAppData.m_bEnableAccessInterface =true;
 #endif
-    
+
     // mark default layout border as unitialized
     pImplSVData->maAppData.mnDefaultLayoutBorder = -1;
 }
@@ -187,7 +187,7 @@ void ImplDeInitSVData()
         delete pSVData->maAppData.mpMSFTempFileName;
         pSVData->maAppData.mpMSFTempFileName = NULL;
     }
-    
+
     if( pSVData->maCtrlData.mpFieldUnitStrings )
         delete pSVData->maCtrlData.mpFieldUnitStrings, pSVData->maCtrlData.mpFieldUnitStrings = NULL;
     if( pSVData->maCtrlData.mpCleanUnitStrings )
@@ -213,7 +213,7 @@ Window* ImplGetDefaultWindow()
 
 	// First test if we already have a default window.
 	// Don't only place a single if..else inside solar mutex lockframe
-	// because then we might have to wait for the solar mutex what is not necessary 
+	// because then we might have to wait for the solar mutex what is not necessary
 	// if we already have a default window.
 
     if ( !pSVData->mpDefaultWin )
@@ -246,7 +246,7 @@ ResMgr* ImplGetResMgr()
     {
         ::com::sun::star::lang::Locale aLocale = Application::GetSettings().GetUILocale();
         pSVData->mpResMgr = ResMgr::SearchCreateResMgr( VCL_CREATERESMGR_NAME( vcl ), aLocale );
-        
+
         static bool bMessageOnce = false;
         if( !pSVData->mpResMgr && ! bMessageOnce )
         {
@@ -267,7 +267,7 @@ ResId VclResId( sal_Int32 nId )
     ResMgr* pMgr = ImplGetResMgr();
     if( ! pMgr )
         throw std::bad_alloc();
-    
+
     return ResId( nId, *pMgr );
 }
 
@@ -332,7 +332,7 @@ public:
     AccessBridgeCurrentContext(
         const com::sun::star::uno::Reference< com::sun::star::uno::XCurrentContext > &context ) :
         m_prevContext( context ) {}
-    
+
     // XCurrentContext
     virtual com::sun::star::uno::Any SAL_CALL getValueByName( const rtl::OUString& Name )
         throw (com::sun::star::uno::RuntimeException);
@@ -362,13 +362,13 @@ void AccessBridgehandleExistingWindow(Window * pWindow, bool bShow)
     if ( pWindow )
     {
         css::uno::Reference< css::accessibility::XAccessible > xAccessible;
-    
+
         // Test for combo box - drop down floating windows first
         Window * pParentWindow = pWindow->GetParent();
 
         if ( pParentWindow )
         {
-            try 
+            try
             {
                 // The parent window of a combo box floating window should have the role COMBO_BOX
                 css::uno::Reference< css::accessibility::XAccessible > xParentAccessible(pParentWindow->GetAccessible());
@@ -405,7 +405,7 @@ void AccessBridgehandleExistingWindow(Window * pWindow, bool bShow)
         }
 
         // We have to rely on the fact that Window::GetAccessible()->getAccessibleContext() returns a valid XAccessibleContext
-        // also for other menus than menubar or toplevel popup window. Otherwise we had to traverse the hierarchy to find the 
+        // also for other menus than menubar or toplevel popup window. Otherwise we had to traverse the hierarchy to find the
         // context object to this menu floater. This makes the call to Window->IsMenuFloatingWindow() obsolete.
         if ( ! xAccessible.is() )
             xAccessible = pWindow->GetAccessible();
@@ -470,19 +470,19 @@ bool ImplInitAccessBridge(sal_Bool bAllowCancel, sal_Bool &rCancelled)
             {
 #ifdef WNT
 				pSVData->mxAccessBridge = xFactory->createInstance(
-			               OUString::createFromAscii( "com.sun.star.accessibility.MSAAService" ) ); 
+			               OUString::createFromAscii( "com.sun.star.accessibility.MSAAService" ) );
 			    if( pSVData->mxAccessBridge.is() )
 			    {
 			    	css::uno::Reference< css::uno::XInterface > pRManager= pSVData->mxAccessBridge;
 			    	g_acc_manager1 = (css::accessibility::XMSAAService*)(pRManager.get());
 					AccessBridgeupdateOldTopWindows();
 			    }
-			    
+
 			    if( !pSVData->mxAccessBridge.is() )
                     bSuccess = sal_False;
                 return bSuccess;
 #endif
-                css::uno::Reference< XExtendedToolkit > xToolkit = 
+                css::uno::Reference< XExtendedToolkit > xToolkit =
                     css::uno::Reference< XExtendedToolkit >(Application::GetVCLToolkit(), UNO_QUERY);
 
                 Sequence< Any > arguments(1);
@@ -492,7 +492,7 @@ bool ImplInitAccessBridge(sal_Bool bAllowCancel, sal_Bool &rCancelled)
 		        // for a disabled user. Use native message boxes which are accessible without java support.
 			    // No need to do this when activated by Tools-Options dialog ..
                 if( bAllowCancel )
-		        { 
+		        {
 			        // customize the java-not-available-interaction-handler entry within the
 				    // current context when called at startup.
 					com::sun::star::uno::ContextLayer layer(
@@ -500,22 +500,22 @@ bool ImplInitAccessBridge(sal_Bool bAllowCancel, sal_Bool &rCancelled)
 
 	                pSVData->mxAccessBridge = xFactory->createInstanceWithArguments(
 			                OUString::createFromAscii( "com.sun.star.accessibility.AccessBridge" ),
-				            arguments 
+				            arguments
 					    );
 				}
 				else
 				{
 	                pSVData->mxAccessBridge = xFactory->createInstanceWithArguments(
 			                OUString::createFromAscii( "com.sun.star.accessibility.AccessBridge" ),
-				            arguments 
+				            arguments
 					    );
 				}
-                    
+
                 if( !pSVData->mxAccessBridge.is() )
                     bSuccess = sal_False;
             }
         }
-        
+
         return bSuccess;
     }
 
@@ -540,7 +540,7 @@ bool ImplInitAccessBridge(sal_Bool bAllowCancel, sal_Bool &rCancelled)
             if( SALSYSTEM_SHOWNATIVEMSGBOX_BTN_CANCEL == ret )
                 rCancelled = sal_True;
         }
-        
+
         return sal_False;
     }
 
@@ -565,7 +565,7 @@ bool ImplInitAccessBridge(sal_Bool bAllowCancel, sal_Bool &rCancelled)
             if( SALSYSTEM_SHOWNATIVEMSGBOX_BTN_CANCEL == ret )
                 rCancelled = sal_True;
         }
-        
+
         return sal_False;
     }
 
@@ -590,7 +590,7 @@ bool ImplInitAccessBridge(sal_Bool bAllowCancel, sal_Bool &rCancelled)
             if( SALSYSTEM_SHOWNATIVEMSGBOX_BTN_CANCEL == ret )
                 rCancelled = sal_True;
         }
-        
+
         return sal_False;
     }
 
@@ -615,7 +615,7 @@ bool ImplInitAccessBridge(sal_Bool bAllowCancel, sal_Bool &rCancelled)
             if( SALSYSTEM_SHOWNATIVEMSGBOX_BTN_CANCEL == ret )
                 rCancelled = sal_True;
         }
-        
+
         return sal_False;
     }
 
@@ -648,8 +648,8 @@ bool ImplInitAccessBridge(sal_Bool bAllowCancel, sal_Bool &rCancelled)
                     aMessage += String(ResId(SV_ACCESSERROR_OK_CANCEL_MSG, *pResMgr));
 
                     int ret = ImplGetSalSystem()->ShowNativeMessageBox(
-                        aTitle, 
-                        ReplaceJavaErrorMessages(aMessage), 
+                        aTitle,
+                        ReplaceJavaErrorMessages(aMessage),
                         SALSYSTEM_SHOWNATIVEMSGBOX_BTNCOMBI_OK_CANCEL,
                         SALSYSTEM_SHOWNATIVEMSGBOX_BTN_CANCEL);
 
@@ -662,14 +662,14 @@ bool ImplInitAccessBridge(sal_Bool bAllowCancel, sal_Bool &rCancelled)
                     // The user tried to activate accessibility support using Tools-Options dialog,
                     // so we don't offer to terminate here !
                     ImplGetSalSystem()->ShowNativeMessageBox(
-                        aTitle, 
-                        ReplaceJavaErrorMessages(aMessage), 
+                        aTitle,
+                        ReplaceJavaErrorMessages(aMessage),
                         SALSYSTEM_SHOWNATIVEMSGBOX_BTNCOMBI_OK,
                         SALSYSTEM_SHOWNATIVEMSGBOX_BTN_OK);
                 }
             }
         }
-        
+
         return sal_False;
     }
 
@@ -705,4 +705,3 @@ void LocaleConfigurationListener::ConfigurationChanged( utl::ConfigurationBroadc
 {
 	AllSettings::LocaleSettingsChanged( nHint );
 }
-
diff --git a/main/vcl/source/control/spinfld.cxx b/main/vcl/source/control/spinfld.cxx
index 25336bba7c..a9808c2fed 100644
--- a/main/vcl/source/control/spinfld.cxx
+++ b/main/vcl/source/control/spinfld.cxx
@@ -1041,7 +1041,7 @@ void SpinField::Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize,
 		pDev->SetMapMode();
 
 		if ( eOutDevType == OUTDEV_PRINTER )
-		{ 
+		{
 			StyleSettings aStyleSettings = aOldSettings.GetStyleSettings();
 			aStyleSettings.SetFaceColor( COL_LIGHTGRAY );
 			aStyleSettings.SetButtonTextColor( COL_BLACK );
diff --git a/main/wizards/com/sun/star/wizards/ui/DocumentPreview.java b/main/wizards/com/sun/star/wizards/ui/DocumentPreview.java
index 0e056bf8c8..d25d469cb5 100644
--- a/main/wizards/com/sun/star/wizards/ui/DocumentPreview.java
+++ b/main/wizards/com/sun/star/wizards/ui/DocumentPreview.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.
- * 
+ *
  *************************************************************/
 
 
@@ -64,7 +64,7 @@ public class DocumentPreview
 
     /*********************************************************************
     main
-    
+
     - create new frame with window inside
     - load a component as preview into this frame
      */
@@ -135,7 +135,7 @@ public class DocumentPreview
     /*********************************************************************
     create a new frame with a new container window inside,
     which isn't part of the global frame tree.
-    
+
     Attention:
     a) This frame wont be destroyed by the office. It must be closed by you!
     Do so - please call XCloseable::close().
diff --git a/main/wizards/source/euro/Common.xba b/main/wizards/source/euro/Common.xba
index 1087fd549e..e796e34dc2 100644
--- a/main/wizards/source/euro/Common.xba
+++ b/main/wizards/source/euro/Common.xba
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE script:module PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "module.dtd">
 <!--***********************************************************
- * 
+ *
  * 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
@@ -9,16 +9,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.
- * 
+ *
  ***********************************************************-->
 <script:module xmlns:script="http://openoffice.org/2000/script" script:name="Common" script:language="StarBasic"> REM  *****  BASIC  *****
 Public DialogModel as Object
@@ -132,7 +132,7 @@ End Sub
 
 
 Function Numberformat( oFormats as Object, aFormatStr as String, oLocale as Object)
-Dim nRetkey 
+Dim nRetkey
 Dim l as String
 Dim c as String
 	nRetKey = oFormats.queryKey( aFormatStr, oLocale, True )
@@ -157,7 +157,7 @@ Dim oFormatofObject() as Object
 	&apos; Retrieve the Format of the Object
 	On Local Error GoTo NOKEY
 	oFormatofObject = oFormats.getByKey(FormatObject.NumberFormat)
-	On Local Error GoTo 0			
+	On Local Error GoTo 0
   	If NOT INT(oFormatofObject.Type) AND com.sun.star.util.NumberFormat.CURRENCY Then
 		CheckFormatType = False
 		Exit Function
diff --git a/main/wizards/source/euro/Protect.xba b/main/wizards/source/euro/Protect.xba
index 7775fab6c0..4cc88320a9 100644
--- a/main/wizards/source/euro/Protect.xba
+++ b/main/wizards/source/euro/Protect.xba
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE script:module PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "module.dtd">
 <!--***********************************************************
- * 
+ *
  * 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
@@ -9,16 +9,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.
- * 
+ *
  ***********************************************************-->
 <script:module xmlns:script="http://openoffice.org/2000/script" script:name="Protect" script:language="StarBasic">REM  *****  BASIC  *****
 Option Explicit
@@ -37,7 +37,7 @@ Dim iMsgResult as Integer
 			iMsgResult = Msgbox(sMsgUNPROTECT,36,sMsgDLGTITLE)
 			bDoUnProtect = iMsgResult = 6
 		End If
-		If bDoUnProtect Then	
+		If bDoUnProtect Then
 			MaxIndex = oSheets.Count-1
 			For i = 0 To MaxIndex
 				bDocHasProtectedSheets = Not UnprotectSheet(oSheets(i))
diff --git a/main/xmloff/inc/xmloff/xmlimppr.hxx b/main/xmloff/inc/xmloff/xmlimppr.hxx
index c1f3b8d82c..55f98be6d6 100644
--- a/main/xmloff/inc/xmloff/xmlimppr.hxx
+++ b/main/xmloff/inc/xmloff/xmlimppr.hxx
@@ -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.
- * 
+ *
  *************************************************************/
 
 
diff --git a/test/build.xml b/test/build.xml
index 3b7de2537d..2135657a0e 100644
--- a/test/build.xml
+++ b/test/build.xml
@@ -67,7 +67,7 @@
 		<get src="${junit.jar.repos}" dest="lib/junit.jar" skipexisting="true" />
 		<get src="${hamcrest.jar.repos}" dest="lib/hamcrest.jar" skipexisting="true" />
 	</target>
-	
+
 	<target name="testcommon.init">
 		<mkdir dir="testcommon/bin" />
 		<copy includeemptydirs="false" todir="testcommon/bin">
diff --git a/test/testgui/source/fvt/gui/sw/table/TableGeneral.java b/test/testgui/source/fvt/gui/sw/table/TableGeneral.java
index e2951d4c66..c3aa7fa721 100644
--- a/test/testgui/source/fvt/gui/sw/table/TableGeneral.java
+++ b/test/testgui/source/fvt/gui/sw/table/TableGeneral.java
@@ -1,533 +1,533 @@
 <<<<<<< HEAD
-/**************************************************************
- * 
- * 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
- * regarding copyright ownership.  The ASF licenses this file
- * 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.
- * 
- *************************************************************/
-
-package fvt.gui.sw.table;
-
-import static org.junit.Assert.*;
-import static org.openoffice.test.vcl.Tester.*;
-import static testlib.gui.AppTool.*;
-import static testlib.gui.UIMap.*;
-
-import org.junit.After;
-import org.junit.Before;
-import org.junit.Ignore;
-import org.junit.Rule;
-import org.junit.Test;
-import org.openoffice.test.common.Logger;
-import org.openoffice.test.common.SystemUtil;
-
-import testlib.gui.AppTool;
-
-public class TableGeneral {
-	
-	@Rule
-	public Logger log = Logger.getLogger(this);
-
-	@Before
-	public void setUp() throws Exception {
-		// Start OpenOffice
-		app.start();
-
-		AppTool.newTextDocument();
-		// Insert a table
-		app.dispatch(".uno:InsertTable");
-	}
-
-	@After
-	public void tearDown() throws Exception {
-		app.stop();
-	}
-
-	/**
-	 * Test setting table size in text document
-	 * 
-	 * @throws Exception
-	 */
-	@Test
-	public void testTableSize() throws Exception {
-
-		swTableSizeColBox.focus();
-		typeKeys("<delete>");
-		typeKeys("3");
-		swTableSizeRowBox.focus();
-		typeKeys("<delete>");
-		typeKeys("4");
-		writerInsertTable.ok();
-
-		writer.focus();
-		// verify the rows in the table
-		assertNotNull(statusBar.getItemTextById(8));
-		for (int i = 0; i < 3; i++) {
-			typeKeys("<down>");
-			assertNotNull(statusBar.getItemTextById(8));
-		}
-		typeKeys("<down>");
-		sleep(1);
-		assertFalse(tableToolbar.exists());
-	}
-
-	/**
-	 * Test setting table cell background in text document
-	 * 
-	 * @throws Exception
-	 */
-	@Test
-	@Ignore("Bug #120378- the table cell fill color change when copy one table cell in word processor to presentation")
-	public void testTableBackground() throws Exception {
-		writerInsertTable.ok();
-		assertNotNull(statusBar.getItemTextById(8));
-		writer.focus();
-		// set table cell background
-		app.dispatch(".uno:TableDialog");
-		swTableBackground.select();
-		assertTrue("Table background property dialog pop up",
-				swTableBackground.exists());
-		swTableBackgroundColor.focus();
-		swTableBackgroundColor.click(50, 50);
-		swTableBackground.ok();
-		// verify table cell background color
-		writer.focus();
-		// select the cell which is filled with color
-		app.dispatch(".uno:EntireCell");
-
-		typeKeys("<ctrl c>");
-		AppTool.newPresentation();
-		typeKeys("<ctrl v>");
-		// enable table cell area format dialog
-		app.dispatch(".uno:FormatArea");
-		sleep(1);
-		assertEquals("Light red", sdTableBACGColorListbox.getSelText());
-		// close table cell area format dialog
-		sdTableBACGColorArea.cancel();
-	}
-
-	/**
-	 * Test setting table border in text document
-	 * 
-	 * @throws Exception
-	 */
-	@Test
-	public void testTableBorder() throws Exception {
-		writerInsertTable.ok();
-		assertNotNull(statusBar.getItemTextById(8));
-		// set table border as none
-		writer.focus();
-		app.dispatch(".uno:TableDialog");
-		swTableBorder.select();
-		assertTrue("Table border property dialog pop up",
-				swTableBorder.exists());
-		swTableBorderLineArrange.click(10, 10);
-		swTableBorder.ok();
-	}
-
-	/**
-	 * Test setting table border line style,line color,spacing to content in
-	 * text document
-	 * 
-	 * @throws Exception
-	 */
-	@Test
-	public void testTableBorderLineStyle() throws Exception {
-		writerInsertTable.ok();
-		assertNotNull(statusBar.getItemTextById(8));
-		writer.focus();
-		app.dispatch(".uno:TableDialog");
-		swTableBorder.select();
-		assertTrue("Table border property dialog pop up",
-				swTableBorder.exists());
-		// set line style
-		swTableBorderLineStyle.select(8);
-		// set line color
-		final int nMagentaIndex = 16; // for AOO's colorpicker as of #i118828#
-		swTableBorderLineColor.select( nMagentaIndex);
-		// set spacing to content
-		swTableSTCLeft.focus();
-		typeKeys("<ctrl a>");
-		typeKeys("<delete>");
-		// set spacing to content
-		typeKeys("0.5");
-		// set table shadow
-		swTableShadow.click(40, 10);
-		swTableShadowSize.focus();
-		typeKeys("<ctrl a>");
-		typeKeys("<delete>");
-		typeKeys("2");
-		swTableShadowColor.select( nMagentaIndex);
-		swTableBorder.ok();
-		// verify the setting property of table
-		writer.focus();
-		app.dispatch(".uno:TableDialog");
-		swTableBorder.select();
-		assertEquals("2.60 pt", swTableBorderLineStyle.getItemText(8));
-		assertEquals("Magenta", swTableBorderLineColor.getItemText( nMagentaIndex));
-		assertEquals("0.50 \"", swTableSTCLeft.getText());
-		assertEquals("0.50 \"", swTableSTCRight.getText());
-		assertEquals("0.50 \"", swTableSTCTop.getText());
-		assertEquals("0.50 \"", swTableSTCBottom.getText());
-		assertEquals("1.97 \"", swTableShadowSize.getText());
-		assertEquals("Magenta", swTableShadowColor.getItemText( nMagentaIndex));
-		assertTrue("SWTableSTC_SYNC", swTableSTCSYNC.isChecked());
-		swTableBorder.close();
-
-		// uncheck Synchronize box and set spacing to content
-		writer.focus();
-		app.dispatch(".uno:TableDialog");
-		swTableBorder.select();
-		swTableSTCSYNC.uncheck();
-		// set left spacing to content
-		swTableSTCLeft.focus();
-		typeKeys("<ctrl a>");
-		typeKeys("<delete>");
-		typeKeys("0.5");
-		// set right spacing to content
-		swTableSTCRight.focus();
-		typeKeys("<ctrl a>");
-		typeKeys("<delete>");
-		typeKeys("0.8");
-		// set top spacing to content
-		swTableSTCTop.focus();
-		typeKeys("<ctrl a>");
-		typeKeys("<delete>");
-		typeKeys("1.0");
-		// set bottom spacing to content
-		swTableSTCBottom.focus();
-		typeKeys("<ctrl a>");
-		typeKeys("<delete>");
-		typeKeys("2");
-		swTableBorder.ok();
-		assertNotNull(statusBar.getItemTextById(8));
-
-		writer.focus();
-		// verify the setting value of spacing to content for table
-		app.dispatch(".uno:TableDialog");
-		swTableBorder.select();
-		assertEquals("0.50 \"", swTableSTCLeft.getText());
-		assertEquals("0.80 \"", swTableSTCRight.getText());
-		assertEquals("1.00 \"", swTableSTCTop.getText());
-		assertEquals("1.97 \"", swTableSTCBottom.getText());
-		assertFalse("SWTableSTC_SYNC", swTableSTCSYNC.isChecked());
-		swTableBorder.close();
-	}
-
-	/**
-	 * create table with auto format
-	 * 
-	 * @throws Exception
-	 */
-	@Test
-	public void testTableAutoFormat() throws Exception {
-		// create table with auto format
-		button("sw:PushButton:DLG_INSERT_TABLE:BT_AUTOFORMAT").click();
-		assertTrue("Table auto format dialog pop up", swTableAutoFMT.exists());
-		swTableAutoFormatListbox.select(3);
-		swTableAutoFMT.ok();
-		// verify the auto format is that just selected
-		button("sw:PushButton:DLG_INSERT_TABLE:BT_AUTOFORMAT").click();
-		assertEquals("Blue", swTableAutoFormatListbox.getSelText());
-		swTableAutoFMT.close();
-		writerInsertTable.ok();
-		assertNotNull(statusBar.getItemTextById(8));
-
-	}
-
-	/**
-	 * set row height and select row,insert/delete row
-	 * 
-	 * @throws Exception
-	 */
-	@Test
-	public void testTableRowHeight() throws Exception {
-		writerInsertTable.ok();
-		assertNotNull(statusBar.getItemTextById(8));
-
-		// set row height
-		writer.focus();
-		writer.openContextMenu();
-		swTableRowHeightMenu.select();
-		assertTrue(swTableSetRowHeightDialog.exists());
-		swTableSetRowHeight.focus();
-		typeKeys("<ctrl a>");
-		typeKeys("<delete>");
-		typeKeys("0.5");
-		swTableSetRowHeightDialog.ok();
-
-		// verify row height
-		writer.focus();
-		writer.openContextMenu();
-		swTableRowHeightMenu.select();
-		assertTrue(swTableSetRowHeightDialog.exists());
-		assertEquals("0.50 \"", swTableSetRowHeight.getText());
-		swTableSetRowHeightDialog.close();
-	}
-
-	/**
-	 * test select row
-	 * 
-	 * @throws Exception
-	 */
-	@Test
-	public void testTableSelectRow() throws Exception {
-		writerInsertTable.ok();
-		assertNotNull(statusBar.getItemTextById(8));
-		// select row
-		writer.focus();
-		writer.openContextMenu();
-		swTableSelectRowMenu.select();
-
-		// verify select one row successfully
-		typeKeys("<ctrl c>");
-		typeKeys("<down>");
-		typeKeys("<down>");
-		typeKeys("<enter>");
-		typeKeys("<ctrl v>");
-		typeKeys("<up>");
-		assertTrue(tableToolbar.exists());
-
-	}
-
-	/**
-	 * insert row and verify how many row inserted
-	 * 
-	 * @throws Exception
-	 */
-	@Test
-	public void testTableInsertRow() throws Exception {
-		writerInsertTable.ok();
-		assertNotNull(statusBar.getItemTextById(8));
-		writer.focus();
-		writer.openContextMenu();
-		swTableInsertRowMenu.select();
-		assertTrue("SWTable_InsertRow Dialog pop up", swTableInsertRow.exists());
-		swTableInsertRowColumnSetNumber.focus();
-		typeKeys("<ctrl a>");
-		typeKeys("<delete>");
-		typeKeys("3");
-		swTableInsertRow.ok();
-
-		writer.focus();
-		// verify how many rows in the table
-		assertNotNull(statusBar.getItemTextById(8));
-		for (int i = 0; i < 4; i++) {
-			typeKeys("<down>");
-			assertNotNull(statusBar.getItemTextById(8));
-		}
-		typeKeys("<down>");
-		sleep(1);
-		assertFalse(tableToolbar.exists());
-	}
-
-	/**
-	 * delete row and verify row
-	 * 
-	 * @throws Exception
-	 */
-	@Test
-	public void testTableRowDelete() throws Exception {
-		writerInsertTable.ok();
-		assertNotNull(statusBar.getItemTextById(8));
-		// delete row
-		writer.focus();
-		writer.openContextMenu();
-		swTableRowDleteMenu.select();
-		// verify whether delete row
-		writer.focus();
-		assertNotNull(statusBar.getItemTextById(8));
-		typeKeys("<down>");
-		sleep(1);
-		assertFalse(tableToolbar.exists());
-
-	}
-
-	/**
-	 * set column width and verify
-	 * 
-	 * @throws Exception
-	 */
-	@Test
-	public void testTableColumnWidth() throws Exception {
-		writerInsertTable.ok();
-		assertNotNull(statusBar.getItemTextById(8));
-		// set column width
-		writer.focus();
-		writer.openContextMenu();
-		swTableColumnWidthMenu.select();
-		swTableSetColumnWidth.focus();
-		typeKeys("<ctrl a>");
-		typeKeys("<delete>");
-		typeKeys("2");
-		swTableSetColumnDialog.ok();
-		// verify column width
-		writer.focus();
-		writer.openContextMenu();
-		swTableColumnWidthMenu.select();
-		assertEquals("2.00 \"", swTableSetColumnWidth.getText());
-
-	}
-
-	/**
-	 * select column and verify
-	 * 
-	 * @throws Exception
-	 */
-	@Test
-	public void testTableColumnSelect() throws Exception {
-		writerInsertTable.ok();
-		assertNotNull(statusBar.getItemTextById(8));
-		writer.focus();
-		writer.openContextMenu();
-		swTableColumnSelectMenu.select();
-
-		// verify select one column
-		typeKeys("<ctrl c>");
-		typeKeys("<down>");
-		typeKeys("<down>");
-		typeKeys("<enter>");
-		typeKeys("<ctrl v>");
-		typeKeys("<up>");
-		assertTrue(tableToolbar.exists());
-
-	}
-
-	/**
-	 * insert column and verify
-	 * 
-	 * @throws Exception
-	 */
-	@Test
-	public void testTableColumnInsert() throws Exception {
-		writerInsertTable.ok();
-		assertNotNull(statusBar.getItemTextById(8));
-		// insert column
-		writer.focus();
-		writer.openContextMenu();
-		swTableColumnInsertMenu.select();
-		swTableInsertRowColumnSetNumber.focus();
-		typeKeys("<ctrl a>");
-		typeKeys("<delete>");
-		typeKeys("3");
-		swTableInsertColumn.ok();
-		// verify insert column successfully
-		writer.focus();
-		assertTrue(tableToolbar.exists());
-		for (int i = 0; i < 9; i++) {
-			typeKeys("<right>");
-			sleep(1);
-			assertTrue(tableToolbar.exists());
-		}
-		typeKeys("<right>");
-		sleep(1);
-		assertFalse(tableToolbar.exists());
-	}
-
-	/**
-	 * delete column and verify whether delete or not
-	 * 
-	 * @throws Exception
-	 */
-	public void testTableColumnDelete() throws Exception {
-		writerInsertTable.ok();
-		assertNotNull(statusBar.getItemTextById(8));
-		// delete column
-		writer.focus();
-		writer.openContextMenu();
-		swTableColumnDeleteMenu.select();
-		// verify delete column
-		writer.focus();
-		assertTrue(tableToolbar.exists());
-		for (int i = 0; i < 7; i++) {
-			typeKeys("<right>");
-			assertTrue(tableToolbar.exists());
-		}
-		sleep(1);
-		assertFalse(tableToolbar.exists());
-	}
-
-	/**
-	 * split cell
-	 * 
-	 * @throws Exception
-	 */
-	@Test
-	public void testTableCellSplit() throws Exception {
-		writerInsertTable.ok();
-		assertTrue(tableToolbar.exists());
-		for (int k = 0; k < 2; k++) {
-			writer.focus();
-			writer.openContextMenu();
-			swTableCellSplitMenu.select();
-			swTableCellSplitNumber.focus();
-			typeKeys("<ctrl a>");
-			typeKeys("<delete>");
-			typeKeys("2");
-			if (k == 0) {
-				// split table cell horizontally
-				swTableCellSplitDialog.ok();
-			} else {
-				// split table cell
-				swTableCellSplitVERTButton.check();
-				// vertically
-				swTableCellSplitDialog.ok();
-			}
-		}
-		// verify cell split successfully
-		writer.focus();
-		assertTrue(tableToolbar.exists());
-		for (int i = 0; i < 7; i++) {
-			typeKeys("<right>");
-			assertTrue(tableToolbar.exists());
-		}
-		sleep(1);
-		assertFalse(tableToolbar.exists());
-	}
-
-	/**
-	 * Test convert table to text in text document
-	 * 
-	 * @throws Exception
-	 */
-	@Test
-	public void testConvertTableToText() throws Exception {
-		writerInsertTable.ok();
-		writer.focus();
-		typeKeys("1<right>2<right>3<right>4");
-		sleep(1);
-
-		// Convert table to text
-		app.dispatch(".uno:ConvertTableToText");
-		assertTrue("Convert Table to Text dialog pop up",
-				writerConvertTableToTextDlg.exists());
-		// typeKeys("<enter>");
-		writerConvertTableToTextDlg.ok();
-
-		// Verify if text is converted successfully
-		app.dispatch(".uno:SelectAll");
-		app.dispatch(".uno:Copy");
-		if (SystemUtil.isWindows())
-			assertEquals("Converted text", "1\t2\r\n3\t4\r\n",
-					app.getClipboard());
-		else
-			assertEquals("Converted text", "1\t2\n3\t4\n", app.getClipboard());
-	}
-}
+/**************************************************************
+ *
+ * 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
+ * regarding copyright ownership.  The ASF licenses this file
+ * 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.
+ *
+ *************************************************************/
+
+package fvt.gui.sw.table;
+
+import static org.junit.Assert.*;
+import static org.openoffice.test.vcl.Tester.*;
+import static testlib.gui.AppTool.*;
+import static testlib.gui.UIMap.*;
+
+import org.junit.After;
+import org.junit.Before;
+import org.junit.Ignore;
+import org.junit.Rule;
+import org.junit.Test;
+import org.openoffice.test.common.Logger;
+import org.openoffice.test.common.SystemUtil;
+
+import testlib.gui.AppTool;
+
+public class TableGeneral {
+
+	@Rule
+	public Logger log = Logger.getLogger(this);
+
+	@Before
+	public void setUp() throws Exception {
+		// Start OpenOffice
+		app.start();
+
+		AppTool.newTextDocument();
+		// Insert a table
+		app.dispatch(".uno:InsertTable");
+	}
+
+	@After
+	public void tearDown() throws Exception {
+		app.stop();
+	}
+
+	/**
+	 * Test setting table size in text document
+	 *
+	 * @throws Exception
+	 */
+	@Test
+	public void testTableSize() throws Exception {
+
+		swTableSizeColBox.focus();
+		typeKeys("<delete>");
+		typeKeys("3");
+		swTableSizeRowBox.focus();
+		typeKeys("<delete>");
+		typeKeys("4");
+		writerInsertTable.ok();
+
+		writer.focus();
+		// verify the rows in the table
+		assertNotNull(statusBar.getItemTextById(8));
+		for (int i = 0; i < 3; i++) {
+			typeKeys("<down>");
+			assertNotNull(statusBar.getItemTextById(8));
+		}
+		typeKeys("<down>");
+		sleep(1);
+		assertFalse(tableToolbar.exists());
+	}
+
+	/**
+	 * Test setting table cell background in text document
+	 *
+	 * @throws Exception
+	 */
+	@Test
+	@Ignore("Bug #120378- the table cell fill color change when copy one table cell in word processor to presentation")
+	public void testTableBackground() throws Exception {
+		writerInsertTable.ok();
+		assertNotNull(statusBar.getItemTextById(8));
+		writer.focus();
+		// set table cell background
+		app.dispatch(".uno:TableDialog");
+		swTableBackground.select();
+		assertTrue("Table background property dialog pop up",
+				swTableBackground.exists());
+		swTableBackgroundColor.focus();
+		swTableBackgroundColor.click(50, 50);
+		swTableBackground.ok();
+		// verify table cell background color
+		writer.focus();
+		// select the cell which is filled with color
+		app.dispatch(".uno:EntireCell");
+
+		typeKeys("<ctrl c>");
+		AppTool.newPresentation();
+		typeKeys("<ctrl v>");
+		// enable table cell area format dialog
+		app.dispatch(".uno:FormatArea");
+		sleep(1);
+		assertEquals("Light red", sdTableBACGColorListbox.getSelText());
+		// close table cell area format dialog
+		sdTableBACGColorArea.cancel();
+	}
+
+	/**
+	 * Test setting table border in text document
+	 *
+	 * @throws Exception
+	 */
+	@Test
+	public void testTableBorder() throws Exception {
+		writerInsertTable.ok();
+		assertNotNull(statusBar.getItemTextById(8));
+		// set table border as none
+		writer.focus();
+		app.dispatch(".uno:TableDialog");
+		swTableBorder.select();
+		assertTrue("Table border property dialog pop up",
+				swTableBorder.exists());
+		swTableBorderLineArrange.click(10, 10);
+		swTableBorder.ok();
+	}
+
+	/**
+	 * Test setting table border line style,line color,spacing to content in
+	 * text document
+	 *
+	 * @throws Exception
+	 */
+	@Test
+	public void testTableBorderLineStyle() throws Exception {
+		writerInsertTable.ok();
+		assertNotNull(statusBar.getItemTextById(8));
+		writer.focus();
+		app.dispatch(".uno:TableDialog");
+		swTableBorder.select();
+		assertTrue("Table border property dialog pop up",
+				swTableBorder.exists());
+		// set line style
+		swTableBorderLineStyle.select(8);
+		// set line color
+		final int nMagentaIndex = 16; // for AOO's colorpicker as of #i118828#
+		swTableBorderLineColor.select( nMagentaIndex);
+		// set spacing to content
+		swTableSTCLeft.focus();
+		typeKeys("<ctrl a>");
+		typeKeys("<delete>");
+		// set spacing to content
+		typeKeys("0.5");
+		// set table shadow
+		swTableShadow.click(40, 10);
+		swTableShadowSize.focus();
+		typeKeys("<ctrl a>");
+		typeKeys("<delete>");
+		typeKeys("2");
+		swTableShadowColor.select( nMagentaIndex);
+		swTableBorder.ok();
+		// verify the setting property of table
+		writer.focus();
+		app.dispatch(".uno:TableDialog");
+		swTableBorder.select();
+		assertEquals("2.60 pt", swTableBorderLineStyle.getItemText(8));
+		assertEquals("Magenta", swTableBorderLineColor.getItemText( nMagentaIndex));
+		assertEquals("0.50 \"", swTableSTCLeft.getText());
+		assertEquals("0.50 \"", swTableSTCRight.getText());
+		assertEquals("0.50 \"", swTableSTCTop.getText());
+		assertEquals("0.50 \"", swTableSTCBottom.getText());
+		assertEquals("1.97 \"", swTableShadowSize.getText());
+		assertEquals("Magenta", swTableShadowColor.getItemText( nMagentaIndex));
+		assertTrue("SWTableSTC_SYNC", swTableSTCSYNC.isChecked());
+		swTableBorder.close();
+
+		// uncheck Synchronize box and set spacing to content
+		writer.focus();
+		app.dispatch(".uno:TableDialog");
+		swTableBorder.select();
+		swTableSTCSYNC.uncheck();
+		// set left spacing to content
+		swTableSTCLeft.focus();
+		typeKeys("<ctrl a>");
+		typeKeys("<delete>");
+		typeKeys("0.5");
+		// set right spacing to content
+		swTableSTCRight.focus();
+		typeKeys("<ctrl a>");
+		typeKeys("<delete>");
+		typeKeys("0.8");
+		// set top spacing to content
+		swTableSTCTop.focus();
+		typeKeys("<ctrl a>");
+		typeKeys("<delete>");
+		typeKeys("1.0");
+		// set bottom spacing to content
+		swTableSTCBottom.focus();
+		typeKeys("<ctrl a>");
+		typeKeys("<delete>");
+		typeKeys("2");
+		swTableBorder.ok();
+		assertNotNull(statusBar.getItemTextById(8));
+
+		writer.focus();
+		// verify the setting value of spacing to content for table
+		app.dispatch(".uno:TableDialog");
+		swTableBorder.select();
+		assertEquals("0.50 \"", swTableSTCLeft.getText());
+		assertEquals("0.80 \"", swTableSTCRight.getText());
+		assertEquals("1.00 \"", swTableSTCTop.getText());
+		assertEquals("1.97 \"", swTableSTCBottom.getText());
+		assertFalse("SWTableSTC_SYNC", swTableSTCSYNC.isChecked());
+		swTableBorder.close();
+	}
+
+	/**
+	 * create table with auto format
+	 *
+	 * @throws Exception
+	 */
+	@Test
+	public void testTableAutoFormat() throws Exception {
+		// create table with auto format
+		button("sw:PushButton:DLG_INSERT_TABLE:BT_AUTOFORMAT").click();
+		assertTrue("Table auto format dialog pop up", swTableAutoFMT.exists());
+		swTableAutoFormatListbox.select(3);
+		swTableAutoFMT.ok();
+		// verify the auto format is that just selected
+		button("sw:PushButton:DLG_INSERT_TABLE:BT_AUTOFORMAT").click();
+		assertEquals("Blue", swTableAutoFormatListbox.getSelText());
+		swTableAutoFMT.close();
+		writerInsertTable.ok();
+		assertNotNull(statusBar.getItemTextById(8));
+
+	}
+
+	/**
+	 * set row height and select row,insert/delete row
+	 *
+	 * @throws Exception
+	 */
+	@Test
+	public void testTableRowHeight() throws Exception {
+		writerInsertTable.ok();
+		assertNotNull(statusBar.getItemTextById(8));
+
+		// set row height
+		writer.focus();
+		writer.openContextMenu();
+		swTableRowHeightMenu.select();
+		assertTrue(swTableSetRowHeightDialog.exists());
+		swTableSetRowHeight.focus();
+		typeKeys("<ctrl a>");
+		typeKeys("<delete>");
+		typeKeys("0.5");
+		swTableSetRowHeightDialog.ok();
+
+		// verify row height
+		writer.focus();
+		writer.openContextMenu();
+		swTableRowHeightMenu.select();
+		assertTrue(swTableSetRowHeightDialog.exists());
+		assertEquals("0.50 \"", swTableSetRowHeight.getText());
+		swTableSetRowHeightDialog.close();
+	}
+
+	/**
+	 * test select row
+	 *
+	 * @throws Exception
+	 */
+	@Test
+	public void testTableSelectRow() throws Exception {
+		writerInsertTable.ok();
+		assertNotNull(statusBar.getItemTextById(8));
+		// select row
+		writer.focus();
+		writer.openContextMenu();
+		swTableSelectRowMenu.select();
+
+		// verify select one row successfully
+		typeKeys("<ctrl c>");
+		typeKeys("<down>");
+		typeKeys("<down>");
+		typeKeys("<enter>");
+		typeKeys("<ctrl v>");
+		typeKeys("<up>");
+		assertTrue(tableToolbar.exists());
+
+	}
+
+	/**
+	 * insert row and verify how many row inserted
+	 *
+	 * @throws Exception
+	 */
+	@Test
+	public void testTableInsertRow() throws Exception {
+		writerInsertTable.ok();
+		assertNotNull(statusBar.getItemTextById(8));
+		writer.focus();
+		writer.openContextMenu();
+		swTableInsertRowMenu.select();
+		assertTrue("SWTable_InsertRow Dialog pop up", swTableInsertRow.exists());
+		swTableInsertRowColumnSetNumber.focus();
+		typeKeys("<ctrl a>");
+		typeKeys("<delete>");
+		typeKeys("3");
+		swTableInsertRow.ok();
+
+		writer.focus();
+		// verify how many rows in the table
+		assertNotNull(statusBar.getItemTextById(8));
+		for (int i = 0; i < 4; i++) {
+			typeKeys("<down>");
+			assertNotNull(statusBar.getItemTextById(8));
+		}
+		typeKeys("<down>");
+		sleep(1);
+		assertFalse(tableToolbar.exists());
+	}
+
+	/**
+	 * delete row and verify row
+	 *
+	 * @throws Exception
+	 */
+	@Test
+	public void testTableRowDelete() throws Exception {
+		writerInsertTable.ok();
+		assertNotNull(statusBar.getItemTextById(8));
+		// delete row
+		writer.focus();
+		writer.openContextMenu();
+		swTableRowDleteMenu.select();
+		// verify whether delete row
+		writer.focus();
+		assertNotNull(statusBar.getItemTextById(8));
+		typeKeys("<down>");
+		sleep(1);
+		assertFalse(tableToolbar.exists());
+
+	}
+
+	/**
+	 * set column width and verify
+	 *
+	 * @throws Exception
+	 */
+	@Test
+	public void testTableColumnWidth() throws Exception {
+		writerInsertTable.ok();
+		assertNotNull(statusBar.getItemTextById(8));
+		// set column width
+		writer.focus();
+		writer.openContextMenu();
+		swTableColumnWidthMenu.select();
+		swTableSetColumnWidth.focus();
+		typeKeys("<ctrl a>");
+		typeKeys("<delete>");
+		typeKeys("2");
+		swTableSetColumnDialog.ok();
+		// verify column width
+		writer.focus();
+		writer.openContextMenu();
+		swTableColumnWidthMenu.select();
+		assertEquals("2.00 \"", swTableSetColumnWidth.getText());
+
+	}
+
+	/**
+	 * select column and verify
+	 *
+	 * @throws Exception
+	 */
+	@Test
+	public void testTableColumnSelect() throws Exception {
+		writerInsertTable.ok();
+		assertNotNull(statusBar.getItemTextById(8));
+		writer.focus();
+		writer.openContextMenu();
+		swTableColumnSelectMenu.select();
+
... 284 lines suppressed ...