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

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

commit fb0b81f52934e8be39cd0e613b016f32b3eb18ef
Author: mseidel <msei...@apache.org>
AuthorDate: Mon Jun 15 00:06:36 2020 +0200

    Fixed typos (the the -> the) and some more
    
    (cherry picked from commit 7950f2af818787db817abe90d4dbb3d6d8409899)
---
 .../inc/accessibility/standard/vclxaccessiblelist.hxx             | 2 +-
 main/accessibility/source/extended/textwindowaccessibility.cxx    | 2 +-
 main/basegfx/qa/mkpolygons.pl                                     | 2 +-
 .../src/main/java/com/sun/star/comp/beans/CallWatchThread.java    | 2 +-
 main/bean/qa/complex/bean/ScreenComparer.java                     | 2 +-
 main/cli_ure/source/climaker/climaker_emit.cxx                    | 2 +-
 main/cli_ure/source/uno_bridge/cli_bridge.cxx                     | 2 +-
 main/cli_ure/source/uno_bridge/cli_data.cxx                       | 2 +-
 main/cli_ure/source/uno_bridge/cli_proxy.h                        | 2 +-
 main/comphelper/inc/comphelper/accimplaccess.hxx                  | 2 +-
 main/connectivity/source/drivers/dbase/DTable.cxx                 | 2 +-
 main/connectivity/source/inc/adabas/BCatalog.hxx                  | 2 +-
 main/cppuhelper/source/factory.cxx                                | 2 +-
 main/cui/source/dialogs/SpellDialog.cxx                           | 2 +-
 main/cui/source/dialogs/hyphen.cxx                                | 6 +++---
 main/dbaccess/qa/complex/dbaccess/DatabaseDocument.java           | 2 +-
 main/dbaccess/source/core/api/SingleSelectQueryComposer.cxx       | 2 +-
 main/dbaccess/source/ext/macromigration/migrationengine.cxx       | 2 +-
 main/dbaccess/source/ui/browser/sbagrid.cxx                       | 2 +-
 main/dbaccess/source/ui/dlg/generalpage.cxx                       | 2 +-
 main/dbaccess/source/ui/dlg/generalpage.hxx                       | 2 +-
 main/dbaccess/source/ui/dlg/indexfieldscontrol.cxx                | 2 +-
 main/dbaccess/source/ui/dlg/tablespage.cxx                        | 2 +-
 main/dbaccess/source/ui/inc/TableController.hxx                   | 2 +-
 main/desktop/source/app/officeipcthread.cxx                       | 4 ++--
 main/desktop/source/deployment/registry/inc/dp_backend.h          | 2 +-
 .../drawinglayer/inc/drawinglayer/primitive2d/baseprimitive2d.hxx | 2 +-
 .../drawinglayer/inc/drawinglayer/primitive3d/baseprimitive3d.hxx | 2 +-
 main/dtrans/source/win32/dnd/target.cxx                           | 2 +-
 main/editeng/inc/editeng/AccessibleContextBase.hxx                | 2 +-
 main/editeng/inc/editeng/AccessibleEditableTextPara.hxx           | 2 +-
 main/editeng/source/accessibility/AccessibleStaticTextBase.cxx    | 2 +-
 main/embeddedobj/source/inc/oleembobj.hxx                         | 2 +-
 main/extensions/source/abpilot/fieldmappingimpl.hxx               | 2 +-
 main/extensions/source/bibliography/datman.cxx                    | 2 +-
 main/extensions/source/macosx/spotlight/unzip.m                   | 2 +-
 main/extensions/source/ole/oleobjw.cxx                            | 2 +-
 main/extensions/source/propctrlr/commoncontrol.cxx                | 2 +-
 .../filter/source/xslt/export/spreadsheetml/ooo2spreadsheetml.xsl | 2 +-
 main/filter/source/xslt/odf2xhtml/export/xhtml/opendoc2xhtml.xsl  | 2 +-
 main/forms/source/component/FormComponent.cxx                     | 2 +-
 main/forms/source/component/FormattedField.cxx                    | 2 +-
 main/forms/source/inc/windowstateguard.hxx                        | 2 +-
 main/fpicker/source/win32/filepicker/asynceventnotifier.cxx       | 2 +-
 main/framework/source/layoutmanager/layoutmanager.cxx             | 2 +-
 main/helpcontent2/source/text/shared/01/06202000.xhp              | 2 +-
 main/helpcontent2/source/text/shared/02/01170101.xhp              | 2 +-
 .../inc_ooolangpack/windows/msi_templates/_Validat.idt            | 2 +-
 .../inc_openoffice/windows/msi_templates/_Validat.idt             | 2 +-
 .../instsetoo_native/inc_sdkoo/windows/msi_templates/_Validat.idt | 2 +-
 main/instsetoo_native/inc_ure/windows/msi_templates/_Validat.idt  | 2 +-
 .../JavaSetup/org/openoffice/setup/Installer/LinuxInstaller.java  | 2 +-
 .../src/JavaSetup/org/openoffice/setup/Util/ModuleCtrl.java       | 2 +-
 main/javaunohelper/com/sun/star/lib/uno/helper/PropertySet.java   | 2 +-
 main/javaunohelper/com/sun/star/lib/uno/helper/WeakAdapter.java   | 2 +-
 .../test/com/sun/star/lib/uno/helper/PropertySet_Test.java        | 4 ++--
 .../java/com/sun/star/comp/servicemanager/ServiceManager.java     | 2 +-
 main/jvmfwk/inc/jvmfwk/framework.h                                | 2 +-
 main/jvmfwk/plugins/sunmajor/pluginlib/util.hxx                   | 2 +-
 main/jvmfwk/source/elements.hxx                                   | 3 +--
 main/l10ntools/source/xmlparse.cxx                                | 2 +-
 .../examples/DevelopersGuide/Accessibility/TextualDisplay.java    | 2 +-
 .../OfficeDev/DesktopEnvironment/FunctionHelper.java              | 2 +-
 main/odk/examples/DevelopersGuide/Spreadsheet/DataPilotReadme.txt | 2 +-
 main/odk/examples/java/Spreadsheet/SCalc.java                     | 4 ++--
 main/offapi/com/sun/star/document/XUndoManagerListener.idl        | 2 +-
 main/offapi/com/sun/star/form/runtime/XFilterController.idl       | 2 +-
 main/offapi/com/sun/star/linguistic2/XLanguageGuessing.idl        | 2 +-
 main/offapi/com/sun/star/sdb/OfficeDatabaseDocument.idl           | 2 +-
 main/offapi/com/sun/star/sdb/application/XDatabaseDocumentUI.idl  | 4 ++--
 main/offapi/com/sun/star/util/PathSubstitution.idl                | 2 +-
 main/officecfg/registry/schema/org/openoffice/Office/Common.xcs   | 6 +++---
 main/oox/inc/oox/xls/chartsheetfragment.hxx                       | 2 +-
 main/oox/inc/oox/xls/worksheetfragment.hxx                        | 4 ++--
 .../src/org/apache/openoffice/ooxml/parser/StateMachine.java      | 2 +-
 main/qadevOOo/runner/convwatch/MSOfficePrint.java                 | 6 +++---
 main/qadevOOo/runner/graphical/MSOfficePostscriptCreator.java     | 6 +++---
 main/qadevOOo/runner/helper/LoggingThread.java                    | 2 +-
 .../sc_AccessibleEditableTextPara_PreviewCell.xba                 | 2 +-
 main/qadevOOo/tests/java/ifc/awt/_XControl.java                   | 2 +-
 main/qadevOOo/tests/java/mod/_sc/ScHeaderFieldObj.java            | 2 +-
 main/reportdesign/source/ui/inc/ReportWindow.hxx                  | 2 +-
 main/reportdesign/source/ui/inc/ScrollHelper.hxx                  | 2 +-
 main/reportdesign/source/ui/inc/ViewsWindow.hxx                   | 2 +-
 main/sal/inc/osl/process.h                                        | 2 +-
 main/sal/osl/w32/interlck.c                                       | 2 +-
 main/sc/addin/datefunc/dfa.cl                                     | 2 +-
 main/sc/source/ui/inc/AccessibleContextBase.hxx                   | 2 +-
 main/scaddins/source/datefunc/datefunc.cxx                        | 2 +-
 .../scripting/examples/beanshell/HelloWorld/parcel-descriptor.xml | 2 +-
 .../examples/javascript/HelloWorld/parcel-descriptor.xml          | 2 +-
 main/scripting/source/vbaevents/eventhelper.cxx                   | 4 ++--
 main/sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx    | 2 +-
 main/sd/source/ui/accessibility/AccessibleViewForwarder.cxx       | 4 ++--
 .../sd/source/ui/framework/configuration/ConfigurationUpdater.cxx | 4 ++--
 main/sd/source/ui/framework/configuration/ResourceId.cxx          | 2 +-
 .../source/ui/slidesorter/inc/controller/SlsAnimationFunction.hxx | 2 +-
 main/sd/source/ui/slidesorter/inc/controller/SlsPageSelector.hxx  | 2 +-
 main/sd/source/ui/view/ViewShellBase.cxx                          | 4 ++--
 main/sd/source/ui/view/drviews7.cxx                               | 4 ++--
 main/sd/source/ui/view/outlnvsh.cxx                               | 2 +-
 main/sd/source/ui/view/sdwindow.cxx                               | 2 +-
 main/sdext/source/presenter/PresenterConfigurationAccess.hxx      | 2 +-
 .../opensolaris/bundledextensions/svc-ooo_bundled_extensions      | 2 +-
 .../source/win32/customactions/patch/swappatchfiles.cxx           | 2 +-
 .../source/win32/customactions/shellextensions/upgrade.cxx        | 2 +-
 main/sfx2/source/sidebar/TabItem.hxx                              | 2 +-
 main/shell/source/tools/lngconvex/lngconvex.cxx                   | 2 +-
 main/slideshow/qa/tools/mkeffects.pl                              | 2 +-
 main/slideshow/qa/tools/mktransitions.pl                          | 2 +-
 main/soltools/mkdepend/imakemdep.h                                | 4 ++--
 main/sot/source/sdstor/ucbstorage.cxx                             | 2 +-
 main/svl/source/misc/filenotation.cxx                             | 2 +-
 main/svl/source/undo/undo.cxx                                     | 2 +-
 main/svtools/source/contnr/imivctl1.cxx                           | 2 +-
 main/svtools/source/filter/wmf/winwmf.cxx                         | 2 +-
 main/svtools/source/table/tablecontrol_impl.hxx                   | 2 +-
 main/svx/source/accessibility/AccessibleShape.cxx                 | 2 +-
 main/svx/source/dialog/pfiledlg.cxx                               | 4 ++--
 main/svx/source/form/formcontroller.cxx                           | 2 +-
 main/svx/source/inc/fmvwimp.hxx                                   | 2 +-
 main/svx/source/inc/svxrectctaccessiblecontext.hxx                | 2 +-
 main/sw/inc/ndgrf.hxx                                             | 2 +-
 main/sw/inc/pagepreviewlayout.hxx                                 | 4 ++--
 main/sw/source/core/access/acccontext.hxx                         | 2 +-
 main/sw/source/core/doc/doc.cxx                                   | 2 +-
 main/sw/source/core/graphic/ndgrf.cxx                             | 2 +-
 main/sw/source/core/txtnode/thints.cxx                            | 2 +-
 main/sw/source/core/txtnode/txtedt.cxx                            | 2 +-
 main/sw/source/filter/ww8/ww8atr.cxx                              | 2 +-
 main/sw/source/filter/ww8/ww8par2.cxx                             | 2 +-
 main/sw/source/ui/lingu/hhcwrp.cxx                                | 2 +-
 main/sw/source/ui/misc/redlndlg.cxx                               | 2 +-
 main/sw/source/ui/shells/listsh.cxx                               | 2 +-
 main/swext/mediawiki/src/filter/odt2mediawiki.xsl                 | 8 ++++----
 main/toolkit/source/controls/accessiblecontrolcontext.cxx         | 2 +-
 main/tools/source/generic/config.cxx                              | 2 +-
 main/ucb/source/ucp/file/shell.cxx                                | 4 ++--
 main/ucb/source/ucp/file/shell.hxx                                | 4 ++--
 main/ucbhelper/inc/ucbhelper/resultset.hxx                        | 4 ++--
 main/ucbhelper/source/provider/resultset.cxx                      | 2 +-
 main/uui/source/passwordcontainer.hxx                             | 2 +-
 main/uui/source/secmacrowarnings.cxx                              | 2 +-
 main/vcl/source/window/window.cxx                                 | 4 ++--
 main/wizards/source/formwizard/DBMeta.xba                         | 2 +-
 main/writerfilter/source/dmapper/NumberingManager.cxx             | 2 +-
 .../org/openoffice/xmerge/converter/xml/sxc/SheetSettings.java    | 2 +-
 .../xmerge/source/palmtests/qa/test_spec/convertor_test_spec.html | 2 +-
 main/xmlhelp/source/cxxhelp/provider/databases.hxx                | 4 ++--
 main/xmloff/inc/txtflde.hxx                                       | 2 +-
 main/xmloff/inc/xmloff/formlayerexport.hxx                        | 2 +-
 main/xmloff/source/forms/elementimport.cxx                        | 2 +-
 main/xmloff/source/text/txtstyle.cxx                              | 2 +-
 main/xmlsecurity/source/framework/buffernode.cxx                  | 2 +-
 main/xmlsecurity/source/xmlsec/xmlstreamio.cxx                    | 4 ++--
 155 files changed, 185 insertions(+), 186 deletions(-)

diff --git 
a/main/accessibility/inc/accessibility/standard/vclxaccessiblelist.hxx 
b/main/accessibility/inc/accessibility/standard/vclxaccessiblelist.hxx
index 073ea43..067c336 100644
--- a/main/accessibility/inc/accessibility/standard/vclxaccessiblelist.hxx
+++ b/main/accessibility/inc/accessibility/standard/vclxaccessiblelist.hxx
@@ -84,7 +84,7 @@ public:
         the XAccessibleSelection interface is not supported and the items
         are transient.
         @param sTextOfSelectedItem
-            This string contains the text of the the currently selected
+            This string contains the text of the currently selected
             item.  It is used to retrieve the index of that item.
     */
     void UpdateSelection (::rtl::OUString sTextOfSelectedItem);
diff --git a/main/accessibility/source/extended/textwindowaccessibility.cxx 
b/main/accessibility/source/extended/textwindowaccessibility.cxx
index ca2c034..bf32648 100644
--- a/main/accessibility/source/extended/textwindowaccessibility.cxx
+++ b/main/accessibility/source/extended/textwindowaccessibility.cxx
@@ -1647,7 +1647,7 @@ void Document::Notify(::SfxBroadcaster &, ::SfxHint const 
& rHint)
             // TEXT_HINT_FORMATPARAs, followed by an optional
             // TEXT_HINT_TEXTHEIGHTCHANGED, followed in all cases by one
             // TEXT_HINT_TEXTFORMATTED.  Only the TEXT_HINT_FORMATPARAs contain
-            // the the numbers of the affected paragraphs, but they are sent
+            // the numbers of the affected paragraphs, but they are sent
             // before the changes are applied.  Therefore, 
TEXT_HINT_FORMATPARAs
             // are just buffered until another hint comes in:
             {
diff --git a/main/basegfx/qa/mkpolygons.pl b/main/basegfx/qa/mkpolygons.pl
index 5ff2715..e32fc3d 100644
--- a/main/basegfx/qa/mkpolygons.pl
+++ b/main/basegfx/qa/mkpolygons.pl
@@ -84,7 +84,7 @@ sub   zip_dirtree
     
     #  First transfer the drive from $cwd to $zip_name.  This is a
     #  workaround for a bug in file_name_is_absolute which thinks
-    #  the the path \bla is an absolute path under DOS.
+    #  the path \bla is an absolute path under DOS.
     my ($volume,$directories,$file) = File::Spec->splitpath ($zip_name);
     my ($volume_cwd,$directories_cwd,$file_cwd) = File::Spec->splitpath ($cwd);
     $volume = $volume_cwd if ($volume eq "");
diff --git 
a/main/bean/java/officebean/src/main/java/com/sun/star/comp/beans/CallWatchThread.java
 
b/main/bean/java/officebean/src/main/java/com/sun/star/comp/beans/CallWatchThread.java
index 5e01043..71d5a7d 100644
--- 
a/main/bean/java/officebean/src/main/java/com/sun/star/comp/beans/CallWatchThread.java
+++ 
b/main/bean/java/officebean/src/main/java/com/sun/star/comp/beans/CallWatchThread.java
@@ -27,7 +27,7 @@ package com.sun.star.comp.beans;
 /** Helper class to watch calls into AOO with a timeout.
  */
 // Do not add the thread instances to a threadgroup. When testing the bean in
-// an applet it turned out the the ThreadGroup was in an inconsistent state
+// an applet it turned out the ThreadGroup was in an inconsistent state
 // after navigating off the site that contains the applet and back to it.
 // That was tested with a Sun JRE 1.4.2_06
 public class CallWatchThread extends Thread
diff --git a/main/bean/qa/complex/bean/ScreenComparer.java 
b/main/bean/qa/complex/bean/ScreenComparer.java
index aece7e6..8a45430 100644
--- a/main/bean/qa/complex/bean/ScreenComparer.java
+++ b/main/bean/qa/complex/bean/ScreenComparer.java
@@ -169,7 +169,7 @@ class ScreenComparer
 
         m_imgDiff = new BufferedImage(w1, h1, BufferedImage.TYPE_INT_ARGB);
 
-        //First check if the the images differ.
+        //First check if the images differ.
         int lenAr = pixels1.length;
         int index = 0;
         for (index = 0; index < lenAr; index++)
diff --git a/main/cli_ure/source/climaker/climaker_emit.cxx 
b/main/cli_ure/source/climaker/climaker_emit.cxx
index 9651347..f4f90ee 100644
--- a/main/cli_ure/source/climaker/climaker_emit.cxx
+++ b/main/cli_ure/source/climaker/climaker_emit.cxx
@@ -256,7 +256,7 @@ System::String* mapUnoPolymorphicName(System::String* 
unoName)
                        System::String * sParam = unoName->Substring(index, cur 
- index);
                        //skip the comma
                        cur++;
-                       //the the index to the beginning of the next param
+                       //the index to the beginning of the next param
                        index = cur;
                        builder->Append(mapUnoTypeName(sParam));
                }
diff --git a/main/cli_ure/source/uno_bridge/cli_bridge.cxx 
b/main/cli_ure/source/uno_bridge/cli_bridge.cxx
index 8f1ba4d..cf0b951 100644
--- a/main/cli_ure/source/uno_bridge/cli_bridge.cxx
+++ b/main/cli_ure/source/uno_bridge/cli_bridge.cxx
@@ -187,7 +187,7 @@ namespace cli_uno
 
 
//__________________________________________________________________________________________________
 /** ToDo
-    I doubt that the the case that the ref count raises from 0 to 1
+    I doubt that the case that the ref count raises from 0 to 1
     can occur.  uno_ext_getMapping returns an acquired mapping. Every time
     that function is called then a new mapping is created. Following the
     rules of ref counted objects, then if the ref count is null no one has
diff --git a/main/cli_ure/source/uno_bridge/cli_data.cxx 
b/main/cli_ure/source/uno_bridge/cli_data.cxx
index 6d4d1a7..b418594 100644
--- a/main/cli_ure/source/uno_bridge/cli_data.cxx
+++ b/main/cli_ure/source/uno_bridge/cli_data.cxx
@@ -594,7 +594,7 @@ System::String* mapPolymorphicName(System::String* unoName, 
bool bCliToUno)
                        System::String * sParam = unoName->Substring(index, cur 
- index);
                        //skip the comma
                        cur++;
-                       //the the index to the beginning of the next param
+                       //the index to the beginning of the next param
                        index = cur;
             if (bCliToUno)
             {
diff --git a/main/cli_ure/source/uno_bridge/cli_proxy.h 
b/main/cli_ure/source/uno_bridge/cli_proxy.h
index c6183db..8a6eece 100644
--- a/main/cli_ure/source/uno_bridge/cli_proxy.h
+++ b/main/cli_ure/source/uno_bridge/cli_proxy.h
@@ -70,7 +70,7 @@ public __gc class  UnoInterfaceProxy: public srrp::RealProxy,
      */
     sc::ArrayList* m_listIfaces;
     /** The number of UNO interfaces this proxy represents. It corresponds
-        to the the number of elements in m_listIfaces.
+        to the number of elements in m_listIfaces.
     */    
     int m_numUnoIfaces;
     /** The list is filled with additional UnoInterfaceProxy object due
diff --git a/main/comphelper/inc/comphelper/accimplaccess.hxx 
b/main/comphelper/inc/comphelper/accimplaccess.hxx
index aadb04e..d7a445f 100644
--- a/main/comphelper/inc/comphelper/accimplaccess.hxx
+++ b/main/comphelper/inc/comphelper/accimplaccess.hxx
@@ -46,7 +46,7 @@ namespace comphelper
                                                                >       
OAccImpl_Base;
        struct OAccImpl_Impl;
 
-       /** This is a helper class which allows accessing several aspects of 
the the implementation
+       /** This is a helper class which allows accessing several aspects of 
the implementation
                of an AccessibleContext.
 
                <p>For instance, when you want to implement a context which can 
be re-parented, you:
diff --git a/main/connectivity/source/drivers/dbase/DTable.cxx 
b/main/connectivity/source/drivers/dbase/DTable.cxx
index 8e3f819..a1d0086 100644
--- a/main/connectivity/source/drivers/dbase/DTable.cxx
+++ b/main/connectivity/source/drivers/dbase/DTable.cxx
@@ -2199,7 +2199,7 @@ void ODbaseTable::alterColumn(sal_Int32 index,
        try
        {
                OSL_ENSURE(descriptor.is(),"ODbaseTable::alterColumn: 
descriptor can not be null!");
-               // creates a copy of the the original column and copy all 
properties from descriptor in xCopyColumn
+               // creates a copy of the original column and copy all 
properties from descriptor in xCopyColumn
                Reference<XPropertySet> xCopyColumn;
                if(xOldColumn.is())
                        xCopyColumn = xOldColumn->createDataDescriptor();
diff --git a/main/connectivity/source/inc/adabas/BCatalog.hxx 
b/main/connectivity/source/inc/adabas/BCatalog.hxx
index 538ad5e..7101d08 100644
--- a/main/connectivity/source/inc/adabas/BCatalog.hxx
+++ b/main/connectivity/source/inc/adabas/BCatalog.hxx
@@ -63,7 +63,7 @@ namespace connectivity
                        sdbcx::OCollection*             getPrivateViews()       
const { return m_pViews; }
 
                        static const ::rtl::OUString& getDot();
-                       // correct the the column properties of 
float/real/double values
+                       // correct the column properties of float/real/double 
values
                        // all & parameters are IN and OUT
                        static void correctColumnProperties(sal_Int32 _nPrec, 
sal_Int32& _rnType,::rtl::OUString& _rsTypeName);
                };
diff --git a/main/cppuhelper/source/factory.cxx 
b/main/cppuhelper/source/factory.cxx
index 654b11b..6fd0c9f 100644
--- a/main/cppuhelper/source/factory.cxx
+++ b/main/cppuhelper/source/factory.cxx
@@ -864,7 +864,7 @@ Reference< XInterface > 
ORegistryFactoryHelper::createModuleFactory()
         // the location of the program code of the implementation
         Reference<XRegistryKey > xLocationKey = xImplementationKey->openKey(
             OUString( RTL_CONSTASCII_USTRINGPARAM("/UNO/URL") ) );
-        // is the the key of the right type ?
+        // is the key of the right type ?
         if( xLocationKey.is() && xLocationKey->getValueType() == 
RegistryValueType_ASCII )
         {
             // one implementation found -> try to activate
diff --git a/main/cui/source/dialogs/SpellDialog.cxx 
b/main/cui/source/dialogs/SpellDialog.cxx
index 839569e..efb6471 100644
--- a/main/cui/source/dialogs/SpellDialog.cxx
+++ b/main/cui/source/dialogs/SpellDialog.cxx
@@ -1482,7 +1482,7 @@ long SentenceEditWindow_Impl::PreNotify( NotifyEvent& 
rNEvt )
                                }
 
                 //check previous position if this exists
-                               //that is a redundant in the case the the 
attribute found above already is on the left cursor side
+                               //that is a redundant in the case the attribute 
found above already is on the left cursor side
                                //but it's o.k. for two errors/fields side by 
side
                 if(aCursor.GetIndex())
                 {
diff --git a/main/cui/source/dialogs/hyphen.cxx 
b/main/cui/source/dialogs/hyphen.cxx
index b6da3a5..2d883b4 100644
--- a/main/cui/source/dialogs/hyphen.cxx
+++ b/main/cui/source/dialogs/hyphen.cxx
@@ -267,12 +267,12 @@ String 
SvxHyphenWordDialog_Impl::EraseUnusableHyphens_Impl(
     // the rightmost valid hyphenation position according to 1)
     //
     // Example:
-    // If the possible hyphenation position in 'multi-line-editor' are to eb 
marked 
+    // If the possible hyphenation position in 'multi-line-editor' are to be 
marked 
     // by '=' then the text will look like this 'mul=ti-line-ed=it=or'.
     // If now the first line is only large enough for 'multi-line-edi' we need 
to discard
-    // the last possible hyphnation point because of 1). The the right most 
valid 
+    // the last possible hyphenation point because of 1). The right most valid 
     // hyphenation position is "ed=itor". The first '-' left of this position 
is 
-    // "line-ed", thus because of 2) we now need to discard all possible 
hyphneation
+    // "line-ed", thus because of 2) we now need to discard all possible 
hyphenation
     // positions to the left of that as well. Thus in the end leaving us with 
just
     // 'multi-line-ed=itor' as return value for this function. (Just one valid 
hyphenation
     // position for the user too choose from. However ALL the '-' characters 
in the word
diff --git a/main/dbaccess/qa/complex/dbaccess/DatabaseDocument.java 
b/main/dbaccess/qa/complex/dbaccess/DatabaseDocument.java
index 286a5ee..42ffff4 100644
--- a/main/dbaccess/qa/complex/dbaccess/DatabaseDocument.java
+++ b/main/dbaccess/qa/complex/dbaccess/DatabaseDocument.java
@@ -544,7 +544,7 @@ public class DatabaseDocument extends TestCase implements 
com.sun.star.document.
      *  created when needed.
      *  In particular, a document can be closed (this is what happens when the 
last UI window displaying
      *  this document is closed), and then dies. Now when the other "view", 
the data source, still exists,
-     *  the the underlying document data is not discarded, but kept alive 
(else the data source would die
+     *  the underlying document data is not discarded, but kept alive (else 
the data source would die
      *  just because the document dies, which is not desired). If the document 
is loaded, again, then
      *  it is re-created, using the data of its previous "incarnation".
      *
diff --git a/main/dbaccess/source/core/api/SingleSelectQueryComposer.cxx 
b/main/dbaccess/source/core/api/SingleSelectQueryComposer.cxx
index c7b15d1..3fc5b6e 100644
--- a/main/dbaccess/source/core/api/SingleSelectQueryComposer.cxx
+++ b/main/dbaccess/source/core/api/SingleSelectQueryComposer.cxx
@@ -632,7 +632,7 @@ void SAL_CALL 
OSingleSelectQueryComposer::setElementaryQuery( const ::rtl::OUStr
     for ( SQLPart eLoopParts = Where; eLoopParts != SQLPartCount; incSQLPart( 
eLoopParts ) )
         m_aElementaryParts[ eLoopParts ] = getSQLPart( eLoopParts, 
m_aSqlIterator, sal_False );
 
-    // reset the the AdditiveIterator: m_aPureSelectSQL may have changed
+    // reset the AdditiveIterator: m_aPureSelectSQL may have changed
     try
     {
         parseAndCheck_throwError( m_aSqlParser, composeStatementFromParts( 
aAdditiveClauses ), m_aAdditiveIterator, *this );
diff --git a/main/dbaccess/source/ext/macromigration/migrationengine.cxx 
b/main/dbaccess/source/ext/macromigration/migrationengine.cxx
index d14c51a..1de7ef8 100644
--- a/main/dbaccess/source/ext/macromigration/migrationengine.cxx
+++ b/main/dbaccess/source/ext/macromigration/migrationengine.cxx
@@ -691,7 +691,7 @@ namespace dbmm
             Reference< XStorageBasedDocument > xStorageDoc( _rxDocument, 
UNO_QUERY_THROW );
             Reference< XStorage > xDocStorage( 
xStorageDoc->getDocumentStorage(), UNO_QUERY_THROW );
 
-            // the the "Scripts" storage exist, or if it does not (yet) exist 
and we are in write mode
+            // the "Scripts" storage exist, or if it does not (yet) exist and 
we are in write mode
             // => open the storage
             if  (   (   xDocStorage->hasByName( lcl_getScriptsStorageName() )
                     &&  xDocStorage->isStorageElement( 
lcl_getScriptsStorageName() )
diff --git a/main/dbaccess/source/ui/browser/sbagrid.cxx 
b/main/dbaccess/source/ui/browser/sbagrid.cxx
index 9d82230..f1c79d6 100644
--- a/main/dbaccess/source/ui/browser/sbagrid.cxx
+++ b/main/dbaccess/source/ui/browser/sbagrid.cxx
@@ -812,7 +812,7 @@ sal_Bool SbaGridHeader::ImplStartColumnDrag(sal_Int8 
_nAction, const Point& _rMo
        }
        if (!bResizingCol)
        {
-               // force the the base class to end it's drag mode
+               // force the base class to end it's drag mode
                EndTracking(ENDTRACK_CANCEL | ENDTRACK_END);
 
                // because we have 3d-buttons the select handler is called from 
MouseButtonUp, but StartDrag
diff --git a/main/dbaccess/source/ui/dlg/generalpage.cxx 
b/main/dbaccess/source/ui/dlg/generalpage.cxx
index fb6c814..3d44348 100644
--- a/main/dbaccess/source/ui/dlg/generalpage.cxx
+++ b/main/dbaccess/source/ui/dlg/generalpage.cxx
@@ -280,7 +280,7 @@ namespace dbaui
        
//-------------------------------------------------------------------------
        void OGeneralPage::onTypeSelected(const ::rtl::OUString& _sURLPrefix)
        {
-               // the the new URL text as indicated by the selection history
+               // the new URL text as indicated by the selection history
                implSetCurrentType( _sURLPrefix );
 
                switchMessage(_sURLPrefix);
diff --git a/main/dbaccess/source/ui/dlg/generalpage.hxx 
b/main/dbaccess/source/ui/dlg/generalpage.hxx
index 27872fc..5fa3860 100644
--- a/main/dbaccess/source/ui/dlg/generalpage.hxx
+++ b/main/dbaccess/source/ui/dlg/generalpage.hxx
@@ -158,7 +158,7 @@ namespace dbaui
 
                void switchMessage(const ::rtl::OUString& _sURLPrefix);
 
-        /// sets the the title of the parent dialog
+        /// sets the title of the parent dialog
                void setParentTitle(const ::rtl::OUString& _sURLPrefix);
 
                DECL_LINK(OnDatasourceTypeSelected, ListBox*);
diff --git a/main/dbaccess/source/ui/dlg/indexfieldscontrol.cxx 
b/main/dbaccess/source/ui/dlg/indexfieldscontrol.cxx
index b6b0bf1..75ea5aa 100644
--- a/main/dbaccess/source/ui/dlg/indexfieldscontrol.cxx
+++ b/main/dbaccess/source/ui/dlg/indexfieldscontrol.cxx
@@ -198,7 +198,7 @@ DBG_NAME(IndexFieldsControl)
                SetUpdateMode(sal_False);
                // remove all rows
                RowRemoved(1, GetRowCount());
-               // insert rows for the the fields
+               // insert rows for the fields
                RowInserted(GetRowCount(), m_aFields.size(), sal_False);
                // insert an additional row for a new field for that index
 //             if(!m_nMaxColumnsInIndex || GetRowCount() < 
m_nMaxColumnsInIndex )
diff --git a/main/dbaccess/source/ui/dlg/tablespage.cxx 
b/main/dbaccess/source/ui/dlg/tablespage.cxx
index 5762abf..e0c29f0 100644
--- a/main/dbaccess/source/ui/dlg/tablespage.cxx
+++ b/main/dbaccess/source/ui/dlg/tablespage.cxx
@@ -462,7 +462,7 @@ DBG_NAME(OTableSubscriptionPage)
                                pExpand = NULL;
                }
 
-               // update the toolbox according the the current selection and 
check state
+               // update the toolbox according to the current selection and 
check state
                OGenericAdministrationPage::implInitControls(_rSet, 
_bSaveValue);
        }
 
diff --git a/main/dbaccess/source/ui/inc/TableController.hxx 
b/main/dbaccess/source/ui/inc/TableController.hxx
index 5b9d282..a3fd359 100644
--- a/main/dbaccess/source/ui/inc/TableController.hxx
+++ b/main/dbaccess/source/ui/inc/TableController.hxx
@@ -107,7 +107,7 @@ namespace dbaui
 
                inline ::std::vector< ::boost::shared_ptr<OTableRow> >* 
getRows() { return &m_vRowList; }
 
-               /// returns the position of the the first empty row
+               /// returns the position of the first empty row
                sal_Int32                                                       
getFirstEmptyRowPosition();
 
                inline const OTypeInfoMap*                      getTypeInfo() 
const { return &m_aTypeInfo; }
diff --git a/main/desktop/source/app/officeipcthread.cxx 
b/main/desktop/source/app/officeipcthread.cxx
index 33fe792..9ce97d0 100644
--- a/main/desktop/source/app/officeipcthread.cxx
+++ b/main/desktop/source/app/officeipcthread.cxx
@@ -448,7 +448,7 @@ OfficeIPCThread::Status 
OfficeIPCThread::EnableOfficeIPCThread()
        // Try to  determine if we are the first office or not! This should 
prevent multiple
        // access to the user directory !
        // First we try to create our pipe if this fails we try to connect. We 
have to do this
-       // in a loop because the the other office can crash or shutdown between 
createPipe
+       // in a loop because the other office can crash or shutdown between 
createPipe
        // and connectPipe!!
 
     OUString            aIniName;
@@ -790,7 +790,7 @@ void SAL_CALL OfficeIPCThread::run()
 
                 // #i18338# (lo)
                 // we only do this if no document was specified on the command 
line,
-                // since this would be inconsistent with the the behaviour of
+                // since this would be inconsistent with the behaviour of
                 // the first process, see OpenClients() (call to 
OpenDefault()) in app.cxx
                 if ( aCmdLineArgs->HasModuleParam() && Desktop::CheckOEM() && 
(!bDocRequestSent))
                                {
diff --git a/main/desktop/source/deployment/registry/inc/dp_backend.h 
b/main/desktop/source/deployment/registry/inc/dp_backend.h
index 8b3d216..5859405 100644
--- a/main/desktop/source/deployment/registry/inc/dp_backend.h
+++ b/main/desktop/source/deployment/registry/inc/dp_backend.h
@@ -321,7 +321,7 @@ protected:
         css::uno::Reference<css::uno::XComponentContext> const & xContext );
 
     /* creates a folder with a unique name.
-       If url is empty then it is created in the the backend folder, otherwise
+       If url is empty then it is created in the backend folder, otherwise
        at a location relative to that folder specified by url.
     */
     ::rtl::OUString createFolder(
diff --git a/main/drawinglayer/inc/drawinglayer/primitive2d/baseprimitive2d.hxx 
b/main/drawinglayer/inc/drawinglayer/primitive2d/baseprimitive2d.hxx
index f9a62b6..33c3527 100644
--- a/main/drawinglayer/inc/drawinglayer/primitive2d/baseprimitive2d.hxx
+++ b/main/drawinglayer/inc/drawinglayer/primitive2d/baseprimitive2d.hxx
@@ -162,7 +162,7 @@ namespace drawinglayer
                        virtual basegfx::B2DRange getB2DRange(const 
geometry::ViewInformation2D& rViewInformation) const;
 
                        /** provide unique ID for fast identifying of known 
primitive implementations in renderers. These use
-                           the the defines from primitivetypes2d.hxx to define 
unique IDs.
+                           the defines from primitivetypes2d.hxx to define 
unique IDs.
                            This method is normally defined using 
DeclPrimitrive2DIDBlock()
              */
                        virtual sal_uInt32 getPrimitive2DID() const = 0;
diff --git a/main/drawinglayer/inc/drawinglayer/primitive3d/baseprimitive3d.hxx 
b/main/drawinglayer/inc/drawinglayer/primitive3d/baseprimitive3d.hxx
index 7bd0ca9..b26e276 100644
--- a/main/drawinglayer/inc/drawinglayer/primitive3d/baseprimitive3d.hxx
+++ b/main/drawinglayer/inc/drawinglayer/primitive3d/baseprimitive3d.hxx
@@ -106,7 +106,7 @@ namespace drawinglayer
                        virtual basegfx::B3DRange getB3DRange(const 
geometry::ViewInformation3D& rViewInformation) const;
 
                        /** provide unique ID for fast identifying of known 
primitive implementations in renderers. These use
-                           the the defines from primitivetypes3d.hxx to define 
unique IDs.
+                           the defines from primitivetypes3d.hxx to define 
unique IDs.
              */
                        virtual sal_uInt32 getPrimitive3DID() const = 0;
 
diff --git a/main/dtrans/source/win32/dnd/target.cxx 
b/main/dtrans/source/win32/dnd/target.cxx
index 1f6b4e2..3ec27a7 100644
--- a/main/dtrans/source/win32/dnd/target.cxx
+++ b/main/dtrans/source/win32/dnd/target.cxx
@@ -646,7 +646,7 @@ void DropTarget::_rejectDrag( const 
Reference<XDropTargetDragContext>& context)
 // is then checked against the allowed actions which can be set through
 // XDropTarget::setDefaultActions. Only those values which are also
 // default actions are returned. If setDefaultActions has not been called
-// beforehand the the default actions comprise all possible actions.
+// beforehand the default actions comprise all possible actions.
 // params: grfKeyState - the modifier keys and mouse buttons currently pressed
 inline sal_Int8 DropTarget::getFilteredActions( DWORD grfKeyState, DWORD 
dwEffect)
 {
diff --git a/main/editeng/inc/editeng/AccessibleContextBase.hxx 
b/main/editeng/inc/editeng/AccessibleContextBase.hxx
index a962a2a..714d36e 100644
--- a/main/editeng/inc/editeng/AccessibleContextBase.hxx
+++ b/main/editeng/inc/editeng/AccessibleContextBase.hxx
@@ -371,7 +371,7 @@ private:
     */
     StringOrigin meDescriptionOrigin;
 
-    /**        Name of this object.  It changes according the the draw page's
+    /**        Name of this object.  It changes according to the draw page's
         display mode.
     */
     ::rtl::OUString msName;
diff --git a/main/editeng/inc/editeng/AccessibleEditableTextPara.hxx 
b/main/editeng/inc/editeng/AccessibleEditableTextPara.hxx
index 08ed163..e117d32 100644
--- a/main/editeng/inc/editeng/AccessibleEditableTextPara.hxx
+++ b/main/editeng/inc/editeng/AccessibleEditableTextPara.hxx
@@ -77,7 +77,7 @@ namespace accessibility
         /// Create accessible object for given parent
         // --> OD 2006-01-11 #i27138#
         // - add parameter <_pParaManager> (default value NULL)
-        //   This has to be the the instance of <AccessibleParaManager>, which
+        //   This has to be the instance of <AccessibleParaManager>, which
         //   created and manages this accessible paragraph.
         AccessibleEditableTextPara ( const ::com::sun::star::uno::Reference< 
::com::sun::star::accessibility::XAccessible >& rParent,
                                      const AccessibleParaManager* 
_pParaManager = NULL );
diff --git a/main/editeng/source/accessibility/AccessibleStaticTextBase.cxx 
b/main/editeng/source/accessibility/AccessibleStaticTextBase.cxx
index 0a0e47b..db7dedc 100644
--- a/main/editeng/source/accessibility/AccessibleStaticTextBase.cxx
+++ b/main/editeng/source/accessibility/AccessibleStaticTextBase.cxx
@@ -919,7 +919,7 @@ sal_Unicode cNewLine(0x0a);
                        }
             //return aRes;
         }
-               //According the the flag we marked before, we have to add "\n" 
at the beginning 
+               //According to the flag we marked before, we have to add "\n" 
at the beginning 
                //or at the end of the result string.
                if ( bStart )
                {
diff --git a/main/embeddedobj/source/inc/oleembobj.hxx 
b/main/embeddedobj/source/inc/oleembobj.hxx
index f512fb0..bf4463d 100644
--- a/main/embeddedobj/source/inc/oleembobj.hxx
+++ b/main/embeddedobj/source/inc/oleembobj.hxx
@@ -174,7 +174,7 @@ class OleEmbeddedObject : public ::cppu::WeakImplHelper5
        // link related stuff
        ::rtl::OUString m_aLinkURL; // ???
 
-       // points to own view provider if the the object has no server
+       // points to own view provider if the object has no server
        OwnView_Impl*   m_pOwnView;
 
        // whether the object should be initialized from clipboard in case of 
default initialization
diff --git a/main/extensions/source/abpilot/fieldmappingimpl.hxx 
b/main/extensions/source/abpilot/fieldmappingimpl.hxx
index 30e12bc..aa47c56 100644
--- a/main/extensions/source/abpilot/fieldmappingimpl.hxx
+++ b/main/extensions/source/abpilot/fieldmappingimpl.hxx
@@ -104,7 +104,7 @@ namespace abp
                        const ::rtl::OUString& _rTableName
                ) SAL_THROW ( ( ) );
 
-               /** writes the configuration entry which states the the pilot 
has been completed successfully
+               /** writes the configuration entry which states the pilot has 
been completed successfully
                */
                void markPilotSuccess(
                        const ::com::sun::star::uno::Reference< 
::com::sun::star::lang::XMultiServiceFactory >& _rxORB
diff --git a/main/extensions/source/bibliography/datman.cxx 
b/main/extensions/source/bibliography/datman.cxx
index 69d4eb5..2fa04e6 100644
--- a/main/extensions/source/bibliography/datman.cxx
+++ b/main/extensions/source/bibliography/datman.cxx
@@ -1427,7 +1427,7 @@ Reference< awt::XControlModel >   
BibDataManager::createGridModel(const ::rtl::OUS
                Any aAny; aAny <<= aControlName;
                xPropSet->setPropertyValue( C2U("DefaultControl"),aAny );
 
-               // the the helpURL
+               // the helpURL
                ::rtl::OUString uProp(C2U("HelpURL"));
                Reference< XPropertySetInfo > xPropInfo = 
xPropSet->getPropertySetInfo();
                if (xPropInfo->hasPropertyByName(uProp))
diff --git a/main/extensions/source/macosx/spotlight/unzip.m 
b/main/extensions/source/macosx/spotlight/unzip.m
index 7903580..e4902c8 100644
--- a/main/extensions/source/macosx/spotlight/unzip.m
+++ b/main/extensions/source/macosx/spotlight/unzip.m
@@ -421,7 +421,7 @@ extern unzFile ZEXPORT unzOpen2 (path, pzlib_filefunc_def)
 
     uLong number_disk;          /* number of the current dist, used for
                                    spaning ZIP, unsupported, always 0*/
-    uLong number_disk_with_CD;  /* number the the disk with central dir, used
+    uLong number_disk_with_CD;  /* number of the disk with central dir, used
                                    for spaning ZIP, unsupported, always 0*/
     uLong number_entry_CD;      /* total number of entries in
                                    the central dir
diff --git a/main/extensions/source/ole/oleobjw.cxx 
b/main/extensions/source/ole/oleobjw.cxx
index f9aac5b..4cff162 100644
--- a/main/extensions/source/ole/oleobjw.cxx
+++ b/main/extensions/source/ole/oleobjw.cxx
@@ -1176,7 +1176,7 @@ Any  IUnknownWrapper_Impl::invokeWithDispIdUnoTlb(const 
OUString& sFunctionName,
 void SAL_CALL IUnknownWrapper_Impl::initialize( const Sequence< Any >& 
aArguments ) throw(Exception, RuntimeException)
 {
        // 1.parameter is IUnknown
-       // 2.parameter is a boolean which indicates if the the COM pointer was 
a IUnknown or IDispatch
+       // 2.parameter is a boolean which indicates if the COM pointer was a 
IUnknown or IDispatch
        // 3.parameter is a Sequence<Type> 
        o2u_attachCurrentThread();
        OSL_ASSERT(aArguments.getLength() == 3);
diff --git a/main/extensions/source/propctrlr/commoncontrol.cxx 
b/main/extensions/source/propctrlr/commoncontrol.cxx
index e47b87f..c7be0cc 100644
--- a/main/extensions/source/propctrlr/commoncontrol.cxx
+++ b/main/extensions/source/propctrlr/commoncontrol.cxx
@@ -128,7 +128,7 @@ namespace pcr
                m_pControlWindow->SetSizePixel(aComboBox.GetSizePixel());
 
         // TODO/UNOize: why do the controls this themselves? Shouldn't this be 
the task
-        // of the the browser listbox/line?
+        // of the browser listbox/line?
        }
 
        //------------------------------------------------------------------
diff --git a/main/filter/source/xslt/export/spreadsheetml/ooo2spreadsheetml.xsl 
b/main/filter/source/xslt/export/spreadsheetml/ooo2spreadsheetml.xsl
index 78c9c67..ad4be4d 100644
--- a/main/filter/source/xslt/export/spreadsheetml/ooo2spreadsheetml.xsl
+++ b/main/filter/source/xslt/export/spreadsheetml/ooo2spreadsheetml.xsl
@@ -86,7 +86,7 @@
                 To access contents of a office file (content like the 
meta.xml, styles.xml file or  graphics) a URL could be chosen.
         This could be even a JAR URL. The sourceBase of the content URL 
"jar:file:/C:/temp/Test.sxw!/content.xml" would be
         "jar:file:/C:/temp/Test.sxw!/" for example.
-                When working with OpenOffice API a Package-URL encoded over 
HTTP can be used to access the jared contents of the the jared document. -->
+                When working with OpenOffice API a Package-URL encoded over 
HTTP can be used to access the jared contents of the jared document. -->
        <xsl:param name="sourceBaseURL" select="'./'" />
 
        <!-- OPTIONAL: (MANDATORY: for session management by URL rewriting)
diff --git a/main/filter/source/xslt/odf2xhtml/export/xhtml/opendoc2xhtml.xsl 
b/main/filter/source/xslt/odf2xhtml/export/xhtml/opendoc2xhtml.xsl
index df04b39..087277a 100644
--- a/main/filter/source/xslt/odf2xhtml/export/xhtml/opendoc2xhtml.xsl
+++ b/main/filter/source/xslt/odf2xhtml/export/xhtml/opendoc2xhtml.xsl
@@ -98,7 +98,7 @@
                 To access contents of a office file (content like the 
meta.xml, styles.xml file or  graphics) a URL could be chosen.
         This could be even a JAR URL. The sourceBase of the content URL 
"jar:file:/C:/temp/Test.sxw!/content.xml" would be
         "jar:file:/C:/temp/Test.sxw!/" for example.
-                When working with OpenOffice API a Package-URL encoded over 
HTTP can be used to access the jared contents of the the jared document. -->
+                When working with OpenOffice API a Package-URL encoded over 
HTTP can be used to access the jared contents of the jared document. -->
        <xsl:param name="sourceBaseURL" select="'./'" />
 
        <!-- OPTIONAL: (MANDATORY: for session management by URL rewriting)
diff --git a/main/forms/source/component/FormComponent.cxx 
b/main/forms/source/component/FormComponent.cxx
index cddd59e..6567b27 100644
--- a/main/forms/source/component/FormComponent.cxx
+++ b/main/forms/source/component/FormComponent.cxx
@@ -2359,7 +2359,7 @@ void OBoundControlModel::doSetControlValue( const Any& 
_rValue )
 
     try
     {
-        // release our mutex once (it's acquired in one of the the calling 
methods), as setting aggregate properties
+        // release our mutex once (it's acquired in one of the calling 
methods), as setting aggregate properties
            // may cause any uno controls belonging to us to lock the solar 
mutex, which is potentially dangerous with
            // our own mutex locked
            // #72451# / 2000-01-31 / frank.schoenh...@sun.com
diff --git a/main/forms/source/component/FormattedField.cxx 
b/main/forms/source/component/FormattedField.cxx
index 33d924d..0df0027 100644
--- a/main/forms/source/component/FormattedField.cxx
+++ b/main/forms/source/component/FormattedField.cxx
@@ -1133,7 +1133,7 @@ Any 
OFormattedModel::translateControlValueToExternalValue( ) const
 
     Any aExternalValue;
 
-    // translate into the the external value type
+    // translate into the external value type
     Type aExternalValueType( getExternalValueType() );
     switch ( aExternalValueType.getTypeClass() )
     {
diff --git a/main/forms/source/inc/windowstateguard.hxx 
b/main/forms/source/inc/windowstateguard.hxx
index f2c2dfc..28f62df 100644
--- a/main/forms/source/inc/windowstateguard.hxx
+++ b/main/forms/source/inc/windowstateguard.hxx
@@ -49,7 +49,7 @@ namespace frm
         we need to ensure that the state does not contradict the model 
property "too much".
 
         As an example, consider a form control which, according to its model's 
property, is disabled.
-        Now when the parent VCL window of the control's VCL window is enabled, 
then the the control's
+        Now when the parent VCL window of the control's VCL window is enabled, 
then the control's
         window is enabled, too - which contradicts the model property.
 
         A WindowStateGuard helps you preventing such inconsistent states.
diff --git a/main/fpicker/source/win32/filepicker/asynceventnotifier.cxx 
b/main/fpicker/source/win32/filepicker/asynceventnotifier.cxx
index 810a8e8..6a2ac7d 100644
--- a/main/fpicker/source/win32/filepicker/asynceventnotifier.cxx
+++ b/main/fpicker/source/win32/filepicker/asynceventnotifier.cxx
@@ -164,7 +164,7 @@ void SAL_CALL CAsyncEventNotifier::shutdown()
        m_bRun = false;
        m_EventList.clear();    
        
-       // awake the the notifier thread
+       // awake the notifier thread
        SetEvent(m_ResumeNotifying);
        SetEvent(m_NotifyEvent);
                
diff --git a/main/framework/source/layoutmanager/layoutmanager.cxx 
b/main/framework/source/layoutmanager/layoutmanager.cxx
index 045145d..583b5d4 100644
--- a/main/framework/source/layoutmanager/layoutmanager.cxx
+++ b/main/framework/source/layoutmanager/layoutmanager.cxx
@@ -2487,7 +2487,7 @@ sal_Bool LayoutManager::implts_resizeContainerWindow( 
const awt::Size& rContaine
         if (( rContainerSize.Width > aWorkArea.Width ) || ( 
rContainerSize.Height > aWorkArea.Height ))
             return sal_False;
         // Strictly, this is not correct. If we have a multi-screen display 
(css.awt.DisplayAccess.MultiDisplay == true),
-        // the the "effective work area" would be much larger than the work 
area of a single display, since we could in theory
+        // the "effective work area" would be much larger than the work area 
of a single display, since we could in theory
         // position the container window across multiple screens.
         // However, this should suffice as a heuristics here ... (nobody 
really wants to check whether the different screens are
         // stacked horizontally or vertically, whether their work areas can 
really be combined, or are separated by non-work-areas,
diff --git a/main/helpcontent2/source/text/shared/01/06202000.xhp 
b/main/helpcontent2/source/text/shared/01/06202000.xhp
index 637418f..40aa4a6 100644
--- a/main/helpcontent2/source/text/shared/01/06202000.xhp
+++ b/main/helpcontent2/source/text/shared/01/06202000.xhp
@@ -39,7 +39,7 @@
 <bookmark xml-lang="en-US" 
branch="hid/cui:ListBox:RID_SVX_MDLG_HANGULHANJA_EDIT:LB_BOOK" 
id="bm_id9376506" localize="false"/><paragraph role="heading" id="par_idN1055F" 
xml-lang="en-US" level="2" l10n="NEW">Book</paragraph>
 <paragraph role="paragraph" id="par_idN10563" xml-lang="en-US" 
l10n="NEW"><ahelp 
hid="svx:ListBox:RID_SVX_MDLG_HANGULHANJA_EDIT:LB_BOOK">Select the user-defined 
dictionary that you want to edit.</ahelp></paragraph>
 <bookmark xml-lang="en-US" 
branch="hid/cui:ComboBox:RID_SVX_MDLG_HANGULHANJA_EDIT:LB_ORIGINAL" 
id="bm_id6413159" localize="false"/><paragraph role="heading" id="par_idN1057A" 
xml-lang="en-US" level="2" l10n="NEW">Original</paragraph>
-<paragraph role="paragraph" id="par_idN1057E" xml-lang="en-US" 
l10n="NEW"><ahelp 
hid="svx:ComboBox:RID_SVX_MDLG_HANGULHANJA_EDIT:LB_ORIGINAL">Select the entry 
in the current dictionary that you want to edit. If you want, you can also type 
a new entry in this box.</ahelp> To move from the Original box to the the first 
text box in the Suggestions area, press Enter.</paragraph>
+<paragraph role="paragraph" id="par_idN1057E" xml-lang="en-US" 
l10n="NEW"><ahelp 
hid="svx:ComboBox:RID_SVX_MDLG_HANGULHANJA_EDIT:LB_ORIGINAL">Select the entry 
in the current dictionary that you want to edit. If you want, you can also type 
a new entry in this box.</ahelp> To move from the Original box to the first 
text box in the Suggestions area, press Enter.</paragraph>
 <!-- removed HID svx:CheckBox:RID_SVX_MDLG_HANGULHANJA_EDIT:CB_REPLACEBYCHAR 
--><paragraph role="heading" id="par_idN10596" xml-lang="en-US" level="2" 
l10n="NEW">Replace by character</paragraph>
 <paragraph role="paragraph" id="par_idN1059A" xml-lang="en-US" 
l10n="NEW"><ahelp 
hid="svx:CheckBox:RID_SVX_MDLG_HANGULHANJA_EDIT:CB_REPLACEBYCHAR">Converts the 
text on a character by character basis and not on a word by word 
basis.</ahelp></paragraph>
 <bookmark xml-lang="en-US" 
branch="hid/cui:Edit:RID_SVX_MDLG_HANGULHANJA_EDIT:ED_1" id="bm_id6543778" 
localize="false"/>
diff --git a/main/helpcontent2/source/text/shared/02/01170101.xhp 
b/main/helpcontent2/source/text/shared/02/01170101.xhp
index 9b131fc..1912dd5 100644
--- a/main/helpcontent2/source/text/shared/02/01170101.xhp
+++ b/main/helpcontent2/source/text/shared/02/01170101.xhp
@@ -549,7 +549,7 @@
       <section id="Section64">
 <bookmark xml-lang="en-US" branch="hid/EXTENSIONS_HID_PROP_TOGGLE" 
id="bm_id9645680" localize="false"/>
 <paragraph xml-lang="en-US" id="par_idN11538" role="heading" level="2" 
l10n="NEW">Toggle<comment>UFI: see dba spec 
form_controls_interop_1.sxw</comment></paragraph>
-         <paragraph xml-lang="en-US" id="par_idN1154E" role="paragraph" 
l10n="NEW"><ahelp hid=".">Specifies if a Push Button behaves as a Toggle 
Button. If you set Toggle to "Yes", you can switch between the "selected" and 
"not selected" control states when you click the button or press the spacebar 
while the the control has the focus. A button in the "selected" state appears 
"pressed in".</ahelp></paragraph>
+         <paragraph xml-lang="en-US" id="par_idN1154E" role="paragraph" 
l10n="NEW"><ahelp hid=".">Specifies if a Push Button behaves as a Toggle 
Button. If you set Toggle to "Yes", you can switch between the "selected" and 
"not selected" control states when you click the button or press the spacebar 
while the control has the focus. A button in the "selected" state appears 
"pressed in".</ahelp></paragraph>
       </section>
       <section id="Section65">
 <bookmark xml-lang="en-US" branch="hid/EXTENSIONS_HID_PROP_FOCUSONCLICK" 
id="bm_id6996978" localize="false"/>
diff --git 
a/main/instsetoo_native/inc_ooolangpack/windows/msi_templates/_Validat.idt 
b/main/instsetoo_native/inc_ooolangpack/windows/msi_templates/_Validat.idt
index 887c31c..53761da 100644
--- a/main/instsetoo_native/inc_ooolangpack/windows/msi_templates/_Validat.idt
+++ b/main/instsetoo_native/inc_ooolangpack/windows/msi_templates/_Validat.idt
@@ -412,7 +412,7 @@ SFPCatalog  Catalog N                                       
Binary          SFP Catalog
 SFPCatalog     Dependency      Y                                       
Formatted               Parent catalog - only used by SFP
 SFPCatalog     SFPCatalog      N                                       
Filename                File name for the catalog.
 Shortcut       Arguments       Y                                       
Formatted               The command-line arguments for the shortcut.
-Shortcut       Component_      N                       Component       1       
Identifier              Foreign key into the Component table denoting the 
component whose selection gates the the shortcut creation/deletion.
+Shortcut       Component_      N                       Component       1       
Identifier              Foreign key into the Component table denoting the 
component whose selection gates the shortcut creation/deletion.
 Shortcut       Description     Y                                       Text    
        The description for the shortcut.
 Shortcut       Directory_      N                       Directory       1       
Identifier              Foreign key into the Directory table denoting the 
directory where the shortcut file is created.
 Shortcut       Hotkey  Y       0       32767                                   
The hotkey for the shortcut. It has the virtual-key code for the key in the 
low-order byte, and the modifier flags in the high-order byte. 
diff --git 
a/main/instsetoo_native/inc_openoffice/windows/msi_templates/_Validat.idt 
b/main/instsetoo_native/inc_openoffice/windows/msi_templates/_Validat.idt
index 887c31c..53761da 100644
--- a/main/instsetoo_native/inc_openoffice/windows/msi_templates/_Validat.idt
+++ b/main/instsetoo_native/inc_openoffice/windows/msi_templates/_Validat.idt
@@ -412,7 +412,7 @@ SFPCatalog  Catalog N                                       
Binary          SFP Catalog
 SFPCatalog     Dependency      Y                                       
Formatted               Parent catalog - only used by SFP
 SFPCatalog     SFPCatalog      N                                       
Filename                File name for the catalog.
 Shortcut       Arguments       Y                                       
Formatted               The command-line arguments for the shortcut.
-Shortcut       Component_      N                       Component       1       
Identifier              Foreign key into the Component table denoting the 
component whose selection gates the the shortcut creation/deletion.
+Shortcut       Component_      N                       Component       1       
Identifier              Foreign key into the Component table denoting the 
component whose selection gates the shortcut creation/deletion.
 Shortcut       Description     Y                                       Text    
        The description for the shortcut.
 Shortcut       Directory_      N                       Directory       1       
Identifier              Foreign key into the Directory table denoting the 
directory where the shortcut file is created.
 Shortcut       Hotkey  Y       0       32767                                   
The hotkey for the shortcut. It has the virtual-key code for the key in the 
low-order byte, and the modifier flags in the high-order byte. 
diff --git a/main/instsetoo_native/inc_sdkoo/windows/msi_templates/_Validat.idt 
b/main/instsetoo_native/inc_sdkoo/windows/msi_templates/_Validat.idt
index 887c31c..53761da 100644
--- a/main/instsetoo_native/inc_sdkoo/windows/msi_templates/_Validat.idt
+++ b/main/instsetoo_native/inc_sdkoo/windows/msi_templates/_Validat.idt
@@ -412,7 +412,7 @@ SFPCatalog  Catalog N                                       
Binary          SFP Catalog
 SFPCatalog     Dependency      Y                                       
Formatted               Parent catalog - only used by SFP
 SFPCatalog     SFPCatalog      N                                       
Filename                File name for the catalog.
 Shortcut       Arguments       Y                                       
Formatted               The command-line arguments for the shortcut.
-Shortcut       Component_      N                       Component       1       
Identifier              Foreign key into the Component table denoting the 
component whose selection gates the the shortcut creation/deletion.
+Shortcut       Component_      N                       Component       1       
Identifier              Foreign key into the Component table denoting the 
component whose selection gates the shortcut creation/deletion.
 Shortcut       Description     Y                                       Text    
        The description for the shortcut.
 Shortcut       Directory_      N                       Directory       1       
Identifier              Foreign key into the Directory table denoting the 
directory where the shortcut file is created.
 Shortcut       Hotkey  Y       0       32767                                   
The hotkey for the shortcut. It has the virtual-key code for the key in the 
low-order byte, and the modifier flags in the high-order byte. 
diff --git a/main/instsetoo_native/inc_ure/windows/msi_templates/_Validat.idt 
b/main/instsetoo_native/inc_ure/windows/msi_templates/_Validat.idt
index 887c31c..53761da 100644
--- a/main/instsetoo_native/inc_ure/windows/msi_templates/_Validat.idt
+++ b/main/instsetoo_native/inc_ure/windows/msi_templates/_Validat.idt
@@ -412,7 +412,7 @@ SFPCatalog  Catalog N                                       
Binary          SFP Catalog
 SFPCatalog     Dependency      Y                                       
Formatted               Parent catalog - only used by SFP
 SFPCatalog     SFPCatalog      N                                       
Filename                File name for the catalog.
 Shortcut       Arguments       Y                                       
Formatted               The command-line arguments for the shortcut.
-Shortcut       Component_      N                       Component       1       
Identifier              Foreign key into the Component table denoting the 
component whose selection gates the the shortcut creation/deletion.
+Shortcut       Component_      N                       Component       1       
Identifier              Foreign key into the Component table denoting the 
component whose selection gates the shortcut creation/deletion.
 Shortcut       Description     Y                                       Text    
        The description for the shortcut.
 Shortcut       Directory_      N                       Directory       1       
Identifier              Foreign key into the Directory table denoting the 
directory where the shortcut file is created.
 Shortcut       Hotkey  Y       0       32767                                   
The hotkey for the shortcut. It has the virtual-key code for the key in the 
low-order byte, and the modifier flags in the high-order byte. 
diff --git 
a/main/javainstaller2/src/JavaSetup/org/openoffice/setup/Installer/LinuxInstaller.java
 
b/main/javainstaller2/src/JavaSetup/org/openoffice/setup/Installer/LinuxInstaller.java
index b9d93ee..a46dd42 100644
--- 
a/main/javainstaller2/src/JavaSetup/org/openoffice/setup/Installer/LinuxInstaller.java
+++ 
b/main/javainstaller2/src/JavaSetup/org/openoffice/setup/Installer/LinuxInstaller.java
@@ -159,7 +159,7 @@ public class LinuxInstaller extends Installer {
         
             File completePackage = new File(packagePath, packageName);
             packageName = completePackage.getPath();
-            packageName = "\"" + packageName + "\""; // Quoting is necessary, 
if the path the the packages contains white spaces.
+            packageName = "\"" + packageName + "\""; // Quoting is necessary, 
if the path to the packages contains white spaces.
         
             if ( completePackage.exists() ) {
                 String relocations = helper.getRelocationString(packageData, 
packageName);
diff --git 
a/main/javainstaller2/src/JavaSetup/org/openoffice/setup/Util/ModuleCtrl.java 
b/main/javainstaller2/src/JavaSetup/org/openoffice/setup/Util/ModuleCtrl.java
index c6b321c..ed158cb 100644
--- 
a/main/javainstaller2/src/JavaSetup/org/openoffice/setup/Util/ModuleCtrl.java
+++ 
b/main/javainstaller2/src/JavaSetup/org/openoffice/setup/Util/ModuleCtrl.java
@@ -290,7 +290,7 @@ public class ModuleCtrl {
         // Analyzing the system database and setting the module states.
         // Called during installation in ChooseInstallationTypeCtrl.java, 
because
         // the database has to be known. In user installation it is important, 
-        // the the installation directory is known, to find the database.
+        // that the installation directory is known, to find the database.
         // Called during uninstallation in UninstallationPrologueCtrl.java
 
         boolean isUninstall = installData.isUninstallationMode();
diff --git a/main/javaunohelper/com/sun/star/lib/uno/helper/PropertySet.java 
b/main/javaunohelper/com/sun/star/lib/uno/helper/PropertySet.java
index d161e2b..b3a2bab 100644
--- a/main/javaunohelper/com/sun/star/lib/uno/helper/PropertySet.java
+++ b/main/javaunohelper/com/sun/star/lib/uno/helper/PropertySet.java
@@ -597,7 +597,7 @@ XMultiPropertySet
      *  If a member is an UNO interface, then <em>setVal</em> is queried for 
this interface and the result is returned.
      *  If <em>setVal</em> is null then <em>newVal</em> will be null too after 
return.
      *  <p>
-     *  If a property value is stored using a primitive type the the 
out-parameters 
+     *  If a property value is stored using a primitive type the 
out-parameters 
      *  <em>curVal</em> and <em>newVal</em> contain the respective wrapper 
class (e.g.java.lang.Byte, etc.).
      *  curVal is used in calls to the XVetoableChangeListener and 
XPropertyChangeListener.
      *
diff --git a/main/javaunohelper/com/sun/star/lib/uno/helper/WeakAdapter.java 
b/main/javaunohelper/com/sun/star/lib/uno/helper/WeakAdapter.java
index c3bd03c..854412d 100644
--- a/main/javaunohelper/com/sun/star/lib/uno/helper/WeakAdapter.java
+++ b/main/javaunohelper/com/sun/star/lib/uno/helper/WeakAdapter.java
@@ -31,7 +31,7 @@ import java.util.LinkedList;
 
 /** An XAdapter implementation that holds a weak reference 
(java.lang.ref.WeakReference) 
  *  to an object. Clients can register listener (com.sun.star.lang.XReference) 
which 
- *  are notified when the the object (the one which is kept weak) is being 
finalized. That 
+ *  are notified when the object (the one which is kept weak) is being 
finalized. That 
  *  is, that object is being destroyed because there are not any hard 
references 
  *  to it.
  */
diff --git 
a/main/javaunohelper/test/com/sun/star/lib/uno/helper/PropertySet_Test.java 
b/main/javaunohelper/test/com/sun/star/lib/uno/helper/PropertySet_Test.java
index 2d0f2e3..6dd47a0 100644
--- a/main/javaunohelper/test/com/sun/star/lib/uno/helper/PropertySet_Test.java
+++ b/main/javaunohelper/test/com/sun/star/lib/uno/helper/PropertySet_Test.java
@@ -1315,7 +1315,7 @@ class TestClass extends PropertySet
             r[i++]= ((Boolean)value).booleanValue() == ((Boolean) 
outNewVal[0]).booleanValue();
             r[i++]= convertPropertyValue(propBoolC, outNewVal,  outOldVal, 
value);
             r[i++]= ((Boolean)value).booleanValue() == ((Boolean) 
outNewVal[0]).booleanValue();
-            // must fail because the the member boolPropD is private
+            // must fail because the member boolPropD is private
             try{
                 convertPropertyValue(propBoolD, outNewVal,  outOldVal, value);
                 i++;
@@ -1421,7 +1421,7 @@ class TestClass extends PropertySet
             r[i++]= boolPropB == ((Boolean) value).booleanValue();
             setPropertyValueNoBroadcast(propBoolC, value);
             r[i++]= boolPropC == ((Boolean) value).booleanValue();
-            // must fail because the the member boolPropD is private
+            // must fail because the member boolPropD is private
             try{
             setPropertyValueNoBroadcast(propBoolD, value);
             }catch(com.sun.star.lang.WrappedTargetException e)
diff --git 
a/main/jurt/java/jurt/src/main/java/com/sun/star/comp/servicemanager/ServiceManager.java
 
b/main/jurt/java/jurt/src/main/java/com/sun/star/comp/servicemanager/ServiceManager.java
index 4886bb5..f694bc0 100644
--- 
a/main/jurt/java/jurt/src/main/java/com/sun/star/comp/servicemanager/ServiceManager.java
+++ 
b/main/jurt/java/jurt/src/main/java/com/sun/star/comp/servicemanager/ServiceManager.java
@@ -299,7 +299,7 @@ public class ServiceManager implements XMultiServiceFactory,
        /**
         * Look up the factory for a given service or implementation name.
         * First the requested service name is search in the list of avaible 
services. If it can not be found
-        * the name is looked up in the the implementation list. 
+        * the name is looked up in the implementation list. 
         * <p>
         * @return      the factory of the service / implementation
         * @param       serviceSpecifier        indicates the service or 
implementation name
diff --git a/main/jvmfwk/inc/jvmfwk/framework.h 
b/main/jvmfwk/inc/jvmfwk/framework.h
index bc5da96..b0bede4 100644
--- a/main/jvmfwk/inc/jvmfwk/framework.h
+++ b/main/jvmfwk/inc/jvmfwk/framework.h
@@ -330,7 +330,7 @@ JVMFWK_DLLPUBLIC sal_Bool SAL_CALL jfw_areEqualJavaInfo(
 
 /** determines if a Java Virtual Machine is already running.
     
-    <p>As long as the the office and the JREs only support one
+    <p>As long as the office and the JREs only support one
     Virtual Machine per process the Java settings, particularly the
     selected Java, are not effective immediately after changing when
     a VM has already been running. That is, if a JRE A was used to start
diff --git a/main/jvmfwk/plugins/sunmajor/pluginlib/util.hxx 
b/main/jvmfwk/plugins/sunmajor/pluginlib/util.hxx
index 3ef09ca..50f76cb 100644
--- a/main/jvmfwk/plugins/sunmajor/pluginlib/util.hxx
+++ b/main/jvmfwk/plugins/sunmajor/pluginlib/util.hxx
@@ -35,7 +35,7 @@ class VendorBase;
 std::vector<rtl::OUString> getVectorFromCharArray(char const * const * ar, int 
size);
 
 /*   The function uses the relative paths, such as "bin/java.exe" as provided 
by
-     VendorBase::getJavaExePaths and the provided path to derive the the home 
directory.
+     VendorBase::getJavaExePaths and the provided path to derive the home 
directory.
      The home directory is then used as argument to getJREInfoByPath. For 
example
      usBinDir is file:///c:/j2sdk/jre/bin then file:///c:/j2sdk/jre would be 
derived.
  */
diff --git a/main/jvmfwk/source/elements.hxx b/main/jvmfwk/source/elements.hxx
index 7e2d3e2..3616469 100644
--- a/main/jvmfwk/source/elements.hxx
+++ b/main/jvmfwk/source/elements.hxx
@@ -143,8 +143,7 @@ private:
     void createSettingsDocument() const;
     
     /** returns the system path to the data file which is to be used. The value
-        depends on
-        the the member m_layer and the bootstrap parameters 
UNO_JAVA_JFW_USER_DATA,
+        depends on the member m_layer and the bootstrap parameters 
UNO_JAVA_JFW_USER_DATA,
         UNO_JAVA_JFW_SHARED_DATA and UNO_JAVA_JFW_INSTALL_DATA which this may 
be.
     */
     ::rtl::OString getSettingsPath() const;
diff --git a/main/l10ntools/source/xmlparse.cxx 
b/main/l10ntools/source/xmlparse.cxx
index 6922f8e..ccca850 100644
--- a/main/l10ntools/source/xmlparse.cxx
+++ b/main/l10ntools/source/xmlparse.cxx
@@ -1153,7 +1153,7 @@ void SimpleXMLParser::StartElement(
 void SimpleXMLParser::EndElement( const XML_Char *name )
 /*****************************************************************************/
 {
-       // This variable is not used at all, but the the sax C interface can't 
be changed
+       // This variable is not used at all, but the sax C interface can't be 
changed
     // To prevent warnings this dummy assignment is used
     // +++
     (void) name;
diff --git 
a/main/odk/examples/DevelopersGuide/Accessibility/TextualDisplay.java 
b/main/odk/examples/DevelopersGuide/Accessibility/TextualDisplay.java
index 54efd46..87a1ac5 100644
--- a/main/odk/examples/DevelopersGuide/Accessibility/TextualDisplay.java
+++ b/main/odk/examples/DevelopersGuide/Accessibility/TextualDisplay.java
@@ -110,7 +110,7 @@ class TextualDisplay
 
 
         
-    /** Show a list of all of the the given object's states.  Use the
+    /** Show a list of all of the given object's states.  Use the
         NameConverter class to transform the numerical state ids into human
         readable names.
         @param xContext
diff --git 
a/main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java
 
b/main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java
index ac2c12f..fd79fe7 100644
--- 
a/main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java
+++ 
b/main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java
@@ -323,7 +323,7 @@ public class FunctionHelper
      * It use a special JNI functionality to pass the office XWindow over a 
java window.
      * This java window can be inserted into another java window container for 
complex layouting.
      * If this parent java window isn't used, a top level system window will 
be created.
-     * The the resulting office frame isn't plugged into this java application.
+     * The resulting office frame isn't plugged into this java application.
      *
      * @param sName
      *          name to set it on the new created frame
diff --git a/main/odk/examples/DevelopersGuide/Spreadsheet/DataPilotReadme.txt 
b/main/odk/examples/DevelopersGuide/Spreadsheet/DataPilotReadme.txt
index 5b52b26..d65d0de 100644
--- a/main/odk/examples/DevelopersGuide/Spreadsheet/DataPilotReadme.txt
+++ b/main/odk/examples/DevelopersGuide/Spreadsheet/DataPilotReadme.txt
@@ -34,7 +34,7 @@ Simple usage scenario:
    Data->DataPilot->Start...
 5. select "External source/interface -> Ok
 6. select the example DataPilot 
-   Use the the drop down list and select the service
+   Use the drop down list and select the service
    "ExampleDataPilotSource" -> Ok
 7. Place some number fields in the field areas
    For example: 
diff --git a/main/odk/examples/java/Spreadsheet/SCalc.java 
b/main/odk/examples/java/Spreadsheet/SCalc.java
index 06ce3a2..933146d 100644
--- a/main/odk/examples/java/Spreadsheet/SCalc.java
+++ b/main/odk/examples/java/Spreadsheet/SCalc.java
@@ -110,7 +110,7 @@ public class SCalc  {
         
         //oooooooooooooooooooooooooooStep 
3oooooooooooooooooooooooooooooooooooooooooo
         // create cell styles.
-        // For this purpose get the StyleFamiliesSupplier and the the familiy
+        // For this purpose get the StyleFamiliesSupplier and the family
         // CellStyle. Create an instance of com.sun.star.style.CellStyle and
         // add it to the family. Now change some properties
         
//***************************************************************************
@@ -332,7 +332,7 @@ public class SCalc  {
             // get the servie manager rom the office
             xMCF = xContext.getServiceManager();
 
-            // create a new instance of the the desktop
+            // create a new instance of the desktop
             Object oDesktop = xMCF.createInstanceWithContext(
                 "com.sun.star.frame.Desktop", xContext );
 
diff --git a/main/offapi/com/sun/star/document/XUndoManagerListener.idl 
b/main/offapi/com/sun/star/document/XUndoManagerListener.idl
index dc18a41..7ff0f6c 100644
--- a/main/offapi/com/sun/star/document/XUndoManagerListener.idl
+++ b/main/offapi/com/sun/star/document/XUndoManagerListener.idl
@@ -62,7 +62,7 @@ interface XUndoManagerListener : 
::com::sun::star::lang::XEventListener
     */
     void    allActionsCleared( [in] ::com::sun::star::lang::EventObject 
i_event );
 
-    /** is called when the the Redo stack has been cleared.
+    /** is called when the Redo stack has been cleared.
 
         @see XUndoManager::clearRedo
     */
diff --git a/main/offapi/com/sun/star/form/runtime/XFilterController.idl 
b/main/offapi/com/sun/star/form/runtime/XFilterController.idl
index 1cf1951..aa529e2 100644
--- a/main/offapi/com/sun/star/form/runtime/XFilterController.idl
+++ b/main/offapi/com/sun/star/form/runtime/XFilterController.idl
@@ -39,7 +39,7 @@ interface XFilterControllerListener;
 
     <p>In a form based filter, form controls bound to a searchable database 
field are replaced with a control
     which allows entering a search expression. This so-called <em>predicate 
expression</em> is basically a part of an
-    SQL <code>WHERE</code> clause, but without the the part denoting the 
database column. For instance, if you
+    SQL <code>WHERE</code> clause, but without the part denoting the database 
column. For instance, if you
     have a form control bound to a table column named <code>Name</code>, then 
entering the string
     <q>LIKE '%Smith%'</q> effectively consitutes a SQL <code>WHERE</code> 
clause <code>"Name" LIKE '%Smith%'</code>.</p>
 
diff --git a/main/offapi/com/sun/star/linguistic2/XLanguageGuessing.idl 
b/main/offapi/com/sun/star/linguistic2/XLanguageGuessing.idl
index c04a2cc..876d475 100644
--- a/main/offapi/com/sun/star/linguistic2/XLanguageGuessing.idl
+++ b/main/offapi/com/sun/star/linguistic2/XLanguageGuessing.idl
@@ -121,7 +121,7 @@ interface XLanguageGuessing
     /** determines the single most probable language of a sub-string.
         
         <p>Please note that because statistical analysis is part 
-        of the algorithm the the likelihood to get the correct 
+        of the algorithm the likelihood to get the correct 
         result increases with the length of the sub-string. 
         A word is much less likely guessed correctly compared to
         a sentence or even a whole paragraph.</p>
diff --git a/main/offapi/com/sun/star/sdb/OfficeDatabaseDocument.idl 
b/main/offapi/com/sun/star/sdb/OfficeDatabaseDocument.idl
index ede15be..a2c7639 100644
--- a/main/offapi/com/sun/star/sdb/OfficeDatabaseDocument.idl
+++ b/main/offapi/com/sun/star/sdb/OfficeDatabaseDocument.idl
@@ -84,7 +84,7 @@ service OfficeDatabaseDocument
     */
     interface ::com::sun::star::script::provider::XScriptProviderSupplier;
 
-    /** allows to initialize the the document, either from scratch, or from a 
stored
+    /** allows to initialize the document, either from scratch, or from a 
stored
         database document.
 
         <p>A newly instantiated database document cannot be operated until it 
is fully
diff --git a/main/offapi/com/sun/star/sdb/application/XDatabaseDocumentUI.idl 
b/main/offapi/com/sun/star/sdb/application/XDatabaseDocumentUI.idl
index eaa1122..b9b6ac5 100644
--- a/main/offapi/com/sun/star/sdb/application/XDatabaseDocumentUI.idl
+++ b/main/offapi/com/sun/star/sdb/application/XDatabaseDocumentUI.idl
@@ -256,7 +256,7 @@ published interface XDatabaseDocumentUI
         <p>In opposite to <member>loadComponent</member>, this method allows 
you to specify
         additional arguments which are passed to the to-be-loaded 
component.</p>
 
-        <p>The meaning of the the arguments is defined at the service which is 
effectively
+        <p>The meaning of the arguments is defined at the service which is 
effectively
         created. See the <a href="#component_types">above table</a> for a list 
of those
         services.</p>
     */
@@ -291,7 +291,7 @@ published interface XDatabaseDocumentUI
         <p>In opposite to <member>createComponent</member>, this method allows 
you to specify
         additional arguments which are passed to the to-be-loaded 
component.</p>
 
-        <p>The meaning of the the arguments is defined at the service which is 
effectively
+        <p>The meaning of the arguments is defined at the service which is 
effectively
         created. See the <a href="#component_types">above table</a> for a list 
of those
         services.</p>
 
diff --git a/main/offapi/com/sun/star/util/PathSubstitution.idl 
b/main/offapi/com/sun/star/util/PathSubstitution.idl
index 244d5a2..0b19b4f 100644
--- a/main/offapi/com/sun/star/util/PathSubstitution.idl
+++ b/main/offapi/com/sun/star/util/PathSubstitution.idl
@@ -60,7 +60,7 @@ module com {  module sun {  module star {  module  util {
         <dt>$(prog)</dt>
         <dd>Program path of the Office Basis layer.</dd>
     <dt>$(brandbaseurl)</dt>
-    <dd>Installation path of the the Office Brand layer.</dd>
+    <dd>Installation path of the Office Brand layer.</dd>
         <dt>$(user)</dt>
         <dd>The user installation directory.</dd>
         <dt>$(work)</dt>
diff --git a/main/officecfg/registry/schema/org/openoffice/Office/Common.xcs 
b/main/officecfg/registry/schema/org/openoffice/Office/Common.xcs
index 714141e..a1cf824 100644
--- a/main/officecfg/registry/schema/org/openoffice/Office/Common.xcs
+++ b/main/officecfg/registry/schema/org/openoffice/Office/Common.xcs
@@ -4273,7 +4273,7 @@
                                        </info>
                                        <prop oor:name="PixelExportUnit" 
oor:type="xs:int">
                                                <info>
-                                               <desc>Specifies the unit 
default that is used in the the graphic export dialog if exporting pixel 
graphics.</desc>
+                                               <desc>Specifies the unit 
default that is used in the graphic export dialog if exporting pixel 
graphics.</desc>
                                                </info>
                                                <constraints>
                                                        <enumeration 
oor:value="0">
@@ -4316,7 +4316,7 @@
                                        </prop>
                                        <prop 
oor:name="PixelExportResolutionUnit" oor:type="xs:int">
                                                <info>
-                                                       <desc>Specifies the 
unit default for the resolution that is used in the the graphic export dialog 
if exporting pixel graphics.</desc>
+                                                       <desc>Specifies the 
unit default for the resolution that is used in the graphic export dialog if 
exporting pixel graphics.</desc>
                                                </info>
                                                        <constraints>
                                                                <enumeration 
oor:value="0">
@@ -4358,7 +4358,7 @@
                                                </prop>
                                                <prop 
oor:name="VectorExportUnit" oor:type="xs:int">
                                                        <info>
-                                                               <desc>Specifies 
the unit default that is used in the the graphic export dialog if exporting 
vector graphics.</desc>
+                                                               <desc>Specifies 
the unit default that is used in the graphic export dialog if exporting vector 
graphics.</desc>
                                                        </info>
                                                                <constraints>
                                                                        
<enumeration oor:value="0">
diff --git a/main/oox/inc/oox/xls/chartsheetfragment.hxx 
b/main/oox/inc/oox/xls/chartsheetfragment.hxx
index 981ce4a..70e45a7 100644
--- a/main/oox/inc/oox/xls/chartsheetfragment.hxx
+++ b/main/oox/inc/oox/xls/chartsheetfragment.hxx
@@ -49,7 +49,7 @@ protected:
     virtual void        finalizeImport();
 
 private:
-    /** Imports the the relation identifier for the DrawingML part. */
+    /** Imports the relation identifier for the DrawingML part. */
     void                importDrawing( const AttributeList& rAttribs );
     /** Imports the DRAWING record containing the relation identifier for the 
DrawingML part. */
     void                importDrawing( SequenceInputStream& rStrm );
diff --git a/main/oox/inc/oox/xls/worksheetfragment.hxx 
b/main/oox/inc/oox/xls/worksheetfragment.hxx
index b60dda9..95b26e8 100644
--- a/main/oox/inc/oox/xls/worksheetfragment.hxx
+++ b/main/oox/inc/oox/xls/worksheetfragment.hxx
@@ -87,9 +87,9 @@ private:
     void                importHyperlink( const AttributeList& rAttribs );
     /** Imports individual break that is either within row or column break 
context. */
     void                importBrk( const AttributeList& rAttribs, bool 
bRowBreak );
-    /** Imports the the relation identifier for the DrawingML part. */
+    /** Imports the relation identifier for the DrawingML part. */
     void                importDrawing( const AttributeList& rAttribs );
-    /** Imports the the relation identifier for the legacy VML drawing part. */
+    /** Imports the relation identifier for the legacy VML drawing part. */
     void                importLegacyDrawing( const AttributeList& rAttribs );
     /** Imports additional data for an OLE object. */
     void                importOleObject( const AttributeList& rAttribs );
diff --git 
a/main/ooxml/source/framework/JavaOOXMLParser/src/org/apache/openoffice/ooxml/parser/StateMachine.java
 
b/main/ooxml/source/framework/JavaOOXMLParser/src/org/apache/openoffice/ooxml/parser/StateMachine.java
index d4886bc..bdf69ec 100644
--- 
a/main/ooxml/source/framework/JavaOOXMLParser/src/org/apache/openoffice/ooxml/parser/StateMachine.java
+++ 
b/main/ooxml/source/framework/JavaOOXMLParser/src/org/apache/openoffice/ooxml/parser/StateMachine.java
@@ -176,7 +176,7 @@ public class StateMachine
                     aAttributeValues,
                     aPreviousElementContext);
 
-                // e) and run all actions that are bound to the the current 
start tag.
+                // e) and run all actions that are bound to the current start 
tag.
                 ExecuteActions(
                     mnCurrentStateId,
                     maCurrentElementContext,
diff --git a/main/qadevOOo/runner/convwatch/MSOfficePrint.java 
b/main/qadevOOo/runner/convwatch/MSOfficePrint.java
index 19db6ee..e86ff6f 100644
--- a/main/qadevOOo/runner/convwatch/MSOfficePrint.java
+++ b/main/qadevOOo/runner/convwatch/MSOfficePrint.java
@@ -326,7 +326,7 @@ public class MSOfficePrint
             out.write( "    print STDERR \"Usage: word_print.pl  <Word file> 
<name of printer> <output file> .\\n     " + ls );
             out.write( "                  Please use the same string for the 
name of the printer as you can find \\n  " + ls );
             out.write( "                  under Start-Control Panel-Printer 
and Faxes  \\n                        " + ls );
-            out.write( "                  The name could look like the the 
following line: \\n                        " + ls );
+            out.write( "                  The name could look like the 
following line: \\n                        " + ls );
             out.write( "                  Apple LaserWriter II NT v47.0 \\n    
                                       " + ls );
             out.write( "                  Sample command line: \\n             
                                       " + ls );
             out.write( "                  execl_print.pl  c:\\book1.doc Apple 
LaserWriter II NT v47.0 c:\\output\\book1.ps \\n\";  " + ls );
@@ -547,7 +547,7 @@ public class MSOfficePrint
             out.write( "    print STDERR \"Usage: printViaExcel.pl  <Excel 
file> <name of printer> <output file> .\\n                       " + ls );
             out.write( "                  Please use the same string for the 
name of the printer as you can find \\n                      " + ls );
             out.write( "                  under Start-Control Panel-Printer 
and Faxes  \\n                                            " + ls );
-            out.write( "                  The name could look like the the 
following line: \\n                                            " + ls );
+            out.write( "                  The name could look like the 
following line: \\n                                            " + ls );
             out.write( "                  Apple LaserWriter II NT v47.0 \\n    
                                                           " + ls );
             out.write( "                  Sample command line: \\n             
                                                           " + ls );
             out.write( "                  execl_print.pl  c:\\book1.xls Apple 
LaserWriter II NT v47.0 c:\\output\\book1.ps \\n\";     " + ls );
@@ -736,7 +736,7 @@ public class MSOfficePrint
             out.write( "    print STDERR \"Usage: powerpoint_print.pl  
<PowerPoint file> <name of printer> <output file> .\\n                    " + 
ls );
             out.write( "                  Please use the same string for the 
name of the printer as you can find \\n                            " + ls );
             out.write( "                  under Start-Control Panel-Printer 
and Faxes  \\n                                                  " + ls );
-            out.write( "                  The name could look like the the 
following line: \\n                                                  " + ls );
+            out.write( "                  The name could look like the 
following line: \\n                                                  " + ls );
             out.write( "                  Apple LaserWriter II NT v47.0 \\n    
                                                                 " + ls );
             out.write( "                  Sample command line: \\n             
                                                                 " + ls );
             out.write( "                  powerpoint_print.pl  c:\\book.ppt 
Apple LaserWriter II NT v47.0 c:\\output\\book.ps \\n\";         " + ls );
diff --git a/main/qadevOOo/runner/graphical/MSOfficePostscriptCreator.java 
b/main/qadevOOo/runner/graphical/MSOfficePostscriptCreator.java
index 7b64332..67efc58 100644
--- a/main/qadevOOo/runner/graphical/MSOfficePostscriptCreator.java
+++ b/main/qadevOOo/runner/graphical/MSOfficePostscriptCreator.java
@@ -414,7 +414,7 @@ public class MSOfficePostscriptCreator implements IOffice
             out.write( "    print STDERR \"Usage: word_print.pl  <Word file> 
<name of printer> <output file> .\\n     " + ls );
             out.write( "                  Please use the same string for the 
name of the printer as you can find \\n  " + ls );
             out.write( "                  under Start-Control Panel-Printer 
and Faxes  \\n                        " + ls );
-            out.write( "                  The name could look like the the 
following line: \\n                        " + ls );
+            out.write( "                  The name could look like the 
following line: \\n                        " + ls );
             out.write( "                  Apple LaserWriter II NT v47.0 \\n    
                                       " + ls );
             out.write( "                  Sample command line: \\n             
                                       " + ls );
             out.write( "                  execl_print.pl  c:\\book1.doc Apple 
LaserWriter II NT v47.0 c:\\output\\book1.ps \\n\";  " + ls );
@@ -639,7 +639,7 @@ public class MSOfficePostscriptCreator implements IOffice
             out.write( "    print STDERR \"Usage: printViaExcel.pl  <Excel 
file> <name of printer> <output file> .\\n                       " + ls );
             out.write( "                  Please use the same string for the 
name of the printer as you can find \\n                      " + ls );
             out.write( "                  under Start-Control Panel-Printer 
and Faxes  \\n                                            " + ls );
-            out.write( "                  The name could look like the the 
following line: \\n                                            " + ls );
+            out.write( "                  The name could look like the 
following line: \\n                                            " + ls );
             out.write( "                  Apple LaserWriter II NT v47.0 \\n    
                                                           " + ls );
             out.write( "                  Sample command line: \\n             
                                                           " + ls );
             out.write( "                  execl_print.pl  c:\\book1.xls Apple 
LaserWriter II NT v47.0 c:\\output\\book1.ps \\n\";     " + ls );
@@ -826,7 +826,7 @@ public class MSOfficePostscriptCreator implements IOffice
             out.write( "    print STDERR \"Usage: powerpoint_print.pl  
<PowerPoint file> <name of printer> <output file> .\\n                    " + 
ls );
             out.write( "                  Please use the same string for the 
name of the printer as you can find \\n                            " + ls );
             out.write( "                  under Start-Control Panel-Printer 
and Faxes  \\n                                                  " + ls );
-            out.write( "                  The name could look like the the 
following line: \\n                                                  " + ls );
+            out.write( "                  The name could look like the 
following line: \\n                                                  " + ls );
             out.write( "                  Apple LaserWriter II NT v47.0 \\n    
                                                                 " + ls );
             out.write( "                  Sample command line: \\n             
                                                                 " + ls );
             out.write( "                  powerpoint_print.pl  c:\\book.ppt 
Apple LaserWriter II NT v47.0 c:\\output\\book.ps \\n\";         " + ls );
diff --git a/main/qadevOOo/runner/helper/LoggingThread.java 
b/main/qadevOOo/runner/helper/LoggingThread.java
index 5bb0e24..9b7cd50 100644
--- a/main/qadevOOo/runner/helper/LoggingThread.java
+++ b/main/qadevOOo/runner/helper/LoggingThread.java
@@ -30,7 +30,7 @@ import util.utils;
 
 /**
  * This class is printing to a <CODE>LogWriter</CODE>. This could be useful if 
a UNO-API
- * function runns longer the the time out. To avoid the assumption of death 
applikation
+ * function runs longer than the time out. To avoid the assumption of death 
application
  * a simple string is logged for 100 times of time out.</br>
  * Example:</br>
  *          logger = new LoggingThread((LogWriter)log, tParam);
diff --git 
a/main/qadevOOo/tests/basic/mod/sc/AccessibleEditableTextPara_PreviewCell/sc_AccessibleEditableTextPara_PreviewCell.xba
 
b/main/qadevOOo/tests/basic/mod/sc/AccessibleEditableTextPara_PreviewCell/sc_AccessibleEditableTextPara_PreviewCell.xba
index d0bc79e..0577333 100644
--- 
a/main/qadevOOo/tests/basic/mod/sc/AccessibleEditableTextPara_PreviewCell/sc_AccessibleEditableTextPara_PreviewCell.xba
+++ 
b/main/qadevOOo/tests/basic/mod/sc/AccessibleEditableTextPara_PreviewCell/sc_AccessibleEditableTextPara_PreviewCell.xba
@@ -77,7 +77,7 @@ On Error Goto ErrHndl
         ' get the  first cell
         xRoot = utils.at_getAccessibleObjectForRole(xRoot, _
              com.sun.star.accessibility.AccessibleRole.TABLE_CELL,"Cell A1")
-        ' the the Paragraph
+        ' the Paragraph
         oObj = utils.at_getAccessibleObjectForRole(xRoot, _
              com.sun.star.accessibility.AccessibleRole.PARAGRAPH,"Paragraph 0")
         utils.at_printAccessibleTree(xRoot)
diff --git a/main/qadevOOo/tests/java/ifc/awt/_XControl.java 
b/main/qadevOOo/tests/java/ifc/awt/_XControl.java
index 4fdeb73..2f40183 100644
--- a/main/qadevOOo/tests/java/ifc/awt/_XControl.java
+++ b/main/qadevOOo/tests/java/ifc/awt/_XControl.java
@@ -116,7 +116,7 @@ public class _XControl extends MultiMethodTest {
     }
 
     /**
-    * Test calls the method. Then the the object ralation 'WINPEER' is
+    * Test calls the method. Then the object relation 'WINPEER' is
     * obtained, and compared with the peer, gotten from (XControl) oObj
     * variable.<p>
     * Has <b> OK </b> status if peer gotten isn't null
diff --git a/main/qadevOOo/tests/java/mod/_sc/ScHeaderFieldObj.java 
b/main/qadevOOo/tests/java/mod/_sc/ScHeaderFieldObj.java
index 5d5b53e..4ce4766 100644
--- a/main/qadevOOo/tests/java/mod/_sc/ScHeaderFieldObj.java
+++ b/main/qadevOOo/tests/java/mod/_sc/ScHeaderFieldObj.java
@@ -118,7 +118,7 @@ public class ScHeaderFieldObj extends TestCase {
     *      {@link ifc.text._XTextContent}(the interface 
<code>XTextContent</code>
     *      that was queried from the second created instance) </li>
     *  <li> <code>'TEXT'</code> for
-    *      {@link ifc.text._XTextContent}(the the text which is printed in the
+    *      {@link ifc.text._XTextContent}(the text which is printed in the
     *       right part of the header or footer) </li>
     * </ul>
     * @see com.sun.star.style.XStyleFamiliesSupplier
diff --git a/main/reportdesign/source/ui/inc/ReportWindow.hxx 
b/main/reportdesign/source/ui/inc/ReportWindow.hxx
index 0caacac..47e2757 100644
--- a/main/reportdesign/source/ui/inc/ReportWindow.hxx
+++ b/main/reportdesign/source/ui/inc/ReportWindow.hxx
@@ -184,7 +184,7 @@ namespace rptui
                */
                sal_Bool                handleKeyEvent(const KeyEvent& _rEvent);
 
-               /** the the section as marked or not marked
+               /** the section as marked or not marked
                        @param  _pSectionView   the section where to set the 
marked flag
                        @param  _bMark  the marked flag
                */
diff --git a/main/reportdesign/source/ui/inc/ScrollHelper.hxx 
b/main/reportdesign/source/ui/inc/ScrollHelper.hxx
index d537e10..07d3a98 100644
--- a/main/reportdesign/source/ui/inc/ScrollHelper.hxx
+++ b/main/reportdesign/source/ui/inc/ScrollHelper.hxx
@@ -171,7 +171,7 @@ namespace rptui
                */
                sal_Bool                                handleKeyEvent(const 
KeyEvent& _rEvent);
 
-               /** the the section as marked or not marked
+               /** the section as marked or not marked
                        @param  _pSectionView   the section where to set the 
marked flag
                        @param  _bMark  the marked flag
                */
diff --git a/main/reportdesign/source/ui/inc/ViewsWindow.hxx 
b/main/reportdesign/source/ui/inc/ViewsWindow.hxx
index 20bd578..eb38056 100644
--- a/main/reportdesign/source/ui/inc/ViewsWindow.hxx
+++ b/main/reportdesign/source/ui/inc/ViewsWindow.hxx
@@ -256,7 +256,7 @@ namespace rptui
                */
                sal_Bool                handleKeyEvent(const KeyEvent& _rEvent);
 
-               /** the the section as marked or not marked
+               /** the section as marked or not marked
                        @param  _pSectionView   the section where to set the 
marked flag
                        @param  _bMark  the marked flag
                */
diff --git a/main/sal/inc/osl/process.h b/main/sal/inc/osl/process.h
index 40ac34f..b4a6d0c 100644
--- a/main/sal/inc/osl/process.h
+++ b/main/sal/inc/osl/process.h
@@ -335,7 +335,7 @@ oslProcessError SAL_CALL 
osl_joinProcessWithTimeout(oslProcess Process, const Ti
     @param pInfo  [out] a pointer to a vaid oslProcessInfo structure.
                         the Size field has to be initialized with the size
                         of the oslProcessInfo structure.
-                        on success the the Field member holds the (or'ed)
+                        on success the Field member holds the (or'ed)
                         retrieved valid information fields.
     @return osl_Process_E_None on success, osl_Process_E_Unknown on failure.
  */
diff --git a/main/sal/osl/w32/interlck.c b/main/sal/osl/w32/interlck.c
index dcf1ca3..63adbff 100644
--- a/main/sal/osl/w32/interlck.c
+++ b/main/sal/osl/w32/interlck.c
@@ -31,7 +31,7 @@ extern int osl_isSingleCPU;
 /* For all Intel x86 above x486 we use a spezial inline assembler 
implementation.
    The main reason is that WIN9? does not return the result of the operation. 
    Instead there is only returned a value greater than zero is the increment 
-   result is greater than zero, but not the the result of the addition. 
+   result is greater than zero, but not the result of the addition. 
    For Windows NT the native function could be used, because the correct 
result 
    is returned. Because of simpler code maintenance and performace reasons we 
use
    on every x86-Windows-Platform the inline assembler implementation.
diff --git a/main/sc/addin/datefunc/dfa.cl b/main/sc/addin/datefunc/dfa.cl
index 283aff9..9a29676 100644
--- a/main/sc/addin/datefunc/dfa.cl
+++ b/main/sc/addin/datefunc/dfa.cl
@@ -218,7 +218,7 @@ static void DaysToDate( long nDays,
  * shall be the first day of the week.
  *
  * A week that lies partly in one year and partly in another
- * is assigned a number in the the year in which most of its days lie.
+ * is assigned a number in the year in which most of its days lie.
  *
  * That means that week 1 of any year is the week that contains the 4. January
  *
diff --git a/main/sc/source/ui/inc/AccessibleContextBase.hxx 
b/main/sc/source/ui/inc/AccessibleContextBase.hxx
index 1690267..ae25909 100644
--- a/main/sc/source/ui/inc/AccessibleContextBase.hxx
+++ b/main/sc/source/ui/inc/AccessibleContextBase.hxx
@@ -323,7 +323,7 @@ private:
     */
     ::rtl::OUString msDescription;
 
-    /**        Name of this object.  It changes according the the draw page's
+    /**        Name of this object.  It changes according to the draw page's
         display mode.
     */
     ::rtl::OUString msName;
diff --git a/main/scaddins/source/datefunc/datefunc.cxx 
b/main/scaddins/source/datefunc/datefunc.cxx
index 69910ee..7e84e0e 100644
--- a/main/scaddins/source/datefunc/datefunc.cxx
+++ b/main/scaddins/source/datefunc/datefunc.cxx
@@ -708,7 +708,7 @@ sal_Int32 GetNullDate( const uno::Reference< 
beans::XPropertySet >& xOptions )
  * shall be the first day of the week.
  *
  * A week that lies partly in one year and partly in another
- * is assigned a number in the the year in which most of its days lie.
+ * is assigned a number in the year in which most of its days lie.
  *
  * That means that week 1 of any year is the week that contains the 4. January
  *
diff --git a/main/scripting/examples/beanshell/HelloWorld/parcel-descriptor.xml 
b/main/scripting/examples/beanshell/HelloWorld/parcel-descriptor.xml
index d150f6a..62668b2 100644
--- a/main/scripting/examples/beanshell/HelloWorld/parcel-descriptor.xml
+++ b/main/scripting/examples/beanshell/HelloWorld/parcel-descriptor.xml
@@ -26,7 +26,7 @@
         <locale lang="en">
             <displayname value="Hello World"/>
             <description>
-                Adds the the string "Hello World" into the current text doc.
+                Adds the string "Hello World" into the current text doc.
             </description>
         </locale>
         <functionname value="helloworld.bsh"/>
diff --git 
a/main/scripting/examples/javascript/HelloWorld/parcel-descriptor.xml 
b/main/scripting/examples/javascript/HelloWorld/parcel-descriptor.xml
index 7cf57e1..3eec34f 100644
--- a/main/scripting/examples/javascript/HelloWorld/parcel-descriptor.xml
+++ b/main/scripting/examples/javascript/HelloWorld/parcel-descriptor.xml
@@ -26,7 +26,7 @@
         <locale lang="en">
             <displayname value="Hello World"/>
             <description>
-                Adds the the string "Hello World" into the current text doc.
+                Adds the string "Hello World" into the current text doc.
             </description>
         </locale>
         <functionname value="helloworld.js"/>
diff --git a/main/scripting/source/vbaevents/eventhelper.cxx 
b/main/scripting/source/vbaevents/eventhelper.cxx
index eaeab73..4a56cb2 100644
--- a/main/scripting/source/vbaevents/eventhelper.cxx
+++ b/main/scripting/source/vbaevents/eventhelper.cxx
@@ -843,13 +843,13 @@ bool FindControl(const ScriptEvent& evt, void* pPara)
        return false;
 }
 
-//if the the given control type in evt.Arguments[0] appears in the type list 
in pPara, then approve the execution
+//if the given control type in evt.Arguments[0] appears in the type list in 
pPara, then approve the execution
 bool ApproveType(const ScriptEvent& evt, void* pPara)
 {
        return FindControl(evt, pPara);
 }
 
-//if the the given control type in evt.Arguments[0] appears in the type list 
in pPara, then deny the execution
+//if the given control type in evt.Arguments[0] appears in the type list in 
pPara, then deny the execution
 bool DenyType(const ScriptEvent& evt, void* pPara)
 {
        return !FindControl(evt, pPara);
diff --git a/main/sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx 
b/main/sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx
index 6cd1ed6..3bb8ce4 100644
--- a/main/sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx
+++ b/main/sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx
@@ -569,7 +569,7 @@ uno::Sequence< sal_Int32 > SAL_CALL
                }
        }
        std::sort( vXShapes.begin(), vXShapes.end(), XShapePosCompareHelper() );
-       //get the the index of the selected object in the group
+       //get the index of the selected object in the group
        std::vector< uno::Reference<drawing::XShape> >::iterator aIter;
        //we start counting position from 1
        sal_Int32 nPos = 1;
diff --git a/main/sd/source/ui/accessibility/AccessibleViewForwarder.cxx 
b/main/sd/source/ui/accessibility/AccessibleViewForwarder.cxx
index ec8b158..a8e39c4 100644
--- a/main/sd/source/ui/accessibility/AccessibleViewForwarder.cxx
+++ b/main/sd/source/ui/accessibility/AccessibleViewForwarder.cxx
@@ -94,8 +94,8 @@ Rectangle AccessibleViewForwarder::GetVisibleArea (void) const
 
 
 
-/** Tansform the given point into pixel coordiantes.  After the the pixel
-    coordiantes of the window origin are added to make the point coordinates
+/** Transform the given point into pixel coordinates.  After the pixel
+    coordinates of the window origin are added to make the point coordinates
     absolute.
 */
 Point AccessibleViewForwarder::LogicToPixel (const Point& rPoint) const
diff --git a/main/sd/source/ui/framework/configuration/ConfigurationUpdater.cxx 
b/main/sd/source/ui/framework/configuration/ConfigurationUpdater.cxx
index 1c4fa7d..0a6b768 100644
--- a/main/sd/source/ui/framework/configuration/ConfigurationUpdater.cxx
+++ b/main/sd/source/ui/framework/configuration/ConfigurationUpdater.cxx
@@ -202,7 +202,7 @@ void ConfigurationUpdater::UpdateConfiguration (void)
             mpBroadcaster->NotifyListeners(aEvent);
 
             // Do the actual update.  All exceptions are caught and ignored,
-            // so that the the end of the update is notified always.
+            // so that the end of the update is notified always.
             try
             {
                 if (mnLockCount == 0)
@@ -365,7 +365,7 @@ void ConfigurationUpdater::CheckPureAnchors (
         // Skip all resources that are no pure anchors.
         if (xResource.is() && xResource->isAnchorOnly())
         {
-            // When xResource is not an anchor of the the next resource in
+            // When xResource is not an anchor of the next resource in
             // the list then it is the anchor of no resource at all.
             if (nIndex == nCount-1)
             {
diff --git a/main/sd/source/ui/framework/configuration/ResourceId.cxx 
b/main/sd/source/ui/framework/configuration/ResourceId.cxx
index e0fa4fc..56d10a3 100644
--- a/main/sd/source/ui/framework/configuration/ResourceId.cxx
+++ b/main/sd/source/ui/framework/configuration/ResourceId.cxx
@@ -268,7 +268,7 @@ OUString SAL_CALL
     {
         // Return the "private:resource/<type>/" prefix.
 
-        // Get the the prefix that ends with the second "/".
+        // Get the prefix that ends with the second "/".
         const OUString& rsResourceURL (maResourceURLs[0]);
         sal_Int32 nPrefixEnd (rsResourceURL.indexOf(sal_Unicode('/'), 0));
         if (nPrefixEnd >= 0)
diff --git 
a/main/sd/source/ui/slidesorter/inc/controller/SlsAnimationFunction.hxx 
b/main/sd/source/ui/slidesorter/inc/controller/SlsAnimationFunction.hxx
index 04ce3a7..96f5e96 100644
--- a/main/sd/source/ui/slidesorter/inc/controller/SlsAnimationFunction.hxx
+++ b/main/sd/source/ui/slidesorter/inc/controller/SlsAnimationFunction.hxx
@@ -68,7 +68,7 @@ public:
 
     /** Acceleration function that maps [0,1] to [0,0].  Speed starts slow,
         rises and drops several times and ends slow following multiple
-        cycles of the the sine function.
+        cycles of the sine function.
     */
     static double Vibrate_Sine (const double nTime);
 
diff --git a/main/sd/source/ui/slidesorter/inc/controller/SlsPageSelector.hxx 
b/main/sd/source/ui/slidesorter/inc/controller/SlsPageSelector.hxx
index 5381e70..4cf378a 100644
--- a/main/sd/source/ui/slidesorter/inc/controller/SlsPageSelector.hxx
+++ b/main/sd/source/ui/slidesorter/inc/controller/SlsPageSelector.hxx
@@ -159,7 +159,7 @@ public:
         const ::boost::shared_ptr<PageSelection>& rSelection,
         const bool bUpdateCurrentPage = true);
 
-    /** Call this method after the the model has changed to set the number
+    /** Call this method after the model has changed to set the number
         of selected pages.
     */
     void CountSelectedPages (void);
diff --git a/main/sd/source/ui/view/ViewShellBase.cxx 
b/main/sd/source/ui/view/ViewShellBase.cxx
index 44070de..67e0bda 100644
--- a/main/sd/source/ui/view/ViewShellBase.cxx
+++ b/main/sd/source/ui/view/ViewShellBase.cxx
@@ -758,9 +758,9 @@ void ViewShellBase::Execute (SfxRequest& rRequest)
 
 void ViewShellBase::GetState (SfxItemSet& rSet)
 {
-    // The full screen mode is not supported.  Disable the the slot so that
+    // The full screen mode is not supported.  Disable the slot so that
     // it appears grayed out when somebody uses configures the menu to show
-    // an menu item for it.
+    // a menu item for it.
     //    if (rSet.GetItemState(SID_WIN_FULLSCREEN) == SFX_ITEM_AVAILABLE)
     //        rSet.DisableItem(SID_WIN_FULLSCREEN);
 
diff --git a/main/sd/source/ui/view/drviews7.cxx 
b/main/sd/source/ui/view/drviews7.cxx
index 51ae161..34af641 100644
--- a/main/sd/source/ui/view/drviews7.cxx
+++ b/main/sd/source/ui/view/drviews7.cxx
@@ -1711,7 +1711,7 @@ void DrawViewShell::GetState (SfxItemSet& rSet)
                {
                        case SID_SEARCH_ITEM:
                        case SID_SEARCH_OPTIONS:
-                // Forward this request to the the common (old) code of the
+                // Forward this request to the common (old) code of the
                 // document shell.
                 GetDocSh()->GetState (rSet);
                 break;
@@ -1737,7 +1737,7 @@ void DrawViewShell::Execute (SfxRequest& rReq)
        switch (rReq.GetSlot())
        {
                case SID_SEARCH_ITEM:
-            // Forward this request to the the common (old) code of the
+            // Forward this request to the common (old) code of the
             // document shell.
             GetDocSh()->Execute (rReq);
                break;
diff --git a/main/sd/source/ui/view/outlnvsh.cxx 
b/main/sd/source/ui/view/outlnvsh.cxx
index aca12fc..d24b4e4 100644
--- a/main/sd/source/ui/view/outlnvsh.cxx
+++ b/main/sd/source/ui/view/outlnvsh.cxx
@@ -1287,7 +1287,7 @@ void OutlineViewShell::Execute(SfxRequest& rReq)
             break;
 
                case SID_SEARCH_ITEM:
-            // Forward this request to the the common (old) code of the
+            // Forward this request to the common (old) code of the
             // document shell.
             GetDocSh()->Execute (rReq);
             bForwardCall = false;
diff --git a/main/sd/source/ui/view/sdwindow.cxx 
b/main/sd/source/ui/view/sdwindow.cxx
index 40bcd5b..6b6eee8 100644
--- a/main/sd/source/ui/view/sdwindow.cxx
+++ b/main/sd/source/ui/view/sdwindow.cxx
@@ -472,7 +472,7 @@ long Window::SetZoomFactor(long nZoom)
     // Update the map mode's origin (to what effect?).
        UpdateMapOrigin();
 
-    // Update the view's snapping to the the new zoom factor.
+    // Update the view's snapping to the new zoom factor.
        if ( mpViewShell && mpViewShell->ISA(DrawViewShell) )
                ((DrawViewShell*) mpViewShell)->GetView()->
                                                                                
RecalcLogicSnapMagnetic(*this);
diff --git a/main/sdext/source/presenter/PresenterConfigurationAccess.hxx 
b/main/sdext/source/presenter/PresenterConfigurationAccess.hxx
index ea16a1f..d29df3a 100644
--- a/main/sdext/source/presenter/PresenterConfigurationAccess.hxx
+++ b/main/sdext/source/presenter/PresenterConfigurationAccess.hxx
@@ -95,7 +95,7 @@ public:
     */
     bool GoToChild (const ::rtl::OUString& rsPathToNode);
 
-    /** Move the focused node to the first direct child that fulfills the the 
given predicate.
+    /** Move the focused node to the first direct child that fulfills the 
given predicate.
     */
     bool GoToChild (const Predicate& rPredicate);
 
diff --git 
a/main/setup_native/source/opensolaris/bundledextensions/svc-ooo_bundled_extensions
 
b/main/setup_native/source/opensolaris/bundledextensions/svc-ooo_bundled_extensions
index 6b8c9a7..e40598d 100644
--- 
a/main/setup_native/source/opensolaris/bundledextensions/svc-ooo_bundled_extensions
+++ 
b/main/setup_native/source/opensolaris/bundledextensions/svc-ooo_bundled_extensions
@@ -82,7 +82,7 @@ case "$1" in
     #Now check for extensions which need to be uninstalled
     #(unopkg). This is the case if the list of extensions in the file
     #installed contains the name of an extension which does not exist
-    #in the the folder <..>/share/extension/install.
+    #in the folder <..>/share/extension/install.
 #     LINE=""
 #     NEWCONTENT=""
 #     REMOVED=""
diff --git 
a/main/setup_native/source/win32/customactions/patch/swappatchfiles.cxx 
b/main/setup_native/source/win32/customactions/patch/swappatchfiles.cxx
index 539dc08..33836c6 100644
--- a/main/setup_native/source/win32/customactions/patch/swappatchfiles.cxx
+++ b/main/setup_native/source/win32/customactions/patch/swappatchfiles.cxx
@@ -126,7 +126,7 @@ static std::_tstring Invert(const std::_tstring& str)
 // Convert the upgrade code (which is a GUID) according
 // to the way the windows installer does when writing it
 // to the registry
-// The first 8 bytes will be inverted, from the the last 
+// The first 8 bytes will be inverted, from the last 
 // 8 bytes always the nibbles will be inverted for further
 // details look in the MSDN under compressed registry keys 
 static std::_tstring ConvertGuid(const std::_tstring& guid)
diff --git 
a/main/setup_native/source/win32/customactions/shellextensions/upgrade.cxx 
b/main/setup_native/source/win32/customactions/shellextensions/upgrade.cxx
index 9ebf981..a287645 100644
--- a/main/setup_native/source/win32/customactions/shellextensions/upgrade.cxx
+++ b/main/setup_native/source/win32/customactions/shellextensions/upgrade.cxx
@@ -85,7 +85,7 @@ namespace
     // Convert the upgrade code (which is a GUID) according
     // to the way the windows installer does when writing it
     // to the registry
-    // The first 8 bytes will be inverted, from the the last 
+    // The first 8 bytes will be inverted, from the last 
     // 8 bytes always the nibbles will be inverted for further
     // details look in the MSDN under compressed registry keys 
     string ConvertGuid(const string& guid)
diff --git a/main/sfx2/source/sidebar/TabItem.hxx 
b/main/sfx2/source/sidebar/TabItem.hxx
index 2ad42ae..16fab29 100644
--- a/main/sfx2/source/sidebar/TabItem.hxx
+++ b/main/sfx2/source/sidebar/TabItem.hxx
@@ -30,7 +30,7 @@ class Window;
 
 namespace sfx2 { namespace sidebar {
 
-/** A single button in the The tab bar.
+/** A single button in the tab bar.
 */
 class TabItem
     : public ImageRadioButton
diff --git a/main/shell/source/tools/lngconvex/lngconvex.cxx 
b/main/shell/source/tools/lngconvex/lngconvex.cxx
index fd20cb9..2f86dd1 100644
--- a/main/shell/source/tools/lngconvex/lngconvex.cxx
+++ b/main/shell/source/tools/lngconvex/lngconvex.cxx
@@ -96,7 +96,7 @@ OUString get_module_path()
 //###########################################
 /** Make the absolute directory of a base and
        a relative directory, if the relative
-       directory is absolute the the relative
+       directory is absolute the relative
        directory will be returned unchanged.
        Base and relative directory should be
        system paths the returned directory is
diff --git a/main/slideshow/qa/tools/mkeffects.pl 
b/main/slideshow/qa/tools/mkeffects.pl
index 6451c77..a4e68b7 100755
--- a/main/slideshow/qa/tools/mkeffects.pl
+++ b/main/slideshow/qa/tools/mkeffects.pl
@@ -80,7 +80,7 @@ sub   zip_dirtree
        
        #       First transfer the drive from $cwd to $zip_name.  This is a
        #       workaround for a bug in file_name_is_absolute which thinks
-       #       the the path \bla is an absolute path under DOS.
+       #       the path \bla is an absolute path under DOS.
        my ($volume,$directories,$file) = File::Spec->splitpath ($zip_name);
        my ($volume_cwd,$directories_cwd,$file_cwd) = File::Spec->splitpath 
($cwd);
        $volume = $volume_cwd if ($volume eq "");
diff --git a/main/slideshow/qa/tools/mktransitions.pl 
b/main/slideshow/qa/tools/mktransitions.pl
index bf8365b..063b4d2 100644
--- a/main/slideshow/qa/tools/mktransitions.pl
+++ b/main/slideshow/qa/tools/mktransitions.pl
@@ -82,7 +82,7 @@ sub   zip_dirtree
        
        #       First transfer the drive from $cwd to $zip_name.  This is a
        #       workaround for a bug in file_name_is_absolute which thinks
-       #       the the path \bla is an absolute path under DOS.
+       #       the path \bla is an absolute path under DOS.
        my ($volume,$directories,$file) = File::Spec->splitpath ($zip_name);
        my ($volume_cwd,$directories_cwd,$file_cwd) = File::Spec->splitpath 
($cwd);
        $volume = $volume_cwd if ($volume eq "");
diff --git a/main/soltools/mkdepend/imakemdep.h 
b/main/soltools/mkdepend/imakemdep.h
index e1c5aab..5db8713 100644
--- a/main/soltools/mkdepend/imakemdep.h
+++ b/main/soltools/mkdepend/imakemdep.h
@@ -509,8 +509,8 @@ char *cpp_argv[ARGUMENTS] = {
 #else /* else MAKEDEPEND */
 /*
  * Step 6:  predefs
- *     If your compiler and/or preprocessor define any specific symbols, add
- *     them to the the following table.  The definition of struct symtab is
+ *     If your compiler and/or preprocessor defines any specific symbols, add
+ *     them to the following table.  The definition of struct symtab is
  *     in util/makedepend/def.h.
  */
 struct pair    predefs[] = {
diff --git a/main/sot/source/sdstor/ucbstorage.cxx 
b/main/sot/source/sdstor/ucbstorage.cxx
index 95cdcea..4f98ad8 100644
--- a/main/sot/source/sdstor/ucbstorage.cxx
+++ b/main/sot/source/sdstor/ucbstorage.cxx
@@ -1083,7 +1083,7 @@ sal_uLong UCBStorageStream_Impl::SeekPos( sal_uLong nPos )
     }
     else
     {
-        // the problem is that even if nPos is larger the the length
+        // the problem is that even if nPos is larger then the length
         // of the stream the stream pointer will be moved to this position
         // so we have to check if temporary stream does not contain required 
position
 
diff --git a/main/svl/source/misc/filenotation.cxx 
b/main/svl/source/misc/filenotation.cxx
index 2f5c7ab..fccd0ef 100644
--- a/main/svl/source/misc/filenotation.cxx
+++ b/main/svl/source/misc/filenotation.cxx
@@ -111,7 +111,7 @@ namespace svt
                                break;
 
                        default:
-                               // it's a known scheme, but no file-URL -> 
assume that bothe the URL representation and the
+                               // it's a known scheme, but no file-URL -> 
assume that both the URL representation and the
                                // system representation are the URL itself
                                m_sSystem = m_sFileURL = _rUrlOrPath;
                                bSuccess = true;
diff --git a/main/svl/source/undo/undo.cxx b/main/svl/source/undo/undo.cxx
index 8daba43..09e5ca9 100644
--- a/main/svl/source/undo/undo.cxx
+++ b/main/svl/source/undo/undo.cxx
@@ -1410,7 +1410,7 @@ SfxLinkUndoAction::SfxLinkUndoAction(::svl::IUndoManager 
*pManager)
        pUndoManager = pManager;
     SfxUndoManager* pUndoManagerImplementation = dynamic_cast< SfxUndoManager* 
>( pManager );
     ENSURE_OR_THROW( pUndoManagerImplementation != NULL, "unsupported undo 
manager implementation!" );
-        // yes, this cast is dirty. But reaching into the the SfxUndoManager's 
implementation,
+        // yes, this cast is dirty. But reaching into the SfxUndoManager's 
implementation,
         // directly accessing its internal stack, and tampering with an action 
on that stack
         // is dirty, too.
        if ( pManager->GetMaxUndoActionCount() )
diff --git a/main/svtools/source/contnr/imivctl1.cxx 
b/main/svtools/source/contnr/imivctl1.cxx
index c689c89..8cb15f0 100644
--- a/main/svtools/source/contnr/imivctl1.cxx
+++ b/main/svtools/source/contnr/imivctl1.cxx
@@ -3601,7 +3601,7 @@ void SvxIconChoiceCtrl_Impl::ShowEntryFocusRect( const 
SvxIconChoiceCtrlEntry* p
 
////////////////////////////////////////////////////////////////////////////////////////////////
 //
 // Draw my own focusrect, because the focusrect of the outputdevice has got 
the inverted color
-// of the background. But what will we see, if the the backgroundcolor is gray 
? - We will see
+// of the background. But what will we see, if the backgroundcolor is gray ? - 
We will see
 // a gray focusrect on a gray background !!!
 //
 void SvxIconChoiceCtrl_Impl::ShowFocus ( Rectangle& rRect )
diff --git a/main/svtools/source/filter/wmf/winwmf.cxx 
b/main/svtools/source/filter/wmf/winwmf.cxx
index 5f71b59..14d1d8a 100644
--- a/main/svtools/source/filter/wmf/winwmf.cxx
+++ b/main/svtools/source/filter/wmf/winwmf.cxx
@@ -1038,7 +1038,7 @@ sal_Bool WMFReader::ReadHeader()
        else
        {
                nUnitsPerInch = 96;       
-        pWMF->Seek( nStrmPos + 18 );    // set the streampos to the start of 
the the metaactions
+        pWMF->Seek( nStrmPos + 18 );    // set the streampos to the start of 
the metaactions
         GetPlaceableBound( aPlaceableBound, pWMF );
         pWMF->Seek( nStrmPos );
        }
diff --git a/main/svtools/source/table/tablecontrol_impl.hxx 
b/main/svtools/source/table/tablecontrol_impl.hxx
index 726ba87..2d4555e 100644
--- a/main/svtools/source/table/tablecontrol_impl.hxx
+++ b/main/svtools/source/table/tablecontrol_impl.hxx
@@ -461,7 +461,7 @@ namespace svt { namespace table
         /** retrieves the area occupied by the totality of (at least 
partially) visible cells
 
             The returned area includes row and column headers. Also, it takes 
into
-            account the the fact that there might be less columns than would 
normally
+            account the fact that there might be less columns than would 
normally
             find room in the control.
 
             As a result of respecting the partial visibility of rows and 
columns,
diff --git a/main/svx/source/accessibility/AccessibleShape.cxx 
b/main/svx/source/accessibility/AccessibleShape.cxx
index c99459f..669b696 100644
--- a/main/svx/source/accessibility/AccessibleShape.cxx
+++ b/main/svx/source/accessibility/AccessibleShape.cxx
@@ -1674,7 +1674,7 @@ throw (uno::RuntimeException)
     
     std::sort( vXShapes.begin(), vXShapes.end(), XShapePosCompareHelper() );
 
-    //get the the index of the selected object in the group
+    //get the index of the selected object in the group
     std::vector< uno::Reference<drawing::XShape> >::iterator aIter;
     //we start counting position from 1
     sal_Int32 nPos = 1;
diff --git a/main/svx/source/dialog/pfiledlg.cxx 
b/main/svx/source/dialog/pfiledlg.cxx
index 1e3b5c0..44a311b 100644
--- a/main/svx/source/dialog/pfiledlg.cxx
+++ b/main/svx/source/dialog/pfiledlg.cxx
@@ -203,9 +203,9 @@ SvxPluginFileDlg::~SvxPluginFileDlg()
 
 /*************************************************************************
 |*
-|* Plugins available for the the MIME-Typ in nKind
+|* Plugins available for the MIME-Typ in nKind
 |* (with nKind = SID_INSERT_SOUND for MIME-Type audio
-|*                SID_INSERT_VIDEO for MIME-Type video
+|*               SID_INSERT_VIDEO for MIME-Type video
 |*
 \************************************************************************/
 
diff --git a/main/svx/source/form/formcontroller.cxx 
b/main/svx/source/form/formcontroller.cxx
index 70f9bff..22f390a 100644
--- a/main/svx/source/form/formcontroller.cxx
+++ b/main/svx/source/form/formcontroller.cxx
@@ -2493,7 +2493,7 @@ void FormController::implControlInserted( const 
Reference< XControl>& _rxControl
     {
         Reference< XControlModel > xModel( _rxControl->getModel() );
 
-        // we want to know about the reset of the the model of our controls
+        // we want to know about the reset of the model of our controls
         // (for correctly resetting m_bModified)
         Reference< XReset >  xReset( xModel, UNO_QUERY );
                if ( xReset.is() )
diff --git a/main/svx/source/inc/fmvwimp.hxx b/main/svx/source/inc/fmvwimp.hxx
index 63629dd..0dbe77f 100644
--- a/main/svx/source/inc/fmvwimp.hxx
+++ b/main/svx/source/inc/fmvwimp.hxx
@@ -295,7 +295,7 @@ private:
        // cancels all pending async events
        void cancelEvents();
 
-       /// the the auto focus to the first (in terms of the tab order) control
+       /// the auto focus to the first (in terms of the tab order) control
        void AutoFocus( sal_Bool _bSync = sal_False );
        DECL_LINK( OnActivate, void* );
        DECL_LINK( OnAutoFocus, void* );
diff --git a/main/svx/source/inc/svxrectctaccessiblecontext.hxx 
b/main/svx/source/inc/svxrectctaccessiblecontext.hxx
index ceca640..b623604 100644
--- a/main/svx/source/inc/svxrectctaccessiblecontext.hxx
+++ b/main/svx/source/inc/svxrectctaccessiblecontext.hxx
@@ -536,7 +536,7 @@ private:
     */
     ::rtl::OUString                                            msDescription;
 
-    /**        Name of this object.  It changes according the the draw page's
+    /**        Name of this object.  It changes according the draw page's
         display mode.
     */
     ::rtl::OUString                                            msName;
diff --git a/main/sw/inc/ndgrf.hxx b/main/sw/inc/ndgrf.hxx
index 5fa6f20..f0b3e6c 100644
--- a/main/sw/inc/ndgrf.hxx
+++ b/main/sw/inc/ndgrf.hxx
@@ -86,7 +86,7 @@ class SW_DLLPUBLIC SwGrfNode: public SwNoTxtNode
         OD, MAV 2005-08-17 #i53025#
         Storage, which should contain the stream of the embedded graphic, is
         provided via parameter. Otherwise the returned stream will be closed
-        after the the method returns, because its parent stream is closed and 
deleted.
+        after the method returns, because its parent stream is closed and 
deleted.
         Proposed name of embedded graphic stream is also provided by parameter.
 
         @author OD
diff --git a/main/sw/inc/pagepreviewlayout.hxx 
b/main/sw/inc/pagepreviewlayout.hxx
index 03b5525..063ff04 100644
--- a/main/sw/inc/pagepreviewlayout.hxx
+++ b/main/sw/inc/pagepreviewlayout.hxx
@@ -61,12 +61,12 @@ private:
     // boolean indicating, if the layout information (number of columns and 
rows)
     // are valid.
     bool        mbLayoutInfoValid;
-    // boolean indicating, if the the calculated print preview layout sizes
+    // boolean indicating, if the calculated print preview layout sizes
     // ( windows size in twips, maximal page size, column width, row height,
     //   width and height of a print preview page, size of the print preview
     //   document ) are valid
     bool        mbLayoutSizesValid;
-    // boolean indicating, if the the paint information ( physical number of
+    // boolean indicating, if the paint information ( physical number of
     //   start page, start column and row, paint offsets, rectangle visible of
     //   the print preview document.
     bool        mbPaintInfoValid;
diff --git a/main/sw/source/core/access/acccontext.hxx 
b/main/sw/source/core/access/acccontext.hxx
index 3fbe54a..1de054f 100644
--- a/main/sw/source/core/access/acccontext.hxx
+++ b/main/sw/source/core/access/acccontext.hxx
@@ -154,7 +154,7 @@ protected:
        void ScrolledOut( const SwRect& rOldVisArea );
 
        // Invalidate the states of all children of the specified SwFrm. The
-       // SwFrm might belong the the current object or to any child or 
grandchild!
+       // SwFrm might belong to the current object or to any child or 
grandchild!
     // --> OD 2005-12-12 #i27301# - use new type definition for <_nStates>
     void InvalidateChildrenStates( const SwFrm* _pFrm,
                                    tAccessibleStates _nStates );
diff --git a/main/sw/source/core/doc/doc.cxx b/main/sw/source/core/doc/doc.cxx
index 8e271fd..092fe2b 100644
--- a/main/sw/source/core/doc/doc.cxx
+++ b/main/sw/source/core/doc/doc.cxx
@@ -1405,7 +1405,7 @@ void SwDoc::UpdatePagesForPrintingWithPostItData(
         // from the post-it doc to the physical page of the document
         std::map< sal_Int32, sal_Int32 >  aPostItLastStartPageNum;
 
-        // add all post-its on valid pages within the the page range to the
+        // add all post-its on valid pages within the page range to the
         // temporary post-it document. 
         // Since the array of post-it fileds is sorted by page and line number 
we will
         // already get them in the correct order
diff --git a/main/sw/source/core/graphic/ndgrf.cxx 
b/main/sw/source/core/graphic/ndgrf.cxx
index 3ff6c6e..77cc10e 100644
--- a/main/sw/source/core/graphic/ndgrf.cxx
+++ b/main/sw/source/core/graphic/ndgrf.cxx
@@ -932,7 +932,7 @@ uno::Reference< embed::XStorage > 
SwGrfNode::_GetDocSubstorageOrRoot(
  #i53025#
  Storage, which should contain the stream of the embedded graphic, is
  provided via parameter. Otherwise the returned stream will be closed
- after the the method returns, because its parent stream is closed and deleted.
+ after the method returns, because its parent stream is closed and deleted.
  Proposed name of embedded graphic stream is also provided by parameter.
 
  @author OD
diff --git a/main/sw/source/core/txtnode/thints.cxx 
b/main/sw/source/core/txtnode/thints.cxx
index 4a26456..2038638 100644
--- a/main/sw/source/core/txtnode/thints.cxx
+++ b/main/sw/source/core/txtnode/thints.cxx
@@ -772,7 +772,7 @@ void SwpHints::BuildPortions( SwTxtNode& rNode, SwTxtAttr& 
rNewHint,
                     boost::shared_ptr<SfxItemSet> pOldStyle = 
static_cast<const SwFmtAutoFmt&>(pOther->GetAttr()).GetStyleHandle();
 
                     // For each attribute in the automatic style check if it
-                    // is also set the the new character style:
+                    // is also set to the new character style:
                     SfxItemSet aNewSet( *pOldStyle->GetPool(),
                         aCharAutoFmtSetRange);
                     SfxItemIter aItemIter( *pOldStyle );
diff --git a/main/sw/source/core/txtnode/txtedt.cxx 
b/main/sw/source/core/txtnode/txtedt.cxx
index 62e985a..2573b5f 100644
--- a/main/sw/source/core/txtnode/txtedt.cxx
+++ b/main/sw/source/core/txtnode/txtedt.cxx
@@ -1029,7 +1029,7 @@ void SwTxtNode::SetLanguageAndFont( const SwPaM &rPaM,
 sal_uInt16 SwTxtNode::Convert( SwConversionArgs &rArgs )
 {
     // get range of text within node to be converted
-    // (either all the text or the the text within the selection
+    // (either all the text or the text within the selection
     // when the conversion was started)
     xub_StrLen nTextBegin, nTextEnd;
     //
diff --git a/main/sw/source/filter/ww8/ww8atr.cxx 
b/main/sw/source/filter/ww8/ww8atr.cxx
index 16c5d9a..82707a0 100644
--- a/main/sw/source/filter/ww8/ww8atr.cxx
+++ b/main/sw/source/filter/ww8/ww8atr.cxx
@@ -4803,7 +4803,7 @@ void SwWW8WrTabu::Add(const SvxTabStop & rTS, long 
nAdjustment)
             break;
         case SVX_TAB_ADJUST_DECIMAL:
             /*
-            Theres nothing we can do btw the the decimal seperator has been
+            There's nothing we can do when the decimal seperator has been
             customized, but if you think different remember that different
             locales have different seperators, i.e. german is a , while english
             is a .
diff --git a/main/sw/source/filter/ww8/ww8par2.cxx 
b/main/sw/source/filter/ww8/ww8par2.cxx
index 40a3e71..069af0e 100644
--- a/main/sw/source/filter/ww8/ww8par2.cxx
+++ b/main/sw/source/filter/ww8/ww8par2.cxx
@@ -3498,7 +3498,7 @@ void WW8TabDesc::SetNumRuleName( const String& rName )
 
 bool SwWW8ImplReader::StartTable(WW8_CP nStartCp)
 {
-    // Entering a table so make sure the the FirstPara flag gets set
+    // Entering a table so make sure the FirstPara flag gets set
     bFirstPara = true;
     // keine rekursiven Tabellen Nicht bei EinfuegenDatei in Tabelle oder
     // Fussnote
diff --git a/main/sw/source/ui/lingu/hhcwrp.cxx 
b/main/sw/source/ui/lingu/hhcwrp.cxx
index 8673c6c..6362fb5 100644
--- a/main/sw/source/ui/lingu/hhcwrp.cxx
+++ b/main/sw/source/ui/lingu/hhcwrp.cxx
@@ -172,7 +172,7 @@ SwHHCWrapper::~SwHHCWrapper()
     if( nPageCount )
         ::EndProgress( pView->GetDocShell() );
 
-    // finally for chinese translation we need to change the the documents
+    // finally for chinese translation we need to change the documents
     // default language and font to the new ones to be used.
     LanguageType nTargetLang = GetTargetLanguage();
     if (IsChinese( nTargetLang ))
diff --git a/main/sw/source/ui/misc/redlndlg.cxx 
b/main/sw/source/ui/misc/redlndlg.cxx
index 75c1bb7..590256c 100644
--- a/main/sw/source/ui/misc/redlndlg.cxx
+++ b/main/sw/source/ui/misc/redlndlg.cxx
@@ -943,7 +943,7 @@ void SwRedlineAcceptDlg::CallAcceptReject( sal_Bool 
bSelect, sal_Bool bAccept )
                        &aRewriter);
     }
 
-    // accept/reject the the redlines in aRedlines. The absolute
+    // accept/reject the redlines in aRedlines. The absolute
     // position may change during the process (e.g. when two redlines
     // are merged in result of another one being deleted), so the
     // position must be resolved late and checked before using it.
diff --git a/main/sw/source/ui/shells/listsh.cxx 
b/main/sw/source/ui/shells/listsh.cxx
index c128ead..c7eb722 100644
--- a/main/sw/source/ui/shells/listsh.cxx
+++ b/main/sw/source/ui/shells/listsh.cxx
@@ -74,7 +74,7 @@ TYPEINIT1(SwListShell,SwBaseShell)
 // --> FME 2005-01-04 #i35572# Functionality of Numbering/Bullet toolbar
 // for outline numbered paragraphs should match the functions for outlines
 // available in the navigator. Therefore the code in the following
-// function is quite similar the the code in SwContentTree::ExecCommand.
+// function is quite similar to the code in SwContentTree::ExecCommand.
 void lcl_OutlineUpDownWithSubPoints( SwWrtShell& rSh, bool bMove, bool bUp )
 {
     const sal_uInt16 nActPos = rSh.GetOutlinePos();
diff --git a/main/swext/mediawiki/src/filter/odt2mediawiki.xsl 
b/main/swext/mediawiki/src/filter/odt2mediawiki.xsl
index 3889d85..6ee5bec 100644
--- a/main/swext/mediawiki/src/filter/odt2mediawiki.xsl
+++ b/main/swext/mediawiki/src/filter/odt2mediawiki.xsl
@@ -316,11 +316,11 @@
        </template>
 
        <!-- 
-               Funktion generating a token consisting of the given character 
+               Function generating a token consisting of the given character 
                repeated 'level' times.
                
                @param level
-                       The lengh of the result.
+                       The length of the result.
                @param char
                        The character that should be repeated 'level' times.
        -->
@@ -478,7 +478,7 @@
         -->
 
     <!--
-       Make sure to join sibling node that are all formated with WikiMath 
style without repeating
+       Make sure to join sibling node that are all formatted with WikiMath 
style without repeating
        the <math>..</math> markup.
 
        Do not apply any transformation to the contents marked as WikiMath.
@@ -1071,7 +1071,7 @@
                Function for looking up the position of a node identified by 
the given 
                'current-id' within a node set 'context'. 
                
-               The search starts with the the index 'test-index'. The search 
is recursive 
+               The search starts with the index 'test-index'. The search is 
recursive 
                in the 'test-index' argument. To save recursion depth, each 
recursive call 
                iteratively tests a fixed number of indexes (by loop unrolling).
         -->
diff --git a/main/toolkit/source/controls/accessiblecontrolcontext.cxx 
b/main/toolkit/source/controls/accessiblecontrolcontext.cxx
index ea4e72a..a6a9c23 100644
--- a/main/toolkit/source/controls/accessiblecontrolcontext.cxx
+++ b/main/toolkit/source/controls/accessiblecontrolcontext.cxx
@@ -260,7 +260,7 @@ namespace toolkit
                // * the PosSize of our peer, relative to it's parent window
                // * the parent window which the PosSize is relative to
                // * our foreign controlled accessible parent
-               // from this info, we can determine the the position of our 
peer relative to the foreign parent
+               // from this info, we can determine the position of our peer 
relative to the foreign parent
 
                // our control
                Reference< awt::XWindow > xWindow;
diff --git a/main/tools/source/generic/config.cxx 
b/main/tools/source/generic/config.cxx
index a060dc4..20b1cff 100644
--- a/main/tools/source/generic/config.cxx
+++ b/main/tools/source/generic/config.cxx
@@ -178,7 +178,7 @@ static sal_Bool ImplSysWriteConfig( const XubString& 
rFileName,
                aFile.setSize( 0 );
                sal_uInt64 nWritten;
 
-               //write the the byte-order-mark 0xEF 0xBB 0xBF first , if it 
was UTF8 files
+               //write the byte-order-mark 0xEF 0xBB 0xBF first , if it was 
UTF8 files
                if ( rbIsUTF8BOM )
                {
                        unsigned char BOM[3] = {0xEF, 0xBB, 0xBF};
diff --git a/main/ucb/source/ucp/file/shell.cxx 
b/main/ucb/source/ucp/file/shell.cxx
index 0493da5..297e47b 100644
--- a/main/ucb/source/ucp/file/shell.cxx
+++ b/main/ucb/source/ucp/file/shell.cxx
@@ -475,7 +475,7 @@ shell::deregisterNotifier( const rtl::OUString& 
aUnqPath,Notifier* pNotifier )
 //
 //  Used to associate and deassociate a new property with
 //  the content belonging to URL UnqPath.
-//  The default value and the the attributes are input
+//  The default value and the attributes are input
 //
 
 void SAL_CALL
@@ -739,7 +739,7 @@ shell::open_rw( sal_Int32 CommandId,
 /*                                                                             
  */
 
/*********************************************************************************/
 //
-//  This method returns the result set containing the the children of the 
directory belonging
+//  This method returns the result set containing the children of the 
directory belonging
 //  to file URL aUnqPath
 //
 
diff --git a/main/ucb/source/ucp/file/shell.hxx 
b/main/ucb/source/ucp/file/shell.hxx
index a9ef871..0ea3625 100644
--- a/main/ucb/source/ucp/file/shell.hxx
+++ b/main/ucb/source/ucp/file/shell.hxx
@@ -185,7 +185,7 @@ namespace fileaccess {
         /**
          *  Used to associate and deassociate a new property with
          *  the content belonging to URL UnqPath.
-         *  The default value and the the attributes are input
+         *  The default value and the attributes are input
          */
 
         void SAL_CALL associate( const rtl::OUString& UnqPath,
@@ -246,7 +246,7 @@ namespace fileaccess {
 
 
         /**
-         *  This method returns the result set containing the the children of 
the directory belonging
+         *  This method returns the result set containing the children of the 
directory belonging
          *  to file URL aUnqPath
          */
 
diff --git a/main/ucbhelper/inc/ucbhelper/resultset.hxx 
b/main/ucbhelper/inc/ucbhelper/resultset.hxx
index e882a86..34ff78a 100644
--- a/main/ucbhelper/inc/ucbhelper/resultset.hxx
+++ b/main/ucbhelper/inc/ucbhelper/resultset.hxx
@@ -466,7 +466,7 @@ public:
        queryContentIdentifier( sal_uInt32 nIndex ) = 0;
 
        /**
-        * This method returns the the content at the specified index.
+        * This method returns the content at the specified index.
         *
         * @param nIndex is the zero-based index within the logical data array
         *               of the supplier; must be non-negative.
@@ -516,7 +516,7 @@ public:
         * The implementation should call m_pResultSet->rowCountFinal(...) if
         * it has inserted all entries in its logical result array.
         *
-        * @return true, if the the value returned by currentCount() won't 
change
+        * @return true, if the value returned by currentCount() won't change
                   anymore.
         */
        virtual sal_Bool isCountFinal() = 0;
diff --git a/main/ucbhelper/source/provider/resultset.cxx 
b/main/ucbhelper/source/provider/resultset.cxx
index 341be55..6b1f70e 100644
--- a/main/ucbhelper/source/provider/resultset.cxx
+++ b/main/ucbhelper/source/provider/resultset.cxx
@@ -639,7 +639,7 @@ sal_Bool SAL_CALL ResultSet::relative( sal_Int32 rows )
 {
 /*
        Attempting to move beyond the first/last row in the result set
-       positions the cursor before/after the the first/last row.
+       positions the cursor before/after the first/last row.
 
        Calling relative( 0 ) is valid, but does not change the cursor position.
 
diff --git a/main/uui/source/passwordcontainer.hxx 
b/main/uui/source/passwordcontainer.hxx
index c16157c..b0f51024 100644
--- a/main/uui/source/passwordcontainer.hxx
+++ b/main/uui/source/passwordcontainer.hxx
@@ -66,7 +66,7 @@ public:
         (XInteractionSupplyAuthentication) is filled with the credentials found
         in the password container.
 
-        Please note the the continuation gets not "selected" by this
+        Please note that the continuation gets not "selected" by this
         implementation. "Selecting" the continuation is up to the caller (e.g.
         an implementation of XInteractionHandler::handle) of this function.
 
diff --git a/main/uui/source/secmacrowarnings.cxx 
b/main/uui/source/secmacrowarnings.cxx
index b66d7e2..ca22866 100644
--- a/main/uui/source/secmacrowarnings.cxx
+++ b/main/uui/source/secmacrowarnings.cxx
@@ -250,7 +250,7 @@ void MacroWarning::InitControls()
         Point aNewPos = maViewSignsBtn.GetPosPixel();
         aNewPos.X() -= nDelta;
         maViewSignsBtn.SetPosPixel( aNewPos );
-        // the the left fixedtext must be smaller
+        // the left fixedtext must be smaller
         aNewSize = maSignsFI.GetSizePixel();
         aNewSize.Width() -= nDelta;
         maSignsFI.SetSizePixel( aNewSize );
diff --git a/main/vcl/source/window/window.cxx 
b/main/vcl/source/window/window.cxx
index d6c2228..d230a98 100644
--- a/main/vcl/source/window/window.cxx
+++ b/main/vcl/source/window/window.cxx
@@ -8458,7 +8458,7 @@ void Window::SetComponentInterface( 
::com::sun::star::uno::Reference< ::com::sun
 
 void Window::ImplCallDeactivateListeners( Window *pNew )
 {
-    // no deactivation if the the newly activated window is my child
+    // no deactivation if the newly activated window is my child
     if ( !pNew || !ImplIsChild( pNew ) )
     {
         ImplDelData aDogtag( this );
@@ -8477,7 +8477,7 @@ void Window::ImplCallDeactivateListeners( Window *pNew )
 
 void Window::ImplCallActivateListeners( Window *pOld )
 {
-    // no activation if the the old active window is my child
+    // no activation if the old active window is my child
     if ( !pOld || !ImplIsChild( pOld ) )
     {
         ImplDelData aDogtag( this );
diff --git a/main/wizards/source/formwizard/DBMeta.xba 
b/main/wizards/source/formwizard/DBMeta.xba
index 64e6f2e..65770e4 100644
--- a/main/wizards/source/formwizard/DBMeta.xba
+++ b/main/wizards/source/formwizard/DBMeta.xba
@@ -162,7 +162,7 @@ Dim oField as Object
        MaxIndex = Ubound(DialogModel.lstSelFields.StringItemList())
        Dim ColumnMap(MaxIndex)as Integer
        FieldNames() = DialogModel.lstSelFields.StringItemList()
-       &apos; Build a structure which maps the position of a selected field 
(within the selection) to the the column position within
+       &apos; Build a structure which maps the position of a selected field 
(within the selection) to the column position within
        &apos; the table. So we ensure that the controls are placed in the same 
order the according fields are selected.
        For i = 0 To Ubound(FieldNames())
                sFieldName = FieldNames(i)
diff --git a/main/writerfilter/source/dmapper/NumberingManager.cxx 
b/main/writerfilter/source/dmapper/NumberingManager.cxx
index 54e6d98..9dc584c 100644
--- a/main/writerfilter/source/dmapper/NumberingManager.cxx
+++ b/main/writerfilter/source/dmapper/NumberingManager.cxx
@@ -463,7 +463,7 @@ uno::Sequence< uno::Sequence< beans::PropertyValue > > 
ListDef::GetPropertyValue
         uno::Sequence< beans::PropertyValue > level = aThis[i];
         if ( level.getLength( ) == 0 )
         {
-            // If the the element contains something, merge it
+            // If the element contains something, merge it
             lcl_mergeProperties( level, aAbstract[i] );
         }
     }
diff --git 
a/main/xmerge/java/xmerge/src/main/java/org/openoffice/xmerge/converter/xml/sxc/SheetSettings.java
 
b/main/xmerge/java/xmerge/src/main/java/org/openoffice/xmerge/converter/xml/sxc/SheetSettings.java
index 189b8ce..b3e156d 100644
--- 
a/main/xmerge/java/xmerge/src/main/java/org/openoffice/xmerge/converter/xml/sxc/SheetSettings.java
+++ 
b/main/xmerge/java/xmerge/src/main/java/org/openoffice/xmerge/converter/xml/sxc/SheetSettings.java
@@ -166,7 +166,7 @@ public class SheetSettings implements OfficeConstants {
        }
        
        /**
-        * Gets the the leftmost column visibile in the right pane.
+        * Gets the leftmost column visibile in the right pane.
         *
         * @return the 0-based index to the column 
         */
diff --git a/main/xmerge/source/palmtests/qa/test_spec/convertor_test_spec.html 
b/main/xmerge/source/palmtests/qa/test_spec/convertor_test_spec.html
index 394e796..25231fc 100644
--- a/main/xmerge/source/palmtests/qa/test_spec/convertor_test_spec.html
+++ b/main/xmerge/source/palmtests/qa/test_spec/convertor_test_spec.html
@@ -1271,7 +1271,7 @@ than the Style-retaining functionality in version 1.1. 
<BR>&nbsp;</BLOCKQUOTE>
                        <P>Convert c_standard.sxc to c_standard.pdb, in 
Minicalc PDB
                        format.&nbsp; <BR>Start POSE with Minicalc application 
and import
                        c_standard.pdb.&nbsp; <BR>Insert the following text 
&amp; values
-                       at the beginning of the the spreadsheet, .i.e in Column 
1:&nbsp; 
+                       at the beginning of the spreadsheet, i.e. in Column 
1:&nbsp; 
                        </P>
                        <BLOCKQUOTE>Col 1</BLOCKQUOTE>
                        <BLOCKQUOTE>1</BLOCKQUOTE>
diff --git a/main/xmlhelp/source/cxxhelp/provider/databases.hxx 
b/main/xmlhelp/source/cxxhelp/provider/databases.hxx
index c325ab4..9a41bde 100644
--- a/main/xmlhelp/source/cxxhelp/provider/databases.hxx
+++ b/main/xmlhelp/source/cxxhelp/provider/databases.hxx
@@ -237,7 +237,7 @@ namespace chelp {
                
 
                /**
-                *  Changes the the stylesheet for further reads.
+                *  Changes the stylesheet for further reads.
                 */
                
                void changeCSS(const rtl::OUString& newStyleSheet);
@@ -254,7 +254,7 @@ namespace chelp {
                                                        int* byteCount );
                
                /**
-                *  Has the purpose of forcing the the jarfile to stay open
+                *  Has the purpose of forcing the jarfile to stay open
                 */
                
                com::sun::star::uno::Reference< 
com::sun::star::container::XHierarchicalNameAccess >
diff --git a/main/xmloff/inc/txtflde.hxx b/main/xmloff/inc/txtflde.hxx
index 1a19fd6..e32ca3b 100644
--- a/main/xmloff/inc/txtflde.hxx
+++ b/main/xmloff/inc/txtflde.hxx
@@ -190,7 +190,7 @@ public:
        /// to be called once at beginning of document body.
        void ExportFieldDeclarations();
 
-       /// export field declarations for fields used in the the particular 
XText.
+       /// export field declarations for fields used in the particular XText.
        /// (Requires that a list of used field declarations has previously been
        ///  built-up in ExportFieldAutoStyle() )
        void ExportFieldDeclarations(
diff --git a/main/xmloff/inc/xmloff/formlayerexport.hxx 
b/main/xmloff/inc/xmloff/formlayerexport.hxx
index 9510f06..503340a 100644
--- a/main/xmloff/inc/xmloff/formlayerexport.hxx
+++ b/main/xmloff/inc/xmloff/formlayerexport.hxx
@@ -135,7 +135,7 @@ namespace xmloff
                        shapes in the drawing layer may have such 
references)</p>
 
                        <p>No top level element describing the whole collection 
is inserted. I.e. if within your document, you
-                       expect the the forms collection to be stored like
+                       expect the forms collection to be stored like
                                <listing>
                                        &lt;Forms&gt;
                                                ....    // all the forms stuff 
here
diff --git a/main/xmloff/source/forms/elementimport.cxx 
b/main/xmloff/source/forms/elementimport.cxx
index 17a5898..056ec6f 100644
--- a/main/xmloff/source/forms/elementimport.cxx
+++ b/main/xmloff/source/forms/elementimport.cxx
@@ -1654,7 +1654,7 @@ namespace xmloff
        //---------------------------------------------------------------------
        void OListAndComboImport::EndElement()
        {
-               // append the list source property the the properties sequence 
of our importer
+               // append the list source property to the properties sequence 
of our importer
                // the string item list
                PropertyValue aItemList;
                aItemList.Name = PROPERTY_STRING_ITEM_LIST;
diff --git a/main/xmloff/source/text/txtstyle.cxx 
b/main/xmloff/source/text/txtstyle.cxx
index 91f1f30..d1b5d51 100644
--- a/main/xmloff/source/text/txtstyle.cxx
+++ b/main/xmloff/source/text/txtstyle.cxx
@@ -163,7 +163,7 @@ void XMLTextParagraphExport::exportTextStyles( sal_Bool 
bUsed, sal_Bool bProg )
                                           bUsed, 
XML_STYLE_FAMILY_TEXT_PARAGRAPH, 0);
        exportStyleFamily( "CharacterStyles", GetXMLToken(XML_TEXT), 
GetTextPropMapper(),
                                           bUsed, XML_STYLE_FAMILY_TEXT_TEXT );
-       // get shape export to make sure the the frame family is added 
correctly.
+       // get shape export to make sure the frame family is added correctly.
        GetExport().GetShapeExport();
        exportStyleFamily( "FrameStyles", 
OUString(RTL_CONSTASCII_USTRINGPARAM(XML_STYLE_FAMILY_SD_GRAPHICS_NAME)), 
GetFramePropMapper(),
                                           bUsed, XML_STYLE_FAMILY_TEXT_FRAME, 
0);
diff --git a/main/xmlsecurity/source/framework/buffernode.cxx 
b/main/xmlsecurity/source/framework/buffernode.cxx
index e8f4ece..1d96bed 100644
--- a/main/xmlsecurity/source/framework/buffernode.cxx
+++ b/main/xmlsecurity/source/framework/buffernode.cxx
@@ -786,7 +786,7 @@ const BufferNode* BufferNode::getNextNodeByTreeOrder() const
  *     The "next" node in tree order is defined as:
  *     1. If a node has children, then the first child is;
  *     2. otherwise, if it has a following sibling, then this sibling node is;
- *     3. otherwise, if it has a parent node, the the parent's next sibling
+ *     3. otherwise, if it has a parent node, the parent's next sibling
  *        node is;
  *     4. otherwise, no "next" node exists.
  *
diff --git a/main/xmlsecurity/source/xmlsec/xmlstreamio.cxx 
b/main/xmlsecurity/source/xmlsec/xmlstreamio.cxx
index f7baf31..a2e268c 100644
--- a/main/xmlsecurity/source/xmlsec/xmlstreamio.cxx
+++ b/main/xmlsecurity/source/xmlsec/xmlstreamio.cxx
@@ -70,7 +70,7 @@ int xmlStreamMatch( const char* uri )
                xInputStream = m_xUriBinding->getUriBinding( sUri ) ;
         if (!xInputStream.is())
         {
-            //Try the the passed in uri directly.
+            //Try the passed in uri directly.
             //For old documents prior OOo 3.0. We did not use URIs then.   
             xInputStream = m_xUriBinding->getUriBinding( 
                 ::rtl::OUString::createFromAscii(uri));
@@ -101,7 +101,7 @@ void* xmlStreamOpen( const char* uri )
         if (!xInputStream.is())
         {
             //For old documents.
-            //try the the passed in uri directly.
+            //try the passed in uri directly.
             xInputStream = m_xUriBinding->getUriBinding( 
                 ::rtl::OUString::createFromAscii(uri));
         }

Reply via email to