You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ms...@apache.org on 2020/08/22 16:27:47 UTC

[openoffice] branch trunk updated: Fixed typos (otherwhise -> otherwise) and some more

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

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


The following commit(s) were added to refs/heads/trunk by this push:
     new 1528913  Fixed typos (otherwhise -> otherwise) and some more
1528913 is described below

commit 15289133c13269ea12e74ce817b98e1403d5761d
Author: mseidel <ms...@apache.org>
AuthorDate: Sat Aug 22 18:27:14 2020 +0200

    Fixed typos (otherwhise -> otherwise) and some more
---
 .../com_sun_star_comp_beans_LocalOfficeWindow.c    |  2 +-
 main/comphelper/inc/comphelper/mediadescriptor.hxx |  8 +++---
 .../inc/comphelper/sequenceashashmap.hxx           |  4 +--
 .../source/misc/stillreadwriteinteraction.cxx      |  2 +-
 .../dbaccess/source/ui/app/AppDetailPageHelper.cxx |  2 +-
 main/desktop/source/app/app.cxx                    | 16 ++++++------
 .../test/Container1/nativelib/nativeview.c         |  2 +-
 main/filter/source/config/cache/basecontainer.hxx  |  2 +-
 main/filter/source/config/cache/cacheitem.hxx      | 12 ++++-----
 .../source/config/cache/cacheupdatelistener.cxx    |  2 +-
 main/filter/source/config/cache/filtercache.hxx    | 14 +++++-----
 .../source/config/cache/lateinitlistener.cxx       |  4 +--
 main/framework/inc/classes/checkediterator.hxx     |  2 +-
 main/framework/inc/classes/filtercachedata.hxx     |  2 +-
 main/framework/inc/classes/framecontainer.hxx      |  2 +-
 main/framework/inc/classes/menumanager.hxx         |  2 +-
 main/framework/inc/classes/propertysethelper.hxx   |  2 +-
 main/framework/inc/dispatch/closedispatcher.hxx    |  4 +--
 main/framework/inc/helper/propertysetcontainer.hxx |  2 +-
 .../inc/helper/statusindicatorfactory.hxx          |  2 +-
 main/framework/inc/helper/vclstatusindicator.hxx   |  2 +-
 .../framework/inc/interaction/quietinteraction.hxx |  4 +--
 main/framework/inc/properties.h                    |  4 +--
 main/framework/inc/recording/dispatchrecorder.hxx  |  2 +-
 main/framework/inc/services/autorecovery.hxx       |  6 ++---
 main/framework/inc/services/detectorfactory.hxx    |  2 +-
 main/framework/inc/services/layoutmanager.hxx      |  2 +-
 main/framework/inc/services/license.hxx            |  2 +-
 main/framework/inc/services/substitutepathvars.hxx |  2 +-
 main/framework/inc/services/tabwindowservice.hxx   |  2 +-
 .../inc/uiconfiguration/globalsettings.hxx         |  2 +-
 .../framework/inc/uiconfiguration/imagemanager.hxx |  2 +-
 .../inc/uiconfiguration/moduleimagemanager.hxx     |  2 +-
 .../inc/uiconfiguration/moduleuicfgsupplier.hxx    |  2 +-
 .../moduleuiconfigurationmanager.hxx               |  2 +-
 .../inc/uiconfiguration/uicategorydescription.hxx  |  2 +-
 .../inc/uiconfiguration/uiconfigurationmanager.hxx |  2 +-
 .../uiconfiguration/windowstateconfiguration.hxx   |  2 +-
 main/framework/inc/uielement/menubarmanager.hxx    |  2 +-
 .../inc/uielement/uicommanddescription.hxx         |  2 +-
 .../inc/uifactory/uielementfactorymanager.hxx      |  2 +-
 .../inc/uifactory/windowcontentfactorymanager.hxx  |  2 +-
 .../loadAllDocuments/InteractionHandler.java       |  2 +-
 .../source/accelerators/acceleratorexecute.hxx     |  6 ++---
 .../source/accelerators/presethandler.cxx          |  2 +-
 .../source/accelerators/storageholder.cxx          | 16 ++++++------
 main/framework/source/dispatch/closedispatcher.cxx | 10 ++++----
 .../framework/source/dispatch/dispatchprovider.cxx | 12 ++++-----
 .../source/dispatch/helpagentdispatcher.cxx        |  2 +-
 main/framework/source/dispatch/loaddispatcher.cxx  |  4 +--
 .../framework/source/dispatch/mailtodispatcher.cxx |  4 +--
 .../source/fwe/xml/saxnamespacefilter.cxx          |  2 +-
 main/framework/source/fwi/jobs/configaccess.cxx    |  2 +-
 .../framework/source/fwi/threadhelp/lockhelper.cxx |  2 +-
 .../source/inc/loadenv/actionlockguard.hxx         |  6 ++---
 main/framework/source/inc/loadenv/loadenv.hxx      |  6 ++---
 main/framework/source/inc/loadenv/targethelper.hxx |  2 +-
 main/framework/source/jobs/job.cxx                 |  8 +++---
 main/framework/source/jobs/jobdata.cxx             | 12 ++++-----
 main/framework/source/jobs/jobdispatch.cxx         | 12 ++++-----
 main/framework/source/jobs/jobresult.cxx           |  4 +--
 main/framework/source/jobs/joburl.cxx              |  6 ++---
 .../source/layoutmanager/layoutmanager.cxx         |  2 +-
 .../source/layoutmanager/toolbarlayoutmanager.hxx  |  2 +-
 main/framework/source/loadenv/loadenv.cxx          | 26 +++++++++----------
 main/framework/source/services/autorecovery.cxx    | 18 ++++++-------
 main/framework/source/services/backingcomp.cxx     |  4 +--
 main/framework/source/services/desktop.cxx         |  6 ++---
 main/framework/source/services/dispatchhelper.cxx  |  2 +-
 main/framework/source/services/frame.cxx           | 30 +++++++++++-----------
 main/framework/source/services/pathsettings.cxx    |  4 +--
 .../source/uiconfiguration/imagemanagerimpl.hxx    |  2 +-
 .../uiconfiguration/uiconfigurationmanagerimpl.hxx |  2 +-
 .../source/uielement/popuptoolbarcontroller.cxx    |  6 ++---
 main/l10ntools/source/filter/utils/Cache.java      | 12 ++++-----
 main/l10ntools/source/filter/utils/FileHelper.java |  2 +-
 main/l10ntools/source/filter/utils/XMLHelper.java  |  4 +--
 .../DesktopEnvironment/CustomizeView.java          |  4 +--
 .../DesktopEnvironment/FunctionHelper.java         |  8 +++---
 .../OfficeDev/DesktopEnvironment/Interceptor.java  |  4 +--
 .../DesktopEnvironment/StatusListener.java         |  8 +++---
 .../OfficeDev/DesktopEnvironment/StatusView.java   |  2 +-
 .../nativelib/windows/nativeview.c                 |  2 +-
 .../AsciiFilter/AsciiReplaceFilter.java            |  6 ++---
 main/offapi/com/sun/star/frame/FrameLoader.idl     |  2 +-
 main/offapi/com/sun/star/frame/ProtocolHandler.idl |  2 +-
 .../com/sun/star/frame/SynchronousFrameLoader.idl  |  2 +-
 .../com/sun/star/frame/XDispatchRecorder.idl       |  2 +-
 main/offapi/com/sun/star/view/PrintOptions.idl     |  4 +--
 main/salhelper/inc/salhelper/singletonref.hxx      |  8 +++---
 main/sfx2/source/appl/sfxhelp.cxx                  |  2 +-
 main/sfx2/source/bastyp/fltfnc.cxx                 |  4 +--
 main/sfx2/source/doc/docfile.cxx                   |  6 ++---
 main/sfx2/source/doc/printhelper.cxx               |  6 ++---
 main/sfx2/source/view/viewfrm.cxx                  |  2 +-
 .../complex/ConfigItems/helper/HistoryOptTest.cxx  |  2 +-
 main/svtools/inc/svtools/acceleratorexecute.hxx    |  6 ++---
 main/svx/source/form/formcontroller.cxx            |  2 +-
 .../inc/ucbhelper/interceptedinteraction.hxx       |  2 +-
 main/unotools/inc/unotools/securityoptions.hxx     |  2 +-
 main/uui/source/iahndl-filter.cxx                  |  2 +-
 main/uui/source/iahndl.cxx                         |  2 +-
 .../vbahelper/source/vbahelper/vbadocumentbase.cxx |  4 +--
 103 files changed, 239 insertions(+), 239 deletions(-)

diff --git a/main/bean/native/win32/com_sun_star_comp_beans_LocalOfficeWindow.c b/main/bean/native/win32/com_sun_star_comp_beans_LocalOfficeWindow.c
index a60596c..c8c2f04 100644
--- a/main/bean/native/win32/com_sun_star_comp_beans_LocalOfficeWindow.c
+++ b/main/bean/native/win32/com_sun_star_comp_beans_LocalOfficeWindow.c
@@ -139,7 +139,7 @@ JNIEXPORT jlong JNICALL Java_com_sun_star_comp_beans_LocalOfficeWindow_getNative
 	awt.FreeDrawingSurface(ds);
 
     /* Register own window procedure
-       Do it one times only! Otherwhise
+       Do it one time only! Otherwise
        multiple instances will be registered
        and calls on such construct produce
        a stack overflow.
diff --git a/main/comphelper/inc/comphelper/mediadescriptor.hxx b/main/comphelper/inc/comphelper/mediadescriptor.hxx
index 03a4ed1..39dd584 100644
--- a/main/comphelper/inc/comphelper/mediadescriptor.hxx
+++ b/main/comphelper/inc/comphelper/mediadescriptor.hxx
@@ -151,7 +151,7 @@ class COMPHELPER_DLLPUBLIC MediaDescriptor : public SequenceAsHashMap
                     In case of local file the system file locking is used.
 
             @return TRUE, if the stream was already part of the descriptor or could
-                    be created as new item. FALSE otherwhise.
+                    be created as new item. FALSE otherwise.
          */
         sal_Bool addInputStream();
 
@@ -170,7 +170,7 @@ class COMPHELPER_DLLPUBLIC MediaDescriptor : public SequenceAsHashMap
                     configuration settings.
 
             @return TRUE, if the stream was already part of the descriptor or could
-                    be created as new item. FALSE otherwhise.
+                    be created as new item. FALSE otherwise.
          */
         sal_Bool addInputStreamOwnLock();
 
@@ -190,7 +190,7 @@ class COMPHELPER_DLLPUBLIC MediaDescriptor : public SequenceAsHashMap
                     show a readonly UI on top of this read/write stream.
 
             @return TRUE, if the stream must be interpreted as readonly ...
-                    FALSE otherwhise.
+                    FALSE otherwise.
          */
         sal_Bool isStreamReadOnly() const;
 
@@ -326,7 +326,7 @@ class COMPHELPER_DLLPUBLIC MediaDescriptor : public SequenceAsHashMap
                     specifies whether the file should be locked
 
             @return TRUE, if the stream was already part of the descriptor or could
-                    be created as new item. FALSE otherwhise.
+                    be created as new item. FALSE otherwise.
          */
         COMPHELPER_DLLPRIVATE sal_Bool impl_addInputStream( sal_Bool bLockFile );
 };
diff --git a/main/comphelper/inc/comphelper/sequenceashashmap.hxx b/main/comphelper/inc/comphelper/sequenceashashmap.hxx
index 12afefc..97c9cfe 100644
--- a/main/comphelper/inc/comphelper/sequenceashashmap.hxx
+++ b/main/comphelper/inc/comphelper/sequenceashashmap.hxx
@@ -251,7 +251,7 @@ class COMPHELPER_DLLPUBLIC SequenceAsHashMap : public SequenceAsHashMapBase
         //---------------------------------------
         /** @short  check if the specified item exists
                     and return its (unpacked!) value or it returns the
-                    specified default value otherwhise.
+                    specified default value otherwise.
 
             @descr  If a value should be extracted only in case
                     the requsted property exists really (without creating
@@ -267,7 +267,7 @@ class COMPHELPER_DLLPUBLIC SequenceAsHashMap : public SequenceAsHashMapBase
                     be found.
 
             @return The (unpacked!) value of the specified property or
-                    the given default value otherwhise.
+                    the given default value otherwise.
 
             @attention  "unpacked" means the Any content of every iterator->second!
          */
diff --git a/main/comphelper/source/misc/stillreadwriteinteraction.cxx b/main/comphelper/source/misc/stillreadwriteinteraction.cxx
index a6a5178..bcde217 100644
--- a/main/comphelper/source/misc/stillreadwriteinteraction.cxx
+++ b/main/comphelper/source/misc/stillreadwriteinteraction.cxx
@@ -151,7 +151,7 @@ ucbhelper::InterceptedInteraction::EInterceptionState StillReadWriteInteraction:
 		return ::ucbhelper::InterceptedInteraction::E_INTERCEPTED;
 	}
 
-	// Otherwhise use internal handler.
+	// Otherwise use internal handler.
 	if (m_xInterceptedHandler.is())
 	{
 		m_bHandledByInternalHandler = sal_True;
diff --git a/main/dbaccess/source/ui/app/AppDetailPageHelper.cxx b/main/dbaccess/source/ui/app/AppDetailPageHelper.cxx
index a6f60c2..e62b8e9 100644
--- a/main/dbaccess/source/ui/app/AppDetailPageHelper.cxx
+++ b/main/dbaccess/source/ui/app/AppDetailPageHelper.cxx
@@ -1261,7 +1261,7 @@ void OAppDetailPageHelper::showPreview( const ::rtl::OUString& _sDataSourceName,
 
                 // work-around for #150518#: no layout manager (and thus no toolbars) in the preview
                 // Must be called after initialize ... but before any other call to this frame.
-                // Otherwhise frame throws "life time exceptions" as e.g. NON_INITIALIZED
+                // Otherwise frame throws "life time exceptions" as e.g. NON_INITIALIZED
                 Reference< XPropertySet > xFrameProps( m_xFrame, UNO_QUERY_THROW );
                 xFrameProps->setPropertyValue( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "LayoutManager" ) ), makeAny(Reference< XLayoutManager >()) );
 
diff --git a/main/desktop/source/app/app.cxx b/main/desktop/source/app/app.cxx
index d00c2d8..57bbd39 100644
--- a/main/desktop/source/app/app.cxx
+++ b/main/desktop/source/app/app.cxx
@@ -2533,7 +2533,7 @@ IMPL_LINK( Desktop, OpenClients_Impl, void*, EMPTYARG )
 {
     RTL_LOGFILE_PRODUCT_CONTEXT( aLog, "PERFORMANCE - DesktopOpenClients_Impl()" );
 
-	// #114963#
+	// #114963#
 	// Enable IPC thread before OpenClients
 	//
 	// This is because it is possible for another client to connect during the OpenClients() call.
@@ -2542,10 +2542,10 @@ IMPL_LINK( Desktop, OpenClients_Impl, void*, EMPTYARG )
 	//
 	// ALSO:
 	//
-	// Multiple clients may request simultaneous connections.
-	// When this server closes down it attempts to recreate the pipe (in DisableOfficeIPCThread()).
-	// It's possible that the client has a pending connection request.
-	// When the IPC thread is not running, this connection locks (because maPipe.accept()) is never called
+	// Multiple clients may request simultaneous connections.
+	// When this server closes down it attempts to recreate the pipe (in DisableOfficeIPCThread()).
+	// It's possible that the client has a pending connection request.
+	// When the IPC thread is not running, this connection locks (because maPipe.accept()) is never called
 	OfficeIPCThread::SetReady();
 	OpenClients();
 
@@ -3095,9 +3095,9 @@ void Desktop::OpenClients()
                     bExistsRecoveryData);
                 /* TODO we can't be sure, that at least one document could be recovered here successfully
                     So we set bLoaded=sal_True to suppress opening of the default document.
-                    But we should make it more safe. Otherwhise we have an office without an UI ...
+                    But we should make it more safe. Otherwise we have an office without an UI ...
                     ...
-                    May be we can check the desktop if some documents are existing there.
+                    Maybe we can check the desktop if some documents are existing there.
                  */
                 Reference< XFramesSupplier > xTasksSupplier(
                         ::comphelper::getProcessServiceFactory()->createInstance( OUSTRING(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.frame.Desktop")) ),
@@ -3316,7 +3316,7 @@ String GetURL_Impl(
 
     // Add path seperator to these directory and make given URL (rName) absolute by using of current working directory
     // Attention: "setFianlSlash()" is necessary for calling "smartRel2Abs()"!!!
-    // Otherwhise last part will be ignored and wrong result will be returned!!!
+    // Otherwise last part will be ignored and wrong result will be returned!!!
     // "smartRel2Abs()" interpret given URL as file not as path. So he truncate last element to get the base path ...
     // But if we add a seperator - he doesn't do it anymore.
     INetURLObject aObj;
diff --git a/main/embeddedobj/test/Container1/nativelib/nativeview.c b/main/embeddedobj/test/Container1/nativelib/nativeview.c
index e827047..6b32ff7 100644
--- a/main/embeddedobj/test/Container1/nativelib/nativeview.c
+++ b/main/embeddedobj/test/Container1/nativelib/nativeview.c
@@ -113,7 +113,7 @@ JNIEXPORT jlong JNICALL Java_embeddedobj_test_NativeView_getNativeWindow
 
 #if 0
     /* Register own window procedure
-       Do it one times only! Otherwhise
+       Do it one time only! Otherwise
        multiple instances will be registered
        and calls on such construct produce
        a stack overflow.
diff --git a/main/filter/source/config/cache/basecontainer.hxx b/main/filter/source/config/cache/basecontainer.hxx
index 868d479..d65b843 100644
--- a/main/filter/source/config/cache/basecontainer.hxx
+++ b/main/filter/source/config/cache/basecontainer.hxx
@@ -213,7 +213,7 @@ class BaseContainer : public BaseLock
 
             @note   The lifetime of this pointer is restricted to the time, where
                     the mutex of this BaseContainer instance is locked.
-                    Otherwhise may be the interface method flush() will destroy
+                    Otherwise maybe the interface method flush() will destroy
                     m_pFlushCache and the here returned pointer will be invalid!
 
                     Use:
diff --git a/main/filter/source/config/cache/cacheitem.hxx b/main/filter/source/config/cache/cacheitem.hxx
index 99a055c..10b1721 100644
--- a/main/filter/source/config/cache/cacheitem.hxx
+++ b/main/filter/source/config/cache/cacheitem.hxx
@@ -110,8 +110,8 @@ class CacheItem : public ::comphelper::SequenceAsHashMap
             @param  lProps
                     contains all properties, which must exist at this item.
 
-            @return sal_True if all given properties exists
-                    at this item; sal_False otherwhise.
+            @return sal_True if all given properties exist
+                    at this item; sal_False otherwise.
          */
         sal_Bool haveProps(const CacheItem& lProps) const;
 
@@ -127,8 +127,8 @@ class CacheItem : public ::comphelper::SequenceAsHashMap
             @param  lProps
                     contains all properties, which should not exists at this item.
 
-            @return sal_False if at least on property exists at this item(!);
-                    sal_True otherwhise.
+            @return sal_False if at least one property exists at this item(!);
+                    sal_True otherwise.
          */
         sal_Bool dontHaveProps(const CacheItem& lProps) const;
 
@@ -144,8 +144,8 @@ class CacheItem : public ::comphelper::SequenceAsHashMap
             @param  lProps
                     contains all properties, which should be checked.
 
-            @return sal_True if all given properties dont exists
-                    at this item; sal_False otherwhise.
+            @return sal_True if all given properties don't exist
+                    at this item; sal_False otherwise.
          */
         sal_Bool excludeProps(const CacheItem& lProps) const;
 
diff --git a/main/filter/source/config/cache/cacheupdatelistener.cxx b/main/filter/source/config/cache/cacheupdatelistener.cxx
index e3998aa..712b551 100644
--- a/main/filter/source/config/cache/cacheupdatelistener.cxx
+++ b/main/filter/source/config/cache/cacheupdatelistener.cxx
@@ -209,7 +209,7 @@ void SAL_CALL  CacheUpdateListener::changesOccurred(const css::util::ChangesEven
                 // sItem was removed from the condfiguration and we forced an update of the cache.
                 // But we know, that the cache is up-to-date know and has thrown this exception afterwards .-)
             }
-        // NO FLUSH! Otherwhise we start a never ending story here .-)
+        // NO FLUSH! Otherwise we start a never ending story here .-)
         bNotifyRefresh = sal_True;
     }
 
diff --git a/main/filter/source/config/cache/filtercache.hxx b/main/filter/source/config/cache/filtercache.hxx
index ad7e2c6..fed0358 100644
--- a/main/filter/source/config/cache/filtercache.hxx
+++ b/main/filter/source/config/cache/filtercache.hxx
@@ -335,9 +335,9 @@ class FilterCache : public BaseLock
 
         /** @short      force special fill state of this cache.
 
-            @descr      This method check if all requested items/properties already
-                        exists. Only missing informations will be readed.
-                        Otherwhise this method does nothing!
+            @descr      This method checks if all requested items/properties already
+                        exist. Only missing informations will be read.
+                        Otherwise this method does nothing!
 
                         This method must be called from every user of this cache
                         everytimes it need a filled cache. Normally we load
@@ -349,8 +349,8 @@ class FilterCache : public BaseLock
                         This method "load(xxx)" synchronize such load-on-demand requests.
 
                         Of course it would be possible to suppress this special load thread
-                        in general and start it manualy inside this load() request.
-                        The outside code decide then, if and when this cache will be filled
+                        in general and start it manually inside this load() request.
+                        The outside code decides then, if and when this cache will be filled
                         with all available informations ...
 
             @param      bByThread
@@ -441,7 +441,7 @@ class FilterCache : public BaseLock
 
             @return     [sal_Bool]
                         True, if the requested sub container contains some items;
-                        False otherwhise.
+                        False otherwise.
 
             @throw      [css::uno::Exception]
                         if some input parameter are wrong or the cache itself is not valid
@@ -713,7 +713,7 @@ class FilterCache : public BaseLock
 
             @return     A valid reference, if the configuration access could be opened
                         and initialized within the requested modes successfully;
-                        a NULL reference otherwhise.
+                        a NULL reference otherwise.
          */
         css::uno::Reference< css::uno::XInterface > impl_createConfigAccess(const ::rtl::OUString& sRoot       ,
                                                                                   sal_Bool         bReadOnly   ,
diff --git a/main/filter/source/config/cache/lateinitlistener.cxx b/main/filter/source/config/cache/lateinitlistener.cxx
index 3aa09af..a2ffc2e 100644
--- a/main/filter/source/config/cache/lateinitlistener.cxx
+++ b/main/filter/source/config/cache/lateinitlistener.cxx
@@ -50,8 +50,8 @@ LateInitListener::LateInitListener(const css::uno::Reference< css::lang::XMultiS
     , m_xSMGR (xSMGR)
 {
     // important to do so ...
-    // Otherwhise the temp. reference to ourselves
-    // will kill us at realeasing time!
+    // Otherwise the temp. reference to ourselves
+    // will kill us at releasing time!
     osl_incrementInterlockedCount( &m_refCount );
 
     m_xBroadcaster = css::uno::Reference< css::document::XEventBroadcaster >(
diff --git a/main/framework/inc/classes/checkediterator.hxx b/main/framework/inc/classes/checkediterator.hxx
index a761ce8..7d3d7fd 100644
--- a/main/framework/inc/classes/checkediterator.hxx
+++ b/main/framework/inc/classes/checkediterator.hxx
@@ -182,7 +182,7 @@ class CheckedIterator
         /*-****************************************************************************************************//**
             @short      reset this iterator
             @descr      It must be called on an already initialized iterator.
-                        Means the member m_pContainer must be valid. Otherwhise the reaction
+                        Means the member m_pContainer must be valid. Otherwise the reaction
                         isn't defined.
 
             @param      -
diff --git a/main/framework/inc/classes/filtercachedata.hxx b/main/framework/inc/classes/filtercachedata.hxx
index 551e2bc..3ae9b61 100644
--- a/main/framework/inc/classes/filtercachedata.hxx
+++ b/main/framework/inc/classes/filtercachedata.hxx
@@ -24,7 +24,7 @@
 #ifndef __FRAMEWORK_CLASSES_FILTERCACHEDATA_HXX_
 #define __FRAMEWORK_CLASSES_FILTERCACHEDATA_HXX_
 
-/** Attention: stl headers must(!) be included at first. Otherwhise it can make trouble
+/** Attention: stl headers must(!) be included at first. Otherwise it can make trouble
                with solaris headers ...
 */
 #include <hash_map>
diff --git a/main/framework/inc/classes/framecontainer.hxx b/main/framework/inc/classes/framecontainer.hxx
index 0bca085..05671e5 100644
--- a/main/framework/inc/classes/framecontainer.hxx
+++ b/main/framework/inc/classes/framecontainer.hxx
@@ -24,7 +24,7 @@
 #ifndef __FRAMEWORK_CLASSES_FRAMECONTAINER_HXX_
 #define __FRAMEWORK_CLASSES_FRAMECONTAINER_HXX_
 
-/** Attention: stl headers must(!) be included at first. Otherwhise it can make trouble
+/** Attention: stl headers must(!) be included at first. Otherwise it can make trouble
                with solaris headers ...
 */
 #include <vector>
diff --git a/main/framework/inc/classes/menumanager.hxx b/main/framework/inc/classes/menumanager.hxx
index 7bc24a7..14eb994 100644
--- a/main/framework/inc/classes/menumanager.hxx
+++ b/main/framework/inc/classes/menumanager.hxx
@@ -24,7 +24,7 @@
 #ifndef __FRAMEWORK_CLASSES_MENUMANAGER_HXX_
 #define __FRAMEWORK_CLASSES_MENUMANAGER_HXX_
 
-/** Attention: stl headers must(!) be included at first. Otherwhise it can make trouble
+/** Attention: stl headers must(!) be included at first. Otherwise it can make trouble
                with solaris headers ...
 */
 #include <vector>
diff --git a/main/framework/inc/classes/propertysethelper.hxx b/main/framework/inc/classes/propertysethelper.hxx
index 248c779..7b2c369 100644
--- a/main/framework/inc/classes/propertysethelper.hxx
+++ b/main/framework/inc/classes/propertysethelper.hxx
@@ -85,7 +85,7 @@ class FWI_DLLPUBLIC PropertySetHelper : public css::beans::XPropertySet
 
         sal_Bool m_bReleaseLockOnCall;
 
-        // hold it weak ... otherwhise this helper has to be "killed" explicitly .-)
+        // hold it weak ... otherwise this helper has to be "killed" explicitly .-)
         css::uno::WeakReference< css::uno::XInterface > m_xBroadcaster;
 
         LockHelper& m_rLock;
diff --git a/main/framework/inc/dispatch/closedispatcher.hxx b/main/framework/inc/dispatch/closedispatcher.hxx
index 7fb3aba..e2148e9 100644
--- a/main/framework/inc/dispatch/closedispatcher.hxx
+++ b/main/framework/inc/dispatch/closedispatcher.hxx
@@ -235,8 +235,8 @@ class CloseDispatcher : public css::lang::XTypeProvider
                     inside this frame. Such views must be cleared
                     before (e.g. by calling implts_closeView()!
 
-                    Otherwhise e.g. the XController->suspend()
-                    call isn't made and no UI warn the user about
+                    Otherwise e.g. the XController->suspend()
+                    call isn't made and no UI warns the user about
                     losing document changes. Because the
                     frame is closed ....
 
diff --git a/main/framework/inc/helper/propertysetcontainer.hxx b/main/framework/inc/helper/propertysetcontainer.hxx
index 11599e7..0b43e62 100644
--- a/main/framework/inc/helper/propertysetcontainer.hxx
+++ b/main/framework/inc/helper/propertysetcontainer.hxx
@@ -24,7 +24,7 @@
 #ifndef __FRAMEWORK_HELPER_PROPERTYSETCONTAINER_HXX_
 #define __FRAMEWORK_HELPER_PROPERTYSETCONTAINER_HXX_
 
-/** Attention: stl headers must(!) be included at first. Otherwhise it can make trouble
+/** Attention: stl headers must(!) be included at first. Otherwise it can make trouble
                with solaris headers ...
 */
 #include <vector>
diff --git a/main/framework/inc/helper/statusindicatorfactory.hxx b/main/framework/inc/helper/statusindicatorfactory.hxx
index e1d536a..e9c80f2 100644
--- a/main/framework/inc/helper/statusindicatorfactory.hxx
+++ b/main/framework/inc/helper/statusindicatorfactory.hxx
@@ -24,7 +24,7 @@
 #ifndef __FRAMEWORK_HELPER_STATUSINDICATORFACTORY_HXX_
 #define __FRAMEWORK_HELPER_STATUSINDICATORFACTORY_HXX_
 
-// Attention: stl headers must(!) be included at first. Otherwhise it can make trouble
+// Attention: stl headers must(!) be included at first. Otherwise it can make trouble
 // with solaris headers ...
 #include <vector>
 
diff --git a/main/framework/inc/helper/vclstatusindicator.hxx b/main/framework/inc/helper/vclstatusindicator.hxx
index 2e23b91..8033189 100644
--- a/main/framework/inc/helper/vclstatusindicator.hxx
+++ b/main/framework/inc/helper/vclstatusindicator.hxx
@@ -70,7 +70,7 @@ class VCLStatusIndicator : public  css::task::XStatusIndicator
         /** shows the progress.
         
             @attention  This member isn't synchronized using our own mutex!
-                        Its guarded by the solarmutex only. Otherwhise
+                        It's guarded by the solarmutex only. Otherwise
                         we have to lock two of them, which can force a deadlock ...
             */
         StatusBar* m_pStatusBar;
diff --git a/main/framework/inc/interaction/quietinteraction.hxx b/main/framework/inc/interaction/quietinteraction.hxx
index 1fa936a..9ce62b9 100644
--- a/main/framework/inc/interaction/quietinteraction.hxx
+++ b/main/framework/inc/interaction/quietinteraction.hxx
@@ -98,7 +98,7 @@ class QuietInteraction : public  css::lang::XTypeProvider
             @interface  XInteractionHandler
             @short      called from outside to handle a problem
             @descr      The only interaction we can handle here is to
-                        decide which of two ambigous filters should be really used.
+                        decide which of two ambiguous filters should be really used.
                         We use the user selected one every time.
                         All other request will be aborted and can break the code,
                         which use this interaction handler.
@@ -148,7 +148,7 @@ class QuietInteraction : public  css::lang::XTypeProvider
 
             @return     [boolean]
                             <TRUE/> for used interaction
-                            <FALSE/> otherwhise
+                            <FALSE/> otherwise
 
             @threadsafe yes
         */
diff --git a/main/framework/inc/properties.h b/main/framework/inc/properties.h
index 25ed10a..a24459b 100644
--- a/main/framework/inc/properties.h
+++ b/main/framework/inc/properties.h
@@ -297,14 +297,14 @@ class PropHelper
     //___________________________________________
 
     /** checks if given property will be changed by this settings.
-     *  We compare the content of the given any values. If they are different we return sal_True - sal_False otherwhise.
+     *  We compare the content of the given any values. If they are different we return sal_True - sal_False otherwise.
      *
      *  @param  aCurrentValue   contains the current value for this property
      *  @param  aNewValue       contains the new value for this property
      *  @param  aOldValue       returns the current value, in case somthing will be changed
      *  @param  aChangedValue   returns the new value, in case somthing will be changed
      *
-     *  @return <True/> if value of this property will be changed; <False/> otherwhise.
+     *  @return <True/> if value of this property will be changed; <False/> otherwise.
      */
 
     static sal_Bool willPropertyBeChanged( const css::uno::Any& aCurrentValue ,
diff --git a/main/framework/inc/recording/dispatchrecorder.hxx b/main/framework/inc/recording/dispatchrecorder.hxx
index 52d427d..32c0a9d 100644
--- a/main/framework/inc/recording/dispatchrecorder.hxx
+++ b/main/framework/inc/recording/dispatchrecorder.hxx
@@ -23,7 +23,7 @@
 #ifndef __FRAMEWORK_RECORDING_DISPATCHRECORDER_HXX_
 #define __FRAMEWORK_RECORDING_DISPATCHRECORDER_HXX_
 
-/** Attention: stl headers must(!) be included at first. Otherwhise it can make trouble
+/** Attention: stl headers must(!) be included at first. Otherwise it can make trouble
                with solaris headers ...
 */
 #include <vector>
diff --git a/main/framework/inc/services/autorecovery.hxx b/main/framework/inc/services/autorecovery.hxx
index 2e7d933..8d3e40d 100644
--- a/main/framework/inc/services/autorecovery.hxx
+++ b/main/framework/inc/services/autorecovery.hxx
@@ -756,11 +756,11 @@ class AutoRecovery  : public  css::lang::XTypeProvider
                     - patch the configuration.
 
                     Note further: It paches the info struct
-                    more then ones. E.g. the new temp URL is set
+                    more than once. E.g. the new temp URL is set
                     before the file is saved. And the old URL is removed
-                    only if removing oft he old file was successfully.
+                    only if removing of the old file was successfully.
                     If this method returns without an exception - everything
-                    was OK. Otherwhise the info struct can be analyzed to
+                    was OK. Otherwise the info struct can be analyzed to
                     get more information, e.g. when the problem occurs.
 
             @param  sBackupPath
diff --git a/main/framework/inc/services/detectorfactory.hxx b/main/framework/inc/services/detectorfactory.hxx
index f418743..0066d87 100644
--- a/main/framework/inc/services/detectorfactory.hxx
+++ b/main/framework/inc/services/detectorfactory.hxx
@@ -389,7 +389,7 @@ class DetectorFactory : // interfaces
 
         /** @short  return fill state of this cache.
 
-            @return sal_True if any item exist inside this conatiner; sal_False otherwhise.
+            @return sal_True if any item exist inside this conatiner; sal_False otherwise.
          */
 
         virtual sal_Bool SAL_CALL hasElements()
diff --git a/main/framework/inc/services/layoutmanager.hxx b/main/framework/inc/services/layoutmanager.hxx
index ffe6c37..738072f 100644
--- a/main/framework/inc/services/layoutmanager.hxx
+++ b/main/framework/inc/services/layoutmanager.hxx
@@ -24,7 +24,7 @@
 #ifndef __FRAMEWORK_SERVICES_LAYOUTMANAGER_HXX_
 #define __FRAMEWORK_SERVICES_LAYOUTMANAGER_HXX_
 
-/** Attention: stl headers must(!) be included at first. Otherwhise it can make trouble
+/** Attention: stl headers must(!) be included at first. Otherwise it can make trouble
                with solaris headers ...
 */
 #include <vector>
diff --git a/main/framework/inc/services/license.hxx b/main/framework/inc/services/license.hxx
index ca46ff3..375d0df 100644
--- a/main/framework/inc/services/license.hxx
+++ b/main/framework/inc/services/license.hxx
@@ -24,7 +24,7 @@
 #ifndef __FRAMEWORK_SERVICES_LICENSE_HXX_
 #define __FRAMEWORK_SERVICES_LICENSE_HXX_
 
-/** Attention: stl headers must(!) be included at first. Otherwhise it can make trouble
+/** Attention: stl headers must(!) be included at first. Otherwise it can make trouble
                with solaris headers ...
 */
 #include <vector>
diff --git a/main/framework/inc/services/substitutepathvars.hxx b/main/framework/inc/services/substitutepathvars.hxx
index b6bc2c5..dc5eb4b 100644
--- a/main/framework/inc/services/substitutepathvars.hxx
+++ b/main/framework/inc/services/substitutepathvars.hxx
@@ -24,7 +24,7 @@
 #ifndef __FRAMEWORK_SERVICES_SUBSTPATHVARS_HXX_
 #define __FRAMEWORK_SERVICES_SUBSTPATHVARS_HXX_
 
-/** Attention: stl headers must(!) be included at first. Otherwhise it can make trouble
+/** Attention: stl headers must(!) be included at first. Otherwise it can make trouble
                with solaris headers ...
 */
 #include <vector>
diff --git a/main/framework/inc/services/tabwindowservice.hxx b/main/framework/inc/services/tabwindowservice.hxx
index bf28267..ff22705 100644
--- a/main/framework/inc/services/tabwindowservice.hxx
+++ b/main/framework/inc/services/tabwindowservice.hxx
@@ -24,7 +24,7 @@
 #ifndef __FRAMEWORK_SERVICES_TABWINDOWSERVICE_HXX_
 #define __FRAMEWORK_SERVICES_TABWINDOWSERVICE_HXX_
 
-/** Attention: stl headers must(!) be included at first. Otherwhise it can make trouble
+/** Attention: stl headers must(!) be included at first. Otherwise it can make trouble
                with solaris headers ...
 */
 #include <vector>
diff --git a/main/framework/inc/uiconfiguration/globalsettings.hxx b/main/framework/inc/uiconfiguration/globalsettings.hxx
index 359b061..57c7af9 100644
--- a/main/framework/inc/uiconfiguration/globalsettings.hxx
+++ b/main/framework/inc/uiconfiguration/globalsettings.hxx
@@ -24,7 +24,7 @@
 #ifndef __FRAMEWORK_UICONFIGURATION_GLOBALSETTINGS_HXX_
 #define __FRAMEWORK_UICONFIGURATION_GLOBALSETTINGS_HXX_
 
-/** Attention: stl headers must(!) be included at first. Otherwhise it can make trouble
+/** Attention: stl headers must(!) be included at first. Otherwise it can make trouble
                with solaris headers ...
 */
 #include <vector>
diff --git a/main/framework/inc/uiconfiguration/imagemanager.hxx b/main/framework/inc/uiconfiguration/imagemanager.hxx
index f1cb41f..1a231e9 100644
--- a/main/framework/inc/uiconfiguration/imagemanager.hxx
+++ b/main/framework/inc/uiconfiguration/imagemanager.hxx
@@ -25,7 +25,7 @@
 #define __FRAMEWORK_UICONFIGURATION_IMAGEMANAGER_HXX_
 
 
-/** Attention: stl headers must(!) be included at first. Otherwhise it can make trouble
+/** Attention: stl headers must(!) be included at first. Otherwise it can make trouble
                with solaris headers ...
 */
 #include <vector>
diff --git a/main/framework/inc/uiconfiguration/moduleimagemanager.hxx b/main/framework/inc/uiconfiguration/moduleimagemanager.hxx
index 3bf27bf..c55f2ab 100644
--- a/main/framework/inc/uiconfiguration/moduleimagemanager.hxx
+++ b/main/framework/inc/uiconfiguration/moduleimagemanager.hxx
@@ -25,7 +25,7 @@
 #define __FRAMEWORK_UICONFIGURATION_MODULEIMAGEMANAGER_HXX_
 
 
-/** Attention: stl headers must(!) be included at first. Otherwhise it can make trouble
+/** Attention: stl headers must(!) be included at first. Otherwise it can make trouble
                with solaris headers ...
 */
 #include <vector>
diff --git a/main/framework/inc/uiconfiguration/moduleuicfgsupplier.hxx b/main/framework/inc/uiconfiguration/moduleuicfgsupplier.hxx
index 817d916..27a7885 100644
--- a/main/framework/inc/uiconfiguration/moduleuicfgsupplier.hxx
+++ b/main/framework/inc/uiconfiguration/moduleuicfgsupplier.hxx
@@ -25,7 +25,7 @@
 #define __FRAMEWORK_UICONFIGURATION_MODULEUICFGSUPPLIER_HXX_
 
 
-/** Attention: stl headers must(!) be included at first. Otherwhise it can make trouble
+/** Attention: stl headers must(!) be included at first. Otherwise it can make trouble
                with solaris headers ...
 */
 #include <vector>
diff --git a/main/framework/inc/uiconfiguration/moduleuiconfigurationmanager.hxx b/main/framework/inc/uiconfiguration/moduleuiconfigurationmanager.hxx
index 907f758..69244f4 100644
--- a/main/framework/inc/uiconfiguration/moduleuiconfigurationmanager.hxx
+++ b/main/framework/inc/uiconfiguration/moduleuiconfigurationmanager.hxx
@@ -25,7 +25,7 @@
 #define __FRAMEWORK_UICONFIGURATION_MODULEUICONFIGMANAGER_HXX_
 
 
-/** Attention: stl headers must(!) be included at first. Otherwhise it can make trouble
+/** Attention: stl headers must(!) be included at first. Otherwise it can make trouble
                with solaris headers ...
 */
 #include <vector>
diff --git a/main/framework/inc/uiconfiguration/uicategorydescription.hxx b/main/framework/inc/uiconfiguration/uicategorydescription.hxx
index b6bd8ad..ccd70e0 100644
--- a/main/framework/inc/uiconfiguration/uicategorydescription.hxx
+++ b/main/framework/inc/uiconfiguration/uicategorydescription.hxx
@@ -24,7 +24,7 @@
 #ifndef __FRAMEWORK_UIELEMENT_UICOMMANDCATEGORY_HXX_
 #define __FRAMEWORK_UIELEMENT_UICOMMANDCATEGORY_HXX_
 
-/** Attention: stl headers must(!) be included at first. Otherwhise it can make trouble
+/** Attention: stl headers must(!) be included at first. Otherwise it can make trouble
                with solaris headers ...
 */
 #include <vector>
diff --git a/main/framework/inc/uiconfiguration/uiconfigurationmanager.hxx b/main/framework/inc/uiconfiguration/uiconfigurationmanager.hxx
index ee79472..41fed92 100644
--- a/main/framework/inc/uiconfiguration/uiconfigurationmanager.hxx
+++ b/main/framework/inc/uiconfiguration/uiconfigurationmanager.hxx
@@ -25,7 +25,7 @@
 #define __FRAMEWORK_UICONFIGURATION_UICONFIGMANAGER_HXX_
 
 
-/** Attention: stl headers must(!) be included at first. Otherwhise it can make trouble
+/** Attention: stl headers must(!) be included at first. Otherwise it can make trouble
                with solaris headers ...
 */
 #include <vector>
diff --git a/main/framework/inc/uiconfiguration/windowstateconfiguration.hxx b/main/framework/inc/uiconfiguration/windowstateconfiguration.hxx
index 8bf9aa4..96fa762 100644
--- a/main/framework/inc/uiconfiguration/windowstateconfiguration.hxx
+++ b/main/framework/inc/uiconfiguration/windowstateconfiguration.hxx
@@ -24,7 +24,7 @@
 #ifndef __FRAMEWORK_UICONFIGURATION_WINDOWSTATECONFIGURATION_HXX_
 #define __FRAMEWORK_UICONFIGURATION_WINDOWSTATECONFIGURATION_HXX_
 
-/** Attention: stl headers must(!) be included at first. Otherwhise it can make trouble
+/** Attention: stl headers must(!) be included at first. Otherwise it can make trouble
                with solaris headers ...
 */
 #include <vector>
diff --git a/main/framework/inc/uielement/menubarmanager.hxx b/main/framework/inc/uielement/menubarmanager.hxx
index cdfea00..fa4415c 100644
--- a/main/framework/inc/uielement/menubarmanager.hxx
+++ b/main/framework/inc/uielement/menubarmanager.hxx
@@ -24,7 +24,7 @@
 #ifndef __FRAMEWORK_UIELEMENT_MENUBARMANAGER_HXX_
 #define __FRAMEWORK_UIELEMENT_MENUBARMANAGER_HXX_
 
-/** Attention: stl headers must(!) be included at first. Otherwhise it can make trouble
+/** Attention: stl headers must(!) be included at first. Otherwise it can make trouble
                with solaris headers ...
 */
 #include <vector>
diff --git a/main/framework/inc/uielement/uicommanddescription.hxx b/main/framework/inc/uielement/uicommanddescription.hxx
index 0c202ac..f73f62b 100644
--- a/main/framework/inc/uielement/uicommanddescription.hxx
+++ b/main/framework/inc/uielement/uicommanddescription.hxx
@@ -24,7 +24,7 @@
 #ifndef __FRAMEWORK_UIELEMENT_UICOMMANDDESCRPTION_HXX_
 #define __FRAMEWORK_UIELEMENT_UICOMMANDDESCRPTION_HXX_
 
-/** Attention: stl headers must(!) be included at first. Otherwhise it can make trouble
+/** Attention: stl headers must(!) be included at first. Otherwise it can make trouble
                with solaris headers ...
 */
 #include <vector>
diff --git a/main/framework/inc/uifactory/uielementfactorymanager.hxx b/main/framework/inc/uifactory/uielementfactorymanager.hxx
index 569c6ae..cf216d9 100644
--- a/main/framework/inc/uifactory/uielementfactorymanager.hxx
+++ b/main/framework/inc/uifactory/uielementfactorymanager.hxx
@@ -24,7 +24,7 @@
 #ifndef __FRAMEWORK_UIFACTORY_UIELEMENTFACTORYMANAGER_HXX_
 #define __FRAMEWORK_UIFACTORY_UIELEMENTFACTORYMANAGER_HXX_
 
-/** Attention: stl headers must(!) be included at first. Otherwhise it can make trouble
+/** Attention: stl headers must(!) be included at first. Otherwise it can make trouble
                with solaris headers ...
 */
 #include <vector>
diff --git a/main/framework/inc/uifactory/windowcontentfactorymanager.hxx b/main/framework/inc/uifactory/windowcontentfactorymanager.hxx
index 0004bcd..0ddc722 100644
--- a/main/framework/inc/uifactory/windowcontentfactorymanager.hxx
+++ b/main/framework/inc/uifactory/windowcontentfactorymanager.hxx
@@ -24,7 +24,7 @@
 #ifndef __FRAMEWORK_UIFACTORY_WINDOWCONTENTFACTORYMANAGER_HXX_
 #define __FRAMEWORK_UIFACTORY_WINDOWCONTENTFACTORYMANAGER_HXX_
 
-/** Attention: stl headers must(!) be included at first. Otherwhise it can make trouble
+/** Attention: stl headers must(!) be included at first. Otherwise it can make trouble
                with solaris headers ...
 */
 #include <vector>
diff --git a/main/framework/qa/complex/loadAllDocuments/InteractionHandler.java b/main/framework/qa/complex/loadAllDocuments/InteractionHandler.java
index b82da91..1a82c9d 100644
--- a/main/framework/qa/complex/loadAllDocuments/InteractionHandler.java
+++ b/main/framework/qa/complex/loadAllDocuments/InteractionHandler.java
@@ -138,7 +138,7 @@ public class InteractionHandler implements XInteractionHandler
             }
         }
 
-        // otherwhise we can abort this interaction only
+        // otherwise we can abort this interaction only
         if (xAbort != null)
         {
             xAbort.select();
diff --git a/main/framework/source/accelerators/acceleratorexecute.hxx b/main/framework/source/accelerators/acceleratorexecute.hxx
index 2969373..796cc1d 100644
--- a/main/framework/source/accelerators/acceleratorexecute.hxx
+++ b/main/framework/source/accelerators/acceleratorexecute.hxx
@@ -167,9 +167,9 @@ class AcceleratorExecute : private TMutexInit
         /** @short  init this instance.
         
             @descr  It must be called as first method after creation.
-                    And further it can be called more then once ...
-                    but at least its should be used one times only.
-                    Otherwhise nobody can say, which asynchronous
+                    And further it can be called more than once ...
+                    but at least it should be used one time only.
+                    Otherwise nobody can say, which asynchronous
                     executions will be used inside the old and which one
                     will be used inside the new environment.
                     
diff --git a/main/framework/source/accelerators/presethandler.cxx b/main/framework/source/accelerators/presethandler.cxx
index cc1510f..0060ad3 100644
--- a/main/framework/source/accelerators/presethandler.cxx
+++ b/main/framework/source/accelerators/presethandler.cxx
@@ -881,7 +881,7 @@ css::uno::Reference< css::embed::XStorage > PresetHandler::impl_openLocalizedPat
     
     // it doesn't matter, if there is a locale fallback or not
     // If creation of storages is allowed, we do it anyway.
-    // Otherwhise we have no acc config at all, which can make other trouble.
+    // Otherwise we have no acc config at all, which can make other trouble.
     ::rtl::OUString sLocalizedPath;
     sLocalizedPath  = sPath;
     sLocalizedPath += PATH_SEPERATOR;
diff --git a/main/framework/source/accelerators/storageholder.cxx b/main/framework/source/accelerators/storageholder.cxx
index e197c9d..f8252fa 100644
--- a/main/framework/source/accelerators/storageholder.cxx
+++ b/main/framework/source/accelerators/storageholder.cxx
@@ -176,7 +176,7 @@ css::uno::Reference< css::embed::XStorage > StorageHolder::openPath(const ::rtl:
         aReadLock.lock();
 
         // If we found an already open storage ... we must increase
-        // its use count. Otherwhise it will may be closed to early :-)
+        // its use count. Otherwise it will maybe closed to early :-)
         TPath2StorageInfo::iterator pCheck = m_lStorages.find(sCheckPath);
         TStorageInfo*               pInfo  = 0;
         if (pCheck != m_lStorages.end())
@@ -225,8 +225,8 @@ css::uno::Reference< css::embed::XStorage > StorageHolder::openPath(const ::rtl:
         sRelPath += PATH_SEPERATOR;
     }         
     
-    // TODO think about return last storage as working storage ... but dont caching it inside this holder!
-    // => otherwhise the same storage is may be commit more then once.
+    // TODO think about return last storage as working storage ... but don't cache it inside this holder!
+    // => otherwise the same storage is maybe committed more than once.
     
     return xChild;
 }
@@ -282,7 +282,7 @@ void StorageHolder::commitPath(const ::rtl::OUString& sPath)
     
     css::uno::Reference< css::embed::XTransactedObject > xCommit;
     StorageHolder::TStorageList::reverse_iterator pIt;
-    for (  pIt  = lStorages.rbegin(); // order of commit is important ... otherwhise changes are not recognized!
+    for (  pIt  = lStorages.rbegin(); // order of commit is important ... otherwise changes are not recognized!
            pIt != lStorages.rend()  ;
          ++pIt                      ) 
     {
@@ -540,8 +540,8 @@ css::uno::Reference< css::embed::XStorage > StorageHolder::openSubStorageWithFal
         throw exResult;
 
     // c) try it readonly
-    //    dont catch exception here! Outside code whish to know, if operation failed or not.
-    //    Otherwhise they work on NULL references ...
+    //    don't catch exception here! Outside code whish to know, if operation failed or not.
+    //    Otherwise they work on NULL references ...
     sal_Int32 eNewMode = (eOpenMode & ~css::embed::ElementModes::WRITE);
     css::uno::Reference< css::embed::XStorage > xSubStorage = xBaseStorage->openStorageElement(sSubStorage, eNewMode);
     if (xSubStorage.is())
@@ -580,8 +580,8 @@ css::uno::Reference< css::io::XStream > StorageHolder::openSubStreamWithFallback
         throw exResult;
 
     // c) try it readonly
-    //    dont catch exception here! Outside code whish to know, if operation failed or not.
-    //    Otherwhise they work on NULL references ...
+    //    don't catch exception here! Outside code whish to know, if operation failed or not.
+    //    Otherwise they work on NULL references ...
     sal_Int32 eNewMode = (eOpenMode & ~css::embed::ElementModes::WRITE);
     css::uno::Reference< css::io::XStream > xSubStream = xBaseStorage->openStreamElement(sSubStream, eNewMode);
     if (xSubStream.is())
diff --git a/main/framework/source/dispatch/closedispatcher.cxx b/main/framework/source/dispatch/closedispatcher.cxx
index d54e84c..b5950e8 100644
--- a/main/framework/source/dispatch/closedispatcher.cxx
+++ b/main/framework/source/dispatch/closedispatcher.cxx
@@ -172,12 +172,12 @@ void SAL_CALL CloseDispatcher::dispatchWithNotification(const css::util::URL&
     // SAFE -> ----------------------------------
     WriteGuard aWriteLock(m_aLock);
 
-    // This reference indicates, that we was already called before and
+    // This reference indicates, that we already called before and
     // our asynchronous process was not finished yet.
-    // We have to reject double calls. Otherwhise we risk,
+    // We have to reject double calls. Otherwise we risk,
     // that we try to close an already closed resource ...
-    // And its no problem to do nothing then. The UI user will try it again, if
-    // non of these jobs was successfully.
+    // And it's no problem to do nothing then. The UI user will try it again, if
+    // none of these jobs was successfully.
     if (m_xSelfHold.is())
     {
         aWriteLock.unlock();
@@ -333,7 +333,7 @@ IMPL_LINK( CloseDispatcher, impl_asyncCallback, void*, EMPTYARG )
         bTerminateApp = sal_True;
     else
 
-    // d) Otherwhise we have to: close all views to the same document, close the
+    // d) Otherwise we have to: close all views to the same document, close the
     //    document inside our own frame and decide then again, what has to be done!
     {
         if (implts_prepareFrameForClosing(m_xCloseFrame, bAllowSuspend, bCloseAllViewsToo, bControllerSuspended))
diff --git a/main/framework/source/dispatch/dispatchprovider.cxx b/main/framework/source/dispatch/dispatchprovider.cxx
index 148dd58..61b51f0 100644
--- a/main/framework/source/dispatch/dispatchprovider.cxx
+++ b/main/framework/source/dispatch/dispatchprovider.cxx
@@ -539,9 +539,9 @@ css::uno::Reference< css::frame::XDispatch > DispatchProvider::implts_queryFrame
         {
 			// Attention: Found target is our own owner frame!
 			// Don't ask him for his dispatcher. We know it already - it's our self dispatch helper.
-			// Otherwhise we can start a never ending recursiv call. Why?
-			// Somewere called our owner frame - he called some interceptor objects - and may by this dispatch provider
-			// is called. If wa use queryDispatch() on our owner frame again - we start this call stack again ... and again.
+			// Otherwise we can start a never ending recursiv call. Why?
+			// Somewhere called our owner frame - he called some interceptor objects - and maybe this dispatch provider
+			// is called. If we use queryDispatch() on our owner frame again - we start this call stack again ... and again.
 			if (xFoundFrame==xFrame)
 		        xDispatcher = implts_getOrCreateDispatchHelper( E_SELFDISPATCHER, xFrame );
 			else
@@ -580,7 +580,7 @@ css::uno::Reference< css::frame::XDispatch > DispatchProvider::implts_queryFrame
     @param      aURL
                     the dispatch URL for which may a handler is registered
 
-    @return     A dispatch object if a handler was found and agree with the given URL or <NULL/> otherwhise.
+    @return     A dispatch object if a handler was found and agree with the given URL or <NULL/> otherwise.
 
     @threadsafe yes
     @modified   05.09.2002 13:43, as96863
@@ -679,8 +679,8 @@ css::uno::Reference< css::frame::XDispatch > DispatchProvider::implts_getOrCreat
     {
         case E_MENUDISPATCHER :
                 {
-                    // Attention: Such menue dispatcher must be a singleton for this frame - means our owner frame.
-                    // Otherwhise he can make some trouble.
+                    // Attention: Such menu dispatcher must be a singleton for this frame - means our owner frame.
+                    // Otherwise he can make some trouble.
                     /* SAFE { */
                     WriteGuard aWriteLock( m_aLock );
                     if ( ! m_xMenuDispatcher.is() )
diff --git a/main/framework/source/dispatch/helpagentdispatcher.cxx b/main/framework/source/dispatch/helpagentdispatcher.cxx
index 4474602..7661991 100644
--- a/main/framework/source/dispatch/helpagentdispatcher.cxx
+++ b/main/framework/source/dispatch/helpagentdispatcher.cxx
@@ -218,7 +218,7 @@ void HelpAgentDispatcher::implts_acceptCurrentURL()
 	// <- SAFE
 	
 	// We must make sure that this URL isn't marked as ignored by the user.
-	// Otherwhise the user wont see the corresponding help content in the future.
+	// Otherwise the user won't see the corresponding help content in the future.
 	SvtHelpOptions().resetAgentIgnoreURLCounter(sAcceptedURL);
 
 	// show the right help content
diff --git a/main/framework/source/dispatch/loaddispatcher.cxx b/main/framework/source/dispatch/loaddispatcher.cxx
index 33b88a7..e56b524 100644
--- a/main/framework/source/dispatch/loaddispatcher.cxx
+++ b/main/framework/source/dispatch/loaddispatcher.cxx
@@ -136,10 +136,10 @@ css::uno::Any LoadDispatcher::impl_dispatch( const css::util::URL& rURL,
     ReadGuard aReadLock(m_aLock);
 
     // We are the only client of this load env object ... but
-    // may a dispatch request before is still in progress (?!).
+    // maybe a dispatch request before is still in progress (?!).
     // Then we should wait a little bit and block this new request.
     // In case we run into the timeout, we should reject this new request
-    // and return "FAILED" as result. Otherwhise we can start this new operation.
+    // and return "FAILED" as result. Otherwise we can start this new operation.
     if (!m_aLoader.waitWhileLoading(2000)) // => 2 sec.
     {
         if (xListener.is())
diff --git a/main/framework/source/dispatch/mailtodispatcher.cxx b/main/framework/source/dispatch/mailtodispatcher.cxx
index 51d302a..fab1bb4 100644
--- a/main/framework/source/dispatch/mailtodispatcher.cxx
+++ b/main/framework/source/dispatch/mailtodispatcher.cxx
@@ -279,8 +279,8 @@ sal_Bool MailToDispatcher::implts_dispatch( const css::util::URL&
         try
         {
             // start mail client
-            // Because there is no notofocation about success - we use case of
-            // no detected exception as SUCCESS - FAILED otherwhise.
+            // Because there is no notification about success - we use case of
+            // no detected exception as SUCCESS - FAILED otherwise.
             xSystemShellExecute->execute( aURL.Complete, ::rtl::OUString(), css::system::SystemShellExecuteFlags::DEFAULTS );
             bSuccess = sal_True;
         }
diff --git a/main/framework/source/fwe/xml/saxnamespacefilter.cxx b/main/framework/source/fwe/xml/saxnamespacefilter.cxx
index 695b104..46e6308 100644
--- a/main/framework/source/fwe/xml/saxnamespacefilter.cxx
+++ b/main/framework/source/fwe/xml/saxnamespacefilter.cxx
@@ -24,7 +24,7 @@
 // MARKER(update_precomp.py): autogen include statement, do not remove
 #include "precompiled_framework.hxx"
 
-/** Attention: stl headers must(!) be included at first. Otherwhise it can make trouble
+/** Attention: stl headers must(!) be included at first. Otherwise it can make trouble
                with solaris headers ...
 */
 #include <vector>
diff --git a/main/framework/source/fwi/jobs/configaccess.cxx b/main/framework/source/fwi/jobs/configaccess.cxx
index fa844c3..517db00 100644
--- a/main/framework/source/fwi/jobs/configaccess.cxx
+++ b/main/framework/source/fwi/jobs/configaccess.cxx
@@ -223,7 +223,7 @@ void ConfigAccess::close()
                     aReadLock.unlock();
 
     @attention  During this time it's not allowed to call the methods open() or close()!
-                Otherwhise you will change your own referenced config access. Anything will
+                Otherwise you will change your own referenced config access. Anything will
                 be possible then.
 
     @return A c++(!) reference to the uno instance of the configuration access point.
diff --git a/main/framework/source/fwi/threadhelp/lockhelper.cxx b/main/framework/source/fwi/threadhelp/lockhelper.cxx
index 0c93320..381511d 100644
--- a/main/framework/source/fwi/threadhelp/lockhelper.cxx
+++ b/main/framework/source/fwi/threadhelp/lockhelper.cxx
@@ -457,7 +457,7 @@ LockHelper& LockHelper::getGlobalLock( ::vos::IMutex* pSolarMutex )
     @descr      Sometimes we need a osl-mutex for sharing with our uno helper ...
                 What can we do?
                 a) If we have an initialized "own mutex" ... we can use it!
-                b) Otherwhise we must use a different mutex member :-(
+                b) Otherwise we must use a different mutex member :-(
                 I HOPE IT WORKS!
 
     @seealso    -
diff --git a/main/framework/source/inc/loadenv/actionlockguard.hxx b/main/framework/source/inc/loadenv/actionlockguard.hxx
index 283d61f..bf229bf 100644
--- a/main/framework/source/inc/loadenv/actionlockguard.hxx
+++ b/main/framework/source/inc/loadenv/actionlockguard.hxx
@@ -53,7 +53,7 @@ namespace css = ::com::sun::star;
             <type scope="com::sun::star::document">XActionLockable</type>.
 
     @descr  This guard should be used to be sure, that any lock will be
-            released. Otherwhise the locaked document can hinder the office on shutdown!
+            released. Otherwise the locked document can hinder the office on shutdown!
 */
 class ActionLockGuard : private ThreadHelpBase
 {
@@ -119,7 +119,7 @@ class ActionLockGuard : private ThreadHelpBase
                     points to the outside resource, which should be locked.
 
             @return sal_True, if new resource could be set and locked.
-                    sal_False otherwhise.
+                    sal_False otherwise.
          */
         virtual sal_Bool setResource(const css::uno::Reference< css::document::XActionLockable >& xLock)
         {
@@ -147,7 +147,7 @@ class ActionLockGuard : private ThreadHelpBase
                     points to the outside resource, which should be locked.
 
             @return sal_True, if new resource could be set and locked.
-                    sal_False otherwhise.
+                    sal_False otherwise.
          */
         virtual void freeResource()
         {
diff --git a/main/framework/source/inc/loadenv/loadenv.hxx b/main/framework/source/inc/loadenv/loadenv.hxx
index 2bd0ce0..67af223 100644
--- a/main/framework/source/inc/loadenv/loadenv.hxx
+++ b/main/framework/source/inc/loadenv/loadenv.hxx
@@ -151,7 +151,7 @@ class LoadEnv : private ThreadHelpBase
                     or a non visible content was loaded!
                     It can be the same frame as m_xBaseFrame it describe, in case
                     the target "_self", "" or the search flag "SELF" was used.
-                    Otherwhise its the new created or recycled frame, which was
+                    Otherwise it's the new created or recycled frame, which was
                     used for loading and contains further the new component.
 
                     Please use method getTarget() or getTargetComponent()
@@ -601,8 +601,8 @@ class LoadEnv : private ThreadHelpBase
                     for this load request.
 
             @descr  Because this special feature is bound to the target specifier "_default"
-                    its checked inside first. If its not set => this method return an empty
-                    reference. Otherwhise any currently existing frame will be analyzed, if
+                    it's checked inside first. If it's not set => this method return an empty
+                    reference. Otherwise any currently existing frame will be analyzed, if
                     it can be used here. The following rules exists:
 
                     <ul>
diff --git a/main/framework/source/inc/loadenv/targethelper.hxx b/main/framework/source/inc/loadenv/targethelper.hxx
index a4ca79e..da4eb91 100644
--- a/main/framework/source/inc/loadenv/targethelper.hxx
+++ b/main/framework/source/inc/loadenv/targethelper.hxx
@@ -86,7 +86,7 @@ class TargetHelper
                     represent the expected target.
 
             @return It returns <TRUE/> if <var>sCheckTarget</var> represent
-                    the expected <var>eSpecialTarget</var> value; <FALSE/> otherwhise.
+                    the expected <var>eSpecialTarget</var> value; <FALSE/> otherwise.
          */
         static sal_Bool matchSpecialTarget(const ::rtl::OUString& sCheckTarget  ,
                                                  ESpecialTarget   eSpecialTarget);
diff --git a/main/framework/source/jobs/job.cxx b/main/framework/source/jobs/job.cxx
index 6c114a9..8efd585 100644
--- a/main/framework/source/jobs/job.cxx
+++ b/main/framework/source/jobs/job.cxx
@@ -138,7 +138,7 @@ Job::Job( /*IN*/ const css::uno::Reference< css::lang::XMultiServiceFactory >& x
 /**
     @short  superflous!
     @descr  Releasing of memory and reference must be done inside die() call.
-            Otherwhise it's a bug.
+            Otherwise it's a bug.
 */
 Job::~Job()
 {
@@ -227,7 +227,7 @@ void Job::execute( /*IN*/ const css::uno::Sequence< css::beans::NamedValue >& lD
     css::uno::Sequence< css::beans::NamedValue > lJobArgs = impl_generateJobArgs(lDynamicArgs);
 
     // It's necessary to hold us self alive!
-    // Otherwhise we might die by ref count ...
+    // Otherwise we might die by ref count ...
     css::uno::Reference< css::task::XJobListener > xThis(static_cast< ::cppu::OWeakObject* >(this), css::uno::UNO_QUERY);
 
     try
@@ -755,7 +755,7 @@ void SAL_CALL Job::queryTermination( /*IN*/ const css::lang::EventObject& ) thro
     // if (m_eRunState != E_RUNNING)
     //    return;
 
-    // Otherwhise try to close() it
+    // Otherwise try to close() it
     css::uno::Reference< css::util::XCloseable > xClose(m_xJob, css::uno::UNO_QUERY);
     if (xClose.is())
     {
@@ -875,7 +875,7 @@ void SAL_CALL Job::queryClosing( const css::lang::EventObject& aEvent         ,
 
     // No veto ...
     // But don't call die() here or free our internal member.
-    // This must be done inside notifyClosing() only. Otherwhise the
+    // This must be done inside notifyClosing() only. Otherwise the
     // might stopped job has no chance to return it's results or
     // call us back. We must give him the chance to finish it's work successfully.
 
diff --git a/main/framework/source/jobs/jobdata.cxx b/main/framework/source/jobs/jobdata.cxx
index 5c4a5ec..ed74826 100644
--- a/main/framework/source/jobs/jobdata.cxx
+++ b/main/framework/source/jobs/jobdata.cxx
@@ -170,7 +170,7 @@ void JobData::setAlias( const ::rtl::OUString& sAlias )
 {
     /* SAFE { */
     WriteGuard aWriteLock(m_aLock);
-    // delete all old informations! Otherwhise we mix it with the new one ...
+    // delete all old informations! Otherwise we mix it with the new one ...
     impl_reset();
 
     // take over the new informations
@@ -242,7 +242,7 @@ void JobData::setService( const ::rtl::OUString& sService )
     /* SAFE { */
     WriteGuard aWriteLock(m_aLock);
 
-    // delete all old informations! Otherwhise we mix it with the new one ...
+    // delete all old informations! Otherwise we mix it with the new one ...
     impl_reset();
     // take over the new informations
     m_sService = sService;
@@ -378,8 +378,8 @@ void JobData::setResult( const JobResult& aResult )
 /**
     @short  set a new environment descriptor for this job
     @descr  It must(!) be done every time this container is initialized
-            with new job datas e.g.: setAlias()/setEvent()/setService() ...
-            Otherwhise the environment will be unknown!
+            with new job data e.g.: setAlias()/setEvent()/setService() ...
+            Otherwise the environment will be unknown!
  */
 void JobData::setEnvironment( EEnvironment eEnvironment )
 {
@@ -579,7 +579,7 @@ sal_Bool isEnabled( const ::rtl::OUString& sAdminTime ,
 {
     /*Attention!
         To prevent interpreting of TriGraphs inside next const string value,
-        we have to encode all '?' signs. Otherwhise e.g. "??-" will be translated
+        we have to encode all '?' signs. Otherwise e.g. "??-" will be translated
         to "~" ...
      */
     static ::rtl::OUString PATTERN_ISO8601 = ::rtl::OUString::createFromAscii("\?\?\?\?-\?\?-\?\?*\0");
@@ -721,7 +721,7 @@ css::uno::Sequence< ::rtl::OUString > JobData::getEnabledJobsForEvent( const css
     @short      reset all internal structures
     @descr      If somehwere recycle this instance, he can switch from one
                 using mode to another one. But then we have to reset all currently
-                used informations. Otherwhise we mix it and they can make trouble.
+                used informations. Otherwise we mix it and they can make trouble.
 
                 But note: that does not set defaults for internal used members, which
                 does not relate to any job property! e.g. the reference to the global
diff --git a/main/framework/source/jobs/jobdispatch.cxx b/main/framework/source/jobs/jobdispatch.cxx
index 43bfe90..4a5d51d 100644
--- a/main/framework/source/jobs/jobdispatch.cxx
+++ b/main/framework/source/jobs/jobdispatch.cxx
@@ -327,10 +327,10 @@ void JobDispatch::impl_dispatchEvent( /*IN*/ const ::rtl::OUString&
             continue;
 
         // Special mode for listener.
-        // We dont notify it directly here. We delegate that
+        // We don't notify it directly here. We delegate that
         // to the job implementation. But we must set ourself there too.
         // Because this job must fake the source address of the event.
-        // Otherwhise the listener may will ignore it.
+        // Otherwise the listener maybe will ignore it.
         if (xListener.is())
             pJob->setDispatchResultFake(xListener, xThis);
         pJob->execute(Converter::convert_seqPropVal2seqNamedVal(lArgs));
@@ -389,10 +389,10 @@ void JobDispatch::impl_dispatchService( /*IN*/ const ::rtl::OUString&
     css::uno::Reference< css::frame::XDispatchResultListener > xThis( static_cast< ::cppu::OWeakObject* >(this), css::uno::UNO_QUERY );
 
     // Special mode for listener.
-    // We dont notify it directly here. We delegate that
+    // We don't notify it directly here. We delegate that
     // to the job implementation. But we must set ourself there too.
     // Because this job must fake the source address of the event.
-    // Otherwhise the listener may will ignore it.
+    // Otherwise the listener maybe will ignore it.
     if (xListener.is())
         pJob->setDispatchResultFake(xListener, xThis);
     pJob->execute(Converter::convert_seqPropVal2seqNamedVal(lArgs));
@@ -440,10 +440,10 @@ void JobDispatch::impl_dispatchAlias( /*IN*/ const ::rtl::OUString&
     css::uno::Reference< css::frame::XDispatchResultListener > xThis( static_cast< ::cppu::OWeakObject* >(this), css::uno::UNO_QUERY );
 
     // Special mode for listener.
-    // We dont notify it directly here. We delegate that
+    // We don't notify it directly here. We delegate that
     // to the job implementation. But we must set ourself there too.
     // Because this job must fake the source address of the event.
-    // Otherwhise the listener may will ignore it.
+    // Otherwise the listener maybe will ignore it.
     if (xListener.is())
         pJob->setDispatchResultFake(xListener, xThis);
     pJob->execute(Converter::convert_seqPropVal2seqNamedVal(lArgs));
diff --git a/main/framework/source/jobs/jobresult.cxx b/main/framework/source/jobs/jobresult.cxx
index c1ed864..629e275 100644
--- a/main/framework/source/jobs/jobresult.cxx
+++ b/main/framework/source/jobs/jobresult.cxx
@@ -210,8 +210,8 @@ void JobResult::operator=( const JobResult& rCopy )
 /**
     @short      checks for existing parts of the analyzed result
     @descr      The internal flag mask was set after analyzing of the pure result.
-                An user of us can check here, if the required part was really part
-                of this result. Otherwhise it would use invalid informations ...
+                A user of us can check here, if the required part was really part
+                of this result. Otherwise it would use invalid informations ...
                 by using our other members!
 
     @param      eParts
diff --git a/main/framework/source/jobs/joburl.cxx b/main/framework/source/jobs/joburl.cxx
index b394022..b8c79fd 100644
--- a/main/framework/source/jobs/joburl.cxx
+++ b/main/framework/source/jobs/joburl.cxx
@@ -263,7 +263,7 @@ sal_Bool JobURL::getService( /*OUT*/ ::rtl::OUString& sService ) const
                     returns the part arguments if <var>sPart</var> was splitted successfully
 
     @return     <TRUE/> if the identifier could be found and the string was splitted.
-                <FALSE/> otherwhise.
+                <FALSE/> otherwise.
 */
 sal_Bool JobURL::implst_split( /*IN*/  const ::rtl::OUString& sPart           ,
                                /*IN*/  const sal_Char*        pPartIdentifier ,
@@ -274,8 +274,8 @@ sal_Bool JobURL::implst_split( /*IN*/  const ::rtl::OUString& sPart           ,
     // first search for the given identifier
     sal_Bool bPartFound = (sPart.matchIgnoreAsciiCaseAsciiL(pPartIdentifier,nPartLength,0));
 
-    // If it exist - we can split the part and return sal_True.
-    // Otherwhise we do nothing and return sal_False.
+    // If it exists - we can split the part and return sal_True.
+    // Otherwise we do nothing and return sal_False.
     if (bPartFound)
     {
         // But may the part has optional arguments - separated by a "?".
diff --git a/main/framework/source/layoutmanager/layoutmanager.cxx b/main/framework/source/layoutmanager/layoutmanager.cxx
index 583b5d4..3b03f37 100644
--- a/main/framework/source/layoutmanager/layoutmanager.cxx
+++ b/main/framework/source/layoutmanager/layoutmanager.cxx
@@ -945,7 +945,7 @@ void LayoutManager::implts_backupProgressBarWrapper()
     m_xProgressBarBackup = m_aProgressBarElement.m_xUIElement;
 
     // remove the relation between this old progress bar and our old status bar.
-    // Otherwhise we work on disposed items ...
+    // Otherwise we work on disposed items ...
     // The internal used ProgressBarWrapper can handle a NULL reference.
     if ( m_xProgressBarBackup.is() )
     {
diff --git a/main/framework/source/layoutmanager/toolbarlayoutmanager.hxx b/main/framework/source/layoutmanager/toolbarlayoutmanager.hxx
index 258ca8b..8be00ac 100644
--- a/main/framework/source/layoutmanager/toolbarlayoutmanager.hxx
+++ b/main/framework/source/layoutmanager/toolbarlayoutmanager.hxx
@@ -24,7 +24,7 @@
 #ifndef __FRAMEWORK_LAYOUTMANAGER_TOOLBARLAYOUTMANAGER_HXX_
 #define __FRAMEWORK_LAYOUTMANAGER_TOOLBARLAYOUTMANAGER_HXX_
 
-/** Attention: stl headers must(!) be included at first. Otherwhise it can make trouble
+/** Attention: stl headers must(!) be included at first. Otherwise it can make trouble
                with solaris headers ...
 */
 #include <vector>
diff --git a/main/framework/source/loadenv/loadenv.cxx b/main/framework/source/loadenv/loadenv.cxx
index 54d45cc..f3ba47f 100644
--- a/main/framework/source/loadenv/loadenv.cxx
+++ b/main/framework/source/loadenv/loadenv.cxx
@@ -814,7 +814,7 @@ LoadEnv::EContentType LoadEnv::classifyContent(const ::rtl::OUString&
     //-------------------------------------------
     // (TODO) At this point, we have no idea .-)
     //        But it seems to be better, to break all
-    //        further requests for this URL. Otherwhise
+    //        further requests for this URL. Otherwise
     //        we can run into some trouble.
     return E_UNSUPPORTED_CONTENT;
 }
@@ -935,7 +935,7 @@ sal_Bool LoadEnv::impl_handleContent()
     // SAFE -> -----------------------------------
     ReadGuard aReadLock(m_aLock);
 
-    // the type must exist inside the descriptor ... otherwhise this class is implemented wrong :-)
+    // the type must exist inside the descriptor ... otherwise this class is implemented wrong :-)
     ::rtl::OUString sType = m_lMediaDescriptor.getUnpackedValueOrDefault(::comphelper::MediaDescriptor::PROP_TYPENAME(), ::rtl::OUString());
     if (!sType.getLength())
         throw LoadEnvException(LoadEnvException::ID_INVALID_MEDIADESCRIPTOR);
@@ -1241,7 +1241,7 @@ css::uno::Reference< css::uno::XInterface > LoadEnv::impl_searchLoader()
         throw LoadEnvException(LoadEnvException::ID_INVALID_ENVIRONMENT);
     }
 
-    // Otherwhise ...
+    // Otherwise ...
     // We need this type information to locate an registered frame loader
     // Without such information we can't work!
     ::rtl::OUString sType = m_lMediaDescriptor.getUnpackedValueOrDefault(::comphelper::MediaDescriptor::PROP_TYPENAME(), ::rtl::OUString());
@@ -1352,8 +1352,8 @@ css::uno::Reference< css::frame::XFrame > LoadEnv::impl_searchAlreadyLoaded()
         return css::uno::Reference< css::frame::XFrame >();
     }
 
-    // otherwhise - iterate through the tasks of the desktop container
-    // to find out, which of them might contains the requested document
+    // otherwise - iterate through the tasks of the desktop container
+    // to find out, which of them might contain the requested document
     css::uno::Reference< css::frame::XFramesSupplier >  xSupplier(m_xSMGR->createInstance(SERVICENAME_DESKTOP), css::uno::UNO_QUERY);
     css::uno::Reference< css::container::XIndexAccess > xTaskList(xSupplier->getFrames()                      , css::uno::UNO_QUERY);
 
@@ -1480,7 +1480,7 @@ sal_Bool LoadEnv::impl_isFrameAlreadyUsedForLoading(const css::uno::Reference< c
     if (!xLock.is())
         return sal_False;
 
-    // Otherwhise we have to look for any other existing lock.
+    // Otherwise we have to look for any other existing lock.
     return xLock->isActionLocked();
 }
 
@@ -1580,11 +1580,11 @@ css::uno::Reference< css::frame::XFrame > LoadEnv::impl_searchRecycleTarget()
     if (eOldApp != eNewApp)
         return css::uno::Reference< css::frame::XFrame >();
 
-    // OK this task seams to be useable for recycling
+    // OK this task seems to be useable for recycling
     // But we should mark it as such - means set an action lock.
-    // Otherwhise it would be used more then ones or will be destroyed
+    // Otherwise it would be used more than once or will be destroyed
     // by a close() or terminate() request.
-    // But if such lock already exist ... it means this task is used for
+    // But if such lock already exists ... it means this task is used for
     // any other operation already. Don't use it then.
     if (impl_isFrameAlreadyUsedForLoading(xTask))
         return css::uno::Reference< css::frame::XFrame >();
@@ -1655,7 +1655,7 @@ void LoadEnv::impl_reactForLoadingState()
         }
 
         // Note: Only if an existing property "FrameName" is given by this media descriptor,
-        // it should be used. Otherwhise we should do nothing. May be the outside code has already
+        // it should be used. Otherwise we should do nothing. Maybe the outside code has already
         // set a frame name on the target!
         ::comphelper::MediaDescriptor::const_iterator pFrameName = m_lMediaDescriptor.find(::comphelper::MediaDescriptor::PROP_FRAMENAME());
         if (pFrameName != m_lMediaDescriptor.end())
@@ -1708,14 +1708,14 @@ void LoadEnv::impl_reactForLoadingState()
     // This max force an implicit closing of our target frame ...
     // e.g. in case close(sal_True) was called before and the frame
     // kill itself if our external use-lock is released here!
-    // Thats why we releas this lock AFTER ALL OPERATIONS on this frame
-    // are finished. The frame itslef must handle then
+    // That's why we release this lock AFTER ALL OPERATIONS on this frame
+    // are finished. The frame itself must handle then
     // this situation gracefully.
     m_aTargetLock.freeResource();
 
     // Last but not least :-)
     // We have to clear the current media descriptor.
-    // Otherwhise it hold a might existing stream open!
+    // Otherwise it hold a might existing stream open!
     m_lMediaDescriptor.clear();
 
 	css::uno::Any aRequest;
diff --git a/main/framework/source/services/autorecovery.cxx b/main/framework/source/services/autorecovery.cxx
index fa309c1..3e97176 100644
--- a/main/framework/source/services/autorecovery.cxx
+++ b/main/framework/source/services/autorecovery.cxx
@@ -898,7 +898,7 @@ void SAL_CALL AutoRecovery::notifyEvent(const css::document::EventObject& aEvent
     }
     /* document saved as copy => mark it as "non used by concurrent save operation".
        so we can try to create a backup copy if next time AutoSave is started too.
-       Dont remove temp. files or change the modified state of the document!
+       Don't remove temp. files or change the modified state of the document!
        It was not really saved to the original file ...
     */
     else
@@ -908,7 +908,7 @@ void SAL_CALL AutoRecovery::notifyEvent(const css::document::EventObject& aEvent
     }
     // If saving of a document failed by an error ... we have to save this document
     // by ourself next time AutoSave or EmergencySave is triggered.
-    // But we can reset the state "used for other save requests". Otherwhise
+    // But we can reset the state "used for other save requests". Otherwise
     // these documents will never be saved!
     else
     if (
@@ -1765,7 +1765,7 @@ void AutoRecovery::implts_registerDocument(const css::uno::Reference< css::frame
     if (bNoAutoSave)
         return;
 
-    // Check if doc is well known on the desktop. Otherwhise ignore it!
+    // Check if doc is well known on the desktop. Otherwise ignore it!
     // Other frames mostly are used from external programs - e.g. the bean ...
     css::uno::Reference< css::frame::XController > xController = xDocument->getCurrentController();
     if (!xController.is())
@@ -1882,7 +1882,7 @@ void AutoRecovery::implts_deregisterDocument(const css::uno::Reference< css::fra
 
     // Sometimes we close documents by ourself.
     // And these documents can't be deregistered.
-    // Otherwhise we loos our configuration data ... but need it !
+    // Otherwise we lose our configuration data ... but need it !
     // see SessionSave !
     if (aInfo.IgnoreClosing)
         return;
@@ -1891,14 +1891,14 @@ void AutoRecovery::implts_deregisterDocument(const css::uno::Reference< css::fra
     pIt = AutoRecovery::impl_searchDocument(m_lDocCache, xDocument);
     if (pIt != m_lDocCache.end())
         m_lDocCache.erase(pIt);
-    pIt = m_lDocCache.end(); // otherwhise its not specified what pIt means!
+    pIt = m_lDocCache.end(); // otherwise it's not specified what pIt means!
     aCacheLock2.unlock();
 
     aWriteLock.unlock();
     // <- SAFE ----------------------------------
 
     /* This method is called within disposing() of the document too. But there it's not a good idea to
-       deregister us as listener. Furter it make no sense - because the broadcaster dies.
+       deregister us as listener. Further it makes no sense - because the broadcaster dies.
        So we suppress deregistration in such case ...
     */
     if (bStopListening)
@@ -2142,7 +2142,7 @@ void AutoRecovery::implts_prepareSessionShutdown()
         // Prevent us from deregistration of these documents.
         // Because we close these documents by ourself (see XClosable below) ...
         // it's fact, that we reach our deregistration method. There we
-        // must not(!) update our configuration ... Otherwhise all
+        // must not(!) update our configuration ... Otherwise all
         // session data are lost !!!
         rInfo.IgnoreClosing = sal_True;
 
@@ -2417,7 +2417,7 @@ void AutoRecovery::implts_saveOneDoc(const ::rtl::OUString&
         lNewArgs[::comphelper::MediaDescriptor::PROP_PASSWORD()] <<= sPassword;
 
     // Further it must be saved using the default file format of that application.
-    // Otherwhise we will some data lost.
+    // Otherwise we will lose some data.
     if (rInfo.DefaultFilter.getLength())
         lNewArgs[::comphelper::MediaDescriptor::PROP_FILTERNAME()] <<= rInfo.DefaultFilter;
 
@@ -3540,7 +3540,7 @@ sal_Bool AutoRecovery::impl_enoughDiscSpace(sal_Int32 nRequiredSpace)
 
     // In case an error occurs and we are not able to retrieve the needed information
     // it's better to "disable" the feature ShowErrorOnFullDisc !
-    // Otherwhise we start a confusing process of error handling ...
+    // Otherwise we start a confusing process of error handling ...
 
     sal_uInt64 nFreeSpace = SAL_MAX_UINT64;
 
diff --git a/main/framework/source/services/backingcomp.cxx b/main/framework/source/services/backingcomp.cxx
index 61ee10c..ea9bd6f 100644
--- a/main/framework/source/services/backingcomp.cxx
+++ b/main/framework/source/services/backingcomp.cxx
@@ -859,10 +859,10 @@ void SAL_CALL BackingComp::keyReleased( /*IN*/ const css::awt::KeyEvent& )
     throw(css::uno::RuntimeException)
 {
     /* Attention
-        Please use keyPressed() instead of this method. Otherwhise it would be possible, that
+        Please use keyPressed() instead of this method. Otherwise it would be possible, that
         - a key input may be first switch to the backing mode
         - and this component register itself as key listener too
-        - and it's first event will be a keyRealeased() for the already well known event, which switched to the backing mode!
+        - and its first event will be a keyRealeased() for the already well known event, which switched to the backing mode!
         So it will be handled twice! document => backing mode => exit app ...
      */
 }
diff --git a/main/framework/source/services/desktop.cxx b/main/framework/source/services/desktop.cxx
index 9f95263..1e4968b 100644
--- a/main/framework/source/services/desktop.cxx
+++ b/main/framework/source/services/desktop.cxx
@@ -1097,9 +1097,9 @@ css::uno::Reference< css::frame::XFrame > SAL_CALL Desktop::findFrame( const ::r
     else
     {
         //-------------------------------------------------------------------------------------------------
-        // II) otherwhise use optional given search flags
+        // II) otherwise use optional given search flags
         //  force using of combinations of such flags. means no "else" part of use if() statements.
-        //  But we ust break further searches if target was already found.
+        //  But we must break further searches if target was already found.
         //  Order of using flags is fix: SELF - CHILDREN - SIBLINGS - PARENT
         //  TASK and CREATE are handled special.
         //  But note: Such flags are not valid for the desktop - especially SIBLINGS or PARENT.
@@ -1114,7 +1114,7 @@ css::uno::Reference< css::frame::XFrame > SAL_CALL Desktop::findFrame( const ::r
 
         //-------------------------------------------------------------------------------------------------
         // II.I) SELF
-        //  Check for right name. If it's the searched one return ourself - otherwhise
+        //  Check for right name. If it's the searched one return ourself - otherwise
         //  ignore this flag.
         //-------------------------------------------------------------------------------------------------
         if (
diff --git a/main/framework/source/services/dispatchhelper.cxx b/main/framework/source/services/dispatchhelper.cxx
index 9cf0b9b..6eeee11 100644
--- a/main/framework/source/services/dispatchhelper.cxx
+++ b/main/framework/source/services/dispatchhelper.cxx
@@ -181,7 +181,7 @@ css::uno::Any SAL_CALL DispatchHelper::executeDispatch(
 /** callback for started dispatch with guaranteed notifications.
 
     We must save the result, so the method executeDispatch() can return it.
-    Further we must release the broadcaster (otherwhise it can't die)
+    Further we must release the broadcaster (otherwise it can't die)
     and unblock the waiting executeDispatch() request.
 
     @param  aResult
diff --git a/main/framework/source/services/frame.cxx b/main/framework/source/services/frame.cxx
index 42f8077..c7e4812 100644
--- a/main/framework/source/services/frame.cxx
+++ b/main/framework/source/services/frame.cxx
@@ -851,7 +851,7 @@ css::uno::Reference< css::frame::XFrame > SAL_CALL Frame::findFrame( const ::rtl
     //-----------------------------------------------------------------------------------------------------
     // I.III) "_top"
     //  If we are not the top frame in this hierarchy, we must forward request to our parent.
-    //  Otherwhise we must return ourself.
+    //  Otherwise we must return ourself.
     //-----------------------------------------------------------------------------------------------------
     else
     if ( sTargetFrameName==SPECIALTARGET_TOP )
@@ -907,9 +907,9 @@ css::uno::Reference< css::frame::XFrame > SAL_CALL Frame::findFrame( const ::rtl
     else
     {
         //-------------------------------------------------------------------------------------------------
-        // II) otherwhise use optional given search flags
+        // II) otherwise use optional given search flags
         //  force using of combinations of such flags. means no "else" part of use if() statements.
-        //  But we ust break further searches if target was already found.
+        //  But we must break further searches if target was already found.
         //  Order of using flags is fix: SELF - CHILDREN - SIBLINGS - PARENT
         //  TASK and CREATE are handled special.
         //-------------------------------------------------------------------------------------------------
@@ -923,7 +923,7 @@ css::uno::Reference< css::frame::XFrame > SAL_CALL Frame::findFrame( const ::rtl
 
         //-------------------------------------------------------------------------------------------------
         // II.I) SELF
-        //  Check for right name. If it's the searched one return ourself - otherwhise
+        //  Check for right name. If it's the searched one return ourself - otherwise
         //  ignore this flag.
         //-------------------------------------------------------------------------------------------------
         if (
@@ -1389,10 +1389,10 @@ sal_Bool SAL_CALL Frame::setComponent(  const   css::uno::Reference< css::awt::X
 		implts_sendFrameActionEvent( css::frame::FrameAction_COMPONENT_DETACHING );
 
     //_____________________________________________________________________________________________________
-    // otherwhise release old component first
+    // otherwise release old component first
     // Always release controller before releasing window,
     // because controller may want to access its window!
-    // But check for real changes - may the new controller is the old one.
+    // But check for real changes - maybe the new controller is the old one.
     if (
         (xOldController.is()          )   &&
         (xOldController != xController)
@@ -1616,8 +1616,8 @@ void SAL_CALL Frame::removeFrameActionListener( const css::uno::Reference< css::
 
     @param      bDeliverOwnerShip
                     If parameter is set to <FALSE/> the original caller will be the owner after thrown
-                    veto exception and must try to close this frame at later time again. Otherwhise the
-                    source of throwed exception is the right one. May it will be the frame himself.
+                    veto exception and must try to close this frame at later time again. Otherwise the
+                    source of throwed exception is the right one. Maybe it will be the frame himself.
 
     @thrown     CloseVetoException
                     if any internal things willn't be closed
@@ -1701,8 +1701,8 @@ void SAL_CALL Frame::close( sal_Bool bDeliverOwnerShip ) throw( css::util::Close
     /* } SAFE */
     impl_checkMenuCloser();
 
-    // Attention: We must release our own registered transaction here. Otherwhise following dispose() call
-    // wait for us too ....
+    // Attention: We must release our own registered transaction here. Otherwise following dispose() call
+    // waits for us too ....
     aTransaction.stop();
     dispose();
 }
@@ -1878,7 +1878,7 @@ void SAL_CALL Frame::dispose() throw( css::uno::RuntimeException )
     impl_disablePropertySet();
 
     // interception/dispatch chain must be destructed explicitly
-    // Otherwhise some dispatches and/or interception objects wont die.
+    // Otherwise some dispatches and/or interception objects wont die.
     css::uno::Reference< css::lang::XEventListener > xDispatchHelper(m_xDispatchHelper, css::uno::UNO_QUERY_THROW);
     xDispatchHelper->disposing(aEvent);
     xDispatchHelper.clear();
@@ -1976,7 +1976,7 @@ void SAL_CALL Frame::dispose() throw( css::uno::RuntimeException )
     m_aTransactionManager.setWorkingMode( E_CLOSE );
 
     // Don't forget it restore old value -
-    // otherwhise no dialogs can be shown anymore in other frames.
+    // otherwise no dialogs can be shown anymore in other frames.
     Application::EnableDialogCancel( bCancelDialogs );
 }
 
@@ -2363,7 +2363,7 @@ void SAL_CALL Frame::windowClosing( const css::lang::EventObject& ) throw( css::
 
     /*ATTENTION!
         Don't try to suspend the controller here! Because it's done inside used dispatch().
-        Otherwhise the dialog "would you save your changes?" will be shown more then once ...
+        Otherwise the dialog "would you save your changes?" will be shown more than once ...
      */
 
     /* SAFE */
@@ -2528,7 +2528,7 @@ void SAL_CALL Frame::addActionLock() throw( css::uno::RuntimeException )
 //*****************************************************************************************************************
 void SAL_CALL Frame::removeActionLock() throw( css::uno::RuntimeException )
 {
-	// Register no transaction here! Otherwhise we wait for ever inside possible
+	// Register no transaction here! Otherwise we wait for ever inside possible
 	// implts_checkSuicide()/dispose() request ...
 
     /* SAFE AREA */{
@@ -2555,7 +2555,7 @@ void SAL_CALL Frame::setActionLocks( sal_Int16 nLock ) throw( css::uno::RuntimeE
 //*****************************************************************************************************************
 sal_Int16 SAL_CALL Frame::resetActionLocks() throw( css::uno::RuntimeException )
 {
-	// Register no transaction here! Otherwhise we wait for ever inside possible
+	// Register no transaction here! Otherwise we wait for ever inside possible
 	// implts_checkSuicide()/dispose() request ...
 
     sal_Int16 nCurrentLocks = 0;
diff --git a/main/framework/source/services/pathsettings.cxx b/main/framework/source/services/pathsettings.cxx
index 2d9c4f3..febc6be 100644
--- a/main/framework/source/services/pathsettings.cxx
+++ b/main/framework/source/services/pathsettings.cxx
@@ -26,7 +26,7 @@
 // ______________________________________________
 // my own includes
 
-/** Attention: stl headers must(!) be included at first. Otherwhise it can make trouble
+/** Attention: stl headers must(!) be included at first. Otherwise it can make trouble
                with solaris headers ...
 */
 #include <vector>
@@ -505,7 +505,7 @@ css::uno::Sequence< sal_Int32 > PathSettings::impl_mapPathName2IDList(const ::rt
     ::rtl::OUString sWriteProp    = sPath+POSTFIX_WRITE_PATH;
 
     // Attention: The default set of IDs is fix and must follow these schema.
-    // Otherwhise the outside code ant work for new added properties.
+    // Otherwise the outside code ant work for new added properties.
     // Why ?
     // The outside code must fire N events for every changed property.
     // And the knowing about packaging of variables of the structure PathInfo
diff --git a/main/framework/source/uiconfiguration/imagemanagerimpl.hxx b/main/framework/source/uiconfiguration/imagemanagerimpl.hxx
index 893f736..6477a52 100644
--- a/main/framework/source/uiconfiguration/imagemanagerimpl.hxx
+++ b/main/framework/source/uiconfiguration/imagemanagerimpl.hxx
@@ -25,7 +25,7 @@
 #define __FRAMEWORK_UICONFIGURATION_IMAGEMANAGERIMPL_HXX_
 
 
-/** Attention: stl headers must(!) be included at first. Otherwhise it can make trouble
+/** Attention: stl headers must(!) be included at first. Otherwise it can make trouble
                with solaris headers ...
 */
 #include <vector>
diff --git a/main/framework/source/uiconfiguration/uiconfigurationmanagerimpl.hxx b/main/framework/source/uiconfiguration/uiconfigurationmanagerimpl.hxx
index 16ce647..53bd6c5 100644
--- a/main/framework/source/uiconfiguration/uiconfigurationmanagerimpl.hxx
+++ b/main/framework/source/uiconfiguration/uiconfigurationmanagerimpl.hxx
@@ -25,7 +25,7 @@
 #define __FRAMEWORK_UICONFIGURATION_UICONFIGMANAGERIMPL_HXX_
 
 
-/** Attention: stl headers must(!) be included at first. Otherwhise it can make trouble
+/** Attention: stl headers must(!) be included at first. Otherwise it can make trouble
                with solaris headers ...
 */
 #include <vector>
diff --git a/main/framework/source/uielement/popuptoolbarcontroller.cxx b/main/framework/source/uielement/popuptoolbarcontroller.cxx
index 81a7546..e5c5789 100644
--- a/main/framework/source/uielement/popuptoolbarcontroller.cxx
+++ b/main/framework/source/uielement/popuptoolbarcontroller.cxx
@@ -337,10 +337,10 @@ void NewToolbarController::functionExecuted( const OUString &rCommand )
     it return the existing state of the given URL in the popupmenu of this toolbox control.
 
     If the given URL can be located as an action command of one menu item of the
-    popup menu of this control, we return sal_True. Otherwhise we return sal_False.
+    popup menu of this control, we return sal_True. Otherwise we return sal_False.
     Further we return a fallback URL, in case we have to return sal_False. Because
     the outside code must select a valid item of the popup menu every time ...
-    and we define it here. By the way this m ethod was written to handle
+    and we define it here. By the way this method was written to handle
     error situations gracefully. E.g. it can be called during creation time
     but then we have no valid menu. For this case we know another fallback URL.
     Then we return the private:factory/ URL of the default factory.
@@ -360,7 +360,7 @@ void NewToolbarController::functionExecuted( const OUString &rCommand )
                 contains the image of the menu for the URL.
 
     @return sal_True - if URL could be located as an item of the popup menu.
-            sal_False - otherwhise.
+            sal_False - otherwise.
 */
 static sal_Bool Impl_ExistURLInMenu(
     const css::uno::Reference< css::awt::XPopupMenu > &rPopupMenu,
diff --git a/main/l10ntools/source/filter/utils/Cache.java b/main/l10ntools/source/filter/utils/Cache.java
index a9ebd36..ef9f7b6 100644
--- a/main/l10ntools/source/filter/utils/Cache.java
+++ b/main/l10ntools/source/filter/utils/Cache.java
@@ -276,8 +276,8 @@ public class Cache
      *  methods of this cache.
      *
      *  If the given string does not match to any well known format,
-     *  the return value will be FORMAT_UNSUPPORTED. The calli have to
-     *  check that. Otherwhise a called interface method at this cache
+     *  the return value will be FORMAT_UNSUPPORTED. The calls have to
+     *  check that. Otherwise a called interface method at this cache
      *  instance will be rejected by an exception!
      *
      *  @param  sFormat
@@ -2165,14 +2165,14 @@ public class Cache
             // move the preferred filter information to any type
             // Set the filter name to the type for which the filter is registered.
             // If this type already have a set PreferredFilter value, check if the current filter
-            // has the preferred flag set. If not ignore it - otherwhise overwrite the
+            // has the preferred flag set. If not ignore it - otherwise overwrite the
             // current information at the type. But look for multiple preferred filter relations ...
-            // means: look if more the one filter has set the preferred flag for the same type!
+            // means: look if more than one filter has set the preferred flag for the same type!
 
             /* Attention!
              *
-             * Dont remove the preferred flag from any filter! ... not here.
-             * Otherwhise next loop can't detect ambigous preferred registrations!
+             * Don't remove the preferred flag from any filter! ... not here.
+             * Otherwise next loop can't detect ambigous preferred registrations!
              * Add filter to a temp. list, which can be used later to remove the preferred
              * flag ...
              */
diff --git a/main/l10ntools/source/filter/utils/FileHelper.java b/main/l10ntools/source/filter/utils/FileHelper.java
index 9012a8c..8e47c05 100644
--- a/main/l10ntools/source/filter/utils/FileHelper.java
+++ b/main/l10ntools/source/filter/utils/FileHelper.java
@@ -346,7 +346,7 @@ public class FileHelper
      *          e.g.: "dat"
      *
      *  @return A valid file object, if an unique file could be created -
-     *          Null otherwhise.
+     *          Null otherwise.
      *          e.g.: "c:\temp\myfile_1.dat"
      */
     public static java.io.File createUniqueFile(java.io.File     aBaseDir  ,
diff --git a/main/l10ntools/source/filter/utils/XMLHelper.java b/main/l10ntools/source/filter/utils/XMLHelper.java
index 5520ce6..77f85c2 100644
--- a/main/l10ntools/source/filter/utils/XMLHelper.java
+++ b/main/l10ntools/source/filter/utils/XMLHelper.java
@@ -712,8 +712,8 @@ public class XMLHelper
 
     /** returns a list of childs, which supports the right node type.
      *
-     *  It analyze the list of all possible child nodes. If a node represent the right node type
-     *  it is added to the return list. Otherwhise it will be ignored.
+     *  It analyzes the list of all possible child nodes. If a node represents the right node type
+     *  it is added to the return list. Otherwise it will be ignored.
      *
      *  @param  aNode
      *          provides access to the list of possible children nodes.
diff --git a/main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java b/main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java
index cc6c607..7f170b2 100644
--- a/main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java
+++ b/main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java
@@ -169,7 +169,7 @@ public class CustomizeView extends    JPanel
      * Note: Because we are listener status events too - hopefully
      * we get a notification, if toogling was successfully or not.
      * We use this information to update our check boxes again.
-     * But such update doesn't force (hopefully) an action event. Otherwhise
+     * But such update doesn't force (hopefully) an action event. Otherwise
      * we can produce a never ending recursion!
      *
      * @param aEvent
@@ -268,7 +268,7 @@ public class CustomizeView extends    JPanel
 
     /**
      * If this java application shutdown - we must cancel all current existing
-     * listener connections. Otherwhise the office will run into some
+     * listener connections. Otherwise the office will run into some
      * DisposedExceptions if it tries to use these forgotten listener references.
      * And of course it can die doing that.
      * We are registered at a central object to be informed if the VM will exit.
diff --git a/main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java b/main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java
index e925254..2382430 100644
--- a/main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java
+++ b/main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java
@@ -131,7 +131,7 @@ public class FunctionHelper
      *          we nee the remote service manager to create this task/frame service
      *
      * @return [com.sun.star.frame.XFrame]
-     *          the new created frame reference in case of success or null otherwhise
+     *          the new created frame reference in case of success or null otherwise
      */
     private static com.sun.star.frame.XFrame impl_createEmptyFrame(
         com.sun.star.uno.XComponentContext xCtx )
@@ -166,7 +166,7 @@ public class FunctionHelper
      *   - the office window will be a child of one of our java windows
      *   - the office will be a normal system window outside this java application
      * This behaviour will be regulated by the second parameter of this operation.
-     * If a parentview is given the first mode will be activated - otherwhise
+     * If a parentview is given the first mode will be activated - otherwise
      * the second one.
      *
      * Note: First mode (creation of a child window) can be reached by two different
@@ -358,7 +358,7 @@ public class FunctionHelper
 
             // pass the window the frame as his new container window.
             // It's necessary to do it first  - before you call anything else there.
-            // Otherwhise the frame throws some exceptions for "uninitialized state".
+            // Otherwise the frame throws some exceptions for "uninitialized state".
             xFrame.initialize( xWindow );
 
             // Insert the new frame in desktop hierarchy.
@@ -434,7 +434,7 @@ public class FunctionHelper
      *                      (Note: Deregistration is part of this listener himself!)
      *
      * @return  [XDispatch] It's the used dispatch object and can be used for deregistration of an optional listener.
-     *                      Otherwhise caller can ignore it.
+     *                      Otherwise caller can ignore it.
      */
     public static com.sun.star.frame.XDispatch execute(com.sun.star.frame.XFrame          xFrame     ,
                                                        com.sun.star.util.URL              aURL       ,
diff --git a/main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java b/main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java
index d87e21b..d11f12d 100644
--- a/main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java
+++ b/main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java
@@ -196,7 +196,7 @@ public class Interceptor implements com.sun.star.frame.XFrameActionListener,
      * call back for frame action events
      * We use it to update our interception. Because if a new component was loaded into
      * the frame or another interceptor was registered, we should refresh our connection
-     * to the frame. Otherwhise we can't guarantee full functionality here.
+     * to the frame. Otherwise we can't guarantee full functionality here.
      *
      * Note: Don't react synchronous in an asynchronous listener callback. So use a thread
      * here to update anything.
@@ -605,7 +605,7 @@ public class Interceptor implements com.sun.star.frame.XFrameActionListener,
 
     /**
      * If this java application shutdown - we must cancel all current existing
-     * listener connections. Otherwhise the office will run into some
+     * listener connections. Otherwise the office will run into some
      * DisposedExceptions if it tries to use these forgotten listener references.
      * And of course it can die doing that.
      * We are registered at a central object to be informed if the VM will exit.
diff --git a/main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusListener.java b/main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusListener.java
index 3e739c3..f9a6e83 100644
--- a/main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusListener.java
+++ b/main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusListener.java
@@ -37,7 +37,7 @@ import java.util.Vector;
  * reacts for status events we listen for
  * We listen for status events to update our UI.
  * To know which event must be used for which UI control
- * we use a special class to do that. Otherwhise we have
+ * we use a special class to do that. Otherwise we have
  * to guess it ...
  *
  * Further we are frame action listener too.
@@ -259,7 +259,7 @@ class StatusListener implements com.sun.star.frame.XStatusListener,
                 {
                     JCheckBox aBox = (JCheckBox)m_rControl;
 
-                    // State must be a boolean value too. Otherwhise must
+                    // State must be a boolean value too. Otherwise must
                     // ignore this event.
                     if ( ! (aEvent.State instanceof Boolean ) )
                         return;
@@ -390,7 +390,7 @@ class StatusListener implements com.sun.star.frame.XStatusListener,
      *
      * @param aEvent
      *          describes the source which fire this event
-     *          Must be our internal saved dispatch or frame. Otherwhise
+     *          Must be our internal saved dispatch or frame. Otherwise
      *          somewhere know us without a registration ...
      */
     public /*ONEWAY*/ void disposing(/*IN*/ com.sun.star.lang.EventObject aEvent)
@@ -419,7 +419,7 @@ class StatusListener implements com.sun.star.frame.XStatusListener,
 
     /**
      * If this java application shutdown - we must cancel all current existing
-     * listener connections. Otherwhise the office will run into some
+     * listener connections. Otherwise the office will run into some
      * DisposedExceptions if it tries to use these forgotten listener references.
      * And of course it can die doing that.
      * We are registered at a central object to be informed if the VM will exit.
diff --git a/main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusView.java b/main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusView.java
index c4a15f3..a792044 100644
--- a/main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusView.java
+++ b/main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusView.java
@@ -232,7 +232,7 @@ public class StatusView extends    JPanel
 
     /**
      * If this java application shutdown - we must cancel all current existing
-     * listener connections. Otherwhise the office will run into some
+     * listener connections. Otherwise the office will run into some
      * DisposedExceptions if it tries to use these forgotten listener references.
      * And of course it can die doing that.
      * We are registered at a central object to be informed if the VM will exit.
diff --git a/main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/nativelib/windows/nativeview.c b/main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/nativelib/windows/nativeview.c
index a906c9d..2092792 100644
--- a/main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/nativelib/windows/nativeview.c
+++ b/main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/nativelib/windows/nativeview.c
@@ -103,7 +103,7 @@ JNIEXPORT jlong JNICALL Java_NativeView_getNativeWindow
 	awt.FreeDrawingSurface(ds);
 
     /* Register own window procedure
-       Do it one times only! Otherwhise
+       Do it one time only! Otherwise
        multiple instances will be registered
        and calls on such construct produce
        a stack overflow.
diff --git a/main/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java b/main/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java
index a2af49c..d5bb091 100644
--- a/main/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java
+++ b/main/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java
@@ -216,8 +216,8 @@ public class AsciiReplaceFilter
         /**
         * For external user of us we must provide our internal filter name
         * (which is registered inside configuration package TypeDetection).
-        * User will be able then to ask there for furthe information about us.
-        * Otherwhise we must implement a full featured XPropertySet ...
+        * User will be able then to ask there for further information about us.
+        * Otherwise we must implement a full featured XPropertySet ...
         *
         * @return our internal filter name of configuration
         */
@@ -651,7 +651,7 @@ public class AsciiReplaceFilter
          *  the requested service name
          *
          * @return True, if the given service name will be supported;
-         *         False otherwhise.
+         *         False otherwise.
          */
         public boolean supportsService( String sService )
         {
diff --git a/main/offapi/com/sun/star/frame/FrameLoader.idl b/main/offapi/com/sun/star/frame/FrameLoader.idl
index 92e23ed..fad2bad 100644
--- a/main/offapi/com/sun/star/frame/FrameLoader.idl
+++ b/main/offapi/com/sun/star/frame/FrameLoader.idl
@@ -66,7 +66,7 @@ published service FrameLoader
         <p>
         Concrete implementations should use it to get her own configuration data
         directly after creation by the <type>FrameLoaderFactory</type>.
-        Otherwhise they must use normal configuration api to do so.
+        Otherwise they must use normal configuration api to do so.
 		</p>
 	 */
 	[optional] interface com::sun::star::lang::XInitialization;
diff --git a/main/offapi/com/sun/star/frame/ProtocolHandler.idl b/main/offapi/com/sun/star/frame/ProtocolHandler.idl
index 0d53694..0c8f6d5 100644
--- a/main/offapi/com/sun/star/frame/ProtocolHandler.idl
+++ b/main/offapi/com/sun/star/frame/ProtocolHandler.idl
@@ -79,7 +79,7 @@ published service ProtocolHandler
 
         <p>
         Please note: if this mechanism is used it does not seem useful (nor possible) to implement a ProtocolHandler
-        as a singleton. Otherwhise the implementation can't distinguish between different environments
+        as a singleton. Otherwise the implementation can't distinguish between different environments
         and her corresponding dispatch requests.
         </p>
         */
diff --git a/main/offapi/com/sun/star/frame/SynchronousFrameLoader.idl b/main/offapi/com/sun/star/frame/SynchronousFrameLoader.idl
index 7fb9cf5..01c427f 100644
--- a/main/offapi/com/sun/star/frame/SynchronousFrameLoader.idl
+++ b/main/offapi/com/sun/star/frame/SynchronousFrameLoader.idl
@@ -66,7 +66,7 @@ published service SynchronousFrameLoader
         <p>
         Concrete implementations should use it to get her own configuration data
         directly after creation by the <type>FrameLoaderFactory</type>.
-        Otherwhise they must use normal configuration api to do so.
+        Otherwise they must use normal configuration api to do so.
 		</p>
 	 */
 	[optional] interface com::sun::star::lang::XInitialization;
diff --git a/main/offapi/com/sun/star/frame/XDispatchRecorder.idl b/main/offapi/com/sun/star/frame/XDispatchRecorder.idl
index 8c12fa5..3c72eda 100644
--- a/main/offapi/com/sun/star/frame/XDispatchRecorder.idl
+++ b/main/offapi/com/sun/star/frame/XDispatchRecorder.idl
@@ -126,7 +126,7 @@ published interface XDispatchRecorder: com::sun::star::uno::XInterface
 
         <p>
         This method must be used before <member>endRecording()</member> is called!
-        Otherwhise the macro will be relased.
+        Otherwise the macro will be relased.
         </p>
 
         @returns
diff --git a/main/offapi/com/sun/star/view/PrintOptions.idl b/main/offapi/com/sun/star/view/PrintOptions.idl
index 0169ed6..0f61ca0 100644
--- a/main/offapi/com/sun/star/view/PrintOptions.idl
+++ b/main/offapi/com/sun/star/view/PrintOptions.idl
@@ -74,8 +74,8 @@ published service PrintOptions
 	    
 	    	<p>Default is the asynchronous print mode.</p>
 	    
-	    @attention	Using of this property with TRUE as value is highly reommended.
-	    		Otherwhise following actions (as e.g. closing the corresponding model) can fail.
+	    @attention	Using of this property with TRUE as value is highly recommended.
+	    		Otherwise following actions (as e.g. closing the corresponding model) can fail.
 	 */
 	[optional, property] boolean Wait;
 	
diff --git a/main/salhelper/inc/salhelper/singletonref.hxx b/main/salhelper/inc/salhelper/singletonref.hxx
index 3ee7f85..ab986d6 100644
--- a/main/salhelper/inc/salhelper/singletonref.hxx
+++ b/main/salhelper/inc/salhelper/singletonref.hxx
@@ -96,7 +96,7 @@ class SingletonRef
         /** @short  standard ctor.
 
             @descr  The internal wrapped object is created only,
-                    if its ref count was 0. Otherwhise this method
+                    if its ref count was 0. Otherwise this method
                     does nothing ... except increasing of the internal
                     ref count!
          */
@@ -106,7 +106,7 @@ class SingletonRef
             ::osl::MutexGuard aLock(SingletonRef::ownStaticLock());
 
             // must be increased before(!) the check is done.
-            // Otherwhise this check can fail inside the same thread ...
+            // Otherwise this check can fail inside the same thread ...
             ++m_nRef;
             if (m_nRef == 1)
                 m_pInstance = new SingletonClass();
@@ -120,7 +120,7 @@ class SingletonRef
         /** @short  standard dtor.
 
             @descr  The internal wrapped object is removed only,
-                    if its ref count wil be 0. Otherwhise this method
+                    if its ref count wil be 0. Otherwise this method
                     does nothing ... except decreasing of the internal
                     ref count!
          */
@@ -130,7 +130,7 @@ class SingletonRef
             ::osl::MutexGuard aLock(SingletonRef::ownStaticLock());
 
             // must be decreased before(!) the check is done.
-            // Otherwhise this check can fail inside the same thread ...
+            // Otherwise this check can fail inside the same thread ...
             --m_nRef;
             if (m_nRef == 0)
             {
diff --git a/main/sfx2/source/appl/sfxhelp.cxx b/main/sfx2/source/appl/sfxhelp.cxx
index 8a50781..b00bce5 100644
--- a/main/sfx2/source/appl/sfxhelp.cxx
+++ b/main/sfx2/source/appl/sfxhelp.cxx
@@ -811,7 +811,7 @@ SfxHelpWindow_Impl* impl_createHelp(Reference< XFrame >& rHelpTask   ,
     Reference < XFrame > xDesktop( ::comphelper::getProcessServiceFactory()->createInstance(
 		DEFINE_CONST_UNICODE("com.sun.star.frame.Desktop") ), UNO_QUERY );
 
-    // otherwhise - create new help task
+    // otherwise - create new help task
     Reference< XFrame > xHelpTask = xDesktop->findFrame(
         ::rtl::OUString(DEFINE_CONST_UNICODE("OFFICE_HELP_TASK")),
         FrameSearchFlag::TASKS | FrameSearchFlag::CREATE);
diff --git a/main/sfx2/source/bastyp/fltfnc.cxx b/main/sfx2/source/bastyp/fltfnc.cxx
index 784e478..e392675 100644
--- a/main/sfx2/source/bastyp/fltfnc.cxx
+++ b/main/sfx2/source/bastyp/fltfnc.cxx
@@ -428,8 +428,8 @@ sal_uInt32  SfxFilterMatcher::GuessFilterControlDefaultUI( SfxMedium& rMedium, c
     ::rtl::OUString sTypeName;
     try
     {
-        // open the stream one times only ...
-        // Otherwhise it will be tried more then once and show the same interaction more then once ...
+        // open the stream one time only ...
+        // Otherwise it will be tried more than once and show the same interaction more than once ...
 
         ::rtl::OUString sURL( rMedium.GetURLObject().GetMainURL( INetURLObject::NO_DECODE ) );
         ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream > xInStream = rMedium.GetInputStream();
diff --git a/main/sfx2/source/doc/docfile.cxx b/main/sfx2/source/doc/docfile.cxx
index f6401d0..dddd026 100644
--- a/main/sfx2/source/doc/docfile.cxx
+++ b/main/sfx2/source/doc/docfile.cxx
@@ -2746,7 +2746,7 @@ SfxMedium::GetAuthenticationInteractionHandler()
             return xHandler;
     }
 
-    // otherwhise return cached default handler ... if it exist.
+    // otherwise return cached default handler ... if it exist.
     if ( pImp->xCredentialInteraction.is() )
         return pImp->xCredentialInteraction;
 
@@ -2784,7 +2784,7 @@ SfxMedium::GetInteractionHandler()
     if ( !pImp->bAllowDefaultIntHdl )
         return ::com::sun::star::uno::Reference< ::com::sun::star::task::XInteractionHandler >();
 
-    // otherwhise return cached default handler ... if it exist.
+    // otherwise return cached default handler ... if it exist.
     if ( pImp->xInteraction.is() )
         return pImp->xInteraction;
 
@@ -3333,7 +3333,7 @@ SfxMedium::~SfxMedium()
 {
     /* Attention
         Don't enable CancelTransfers() till you know that the writer/web has changed his asynchronous load
-        behaviour. Otherwhise may StyleSheets inside a html file will be loaded at the right time.
+        behaviour. Otherwise maybe StyleSheets inside a html file will not be loaded at the right time.
         => further the help will be empty then ... #100490#
      */
     //CancelTransfers();
diff --git a/main/sfx2/source/doc/printhelper.cxx b/main/sfx2/source/doc/printhelper.cxx
index 265032c..005ee0d 100644
--- a/main/sfx2/source/doc/printhelper.cxx
+++ b/main/sfx2/source/doc/printhelper.cxx
@@ -630,10 +630,10 @@ void SAL_CALL SfxPrintHelper::print(const uno::Sequence< beans::PropertyValue >&
             INetURLObject aCheck(sURL );
             if (aCheck.GetProtocol()==INET_PROT_NOT_VALID)
             {
-                // OK - it's not a valid URL. But may it's a simple
+                // OK - it's not a valid URL. But maybe it's a simple
                 // system path directly. It will be supported for historical
-                // reasons. Otherwhise we break to much external code ...
-                // We try to convert it to a file URL. If its possible
+                // reasons. Otherwise we break to much external code ...
+                // We try to convert it to a file URL. If it's possible
                 // we put the system path to the item set and let vcl work with it.
                 // No ucb or thread will be necessary then. In case it couldn't be
                 // converted its not an URL nor a system path. Then we can't accept
diff --git a/main/sfx2/source/view/viewfrm.cxx b/main/sfx2/source/view/viewfrm.cxx
index ba2afe1..1b1d28b 100644
--- a/main/sfx2/source/view/viewfrm.cxx
+++ b/main/sfx2/source/view/viewfrm.cxx
@@ -2624,7 +2624,7 @@ sal_Bool impl_maxOpenDocCountReached()
 
     // Any internal error is no reason to stop opening documents !
     // Limitation of opening documents is a special "nice to  have" feature.
-    // Otherwhise it can happen, that NO document will be opened ...
+    // Otherwise it can happen, that NO document will be opened ...
     return sal_False;
 }
 
diff --git a/main/svl/qa/complex/ConfigItems/helper/HistoryOptTest.cxx b/main/svl/qa/complex/ConfigItems/helper/HistoryOptTest.cxx
index f24a54c..2b7f01c 100644
--- a/main/svl/qa/complex/ConfigItems/helper/HistoryOptTest.cxx
+++ b/main/svl/qa/complex/ConfigItems/helper/HistoryOptTest.cxx
@@ -148,7 +148,7 @@ void HistoryOptTest::impl_testHistory(EHistoryType eHistory ,
 	    
 		// e) Check if decreasing list size will remove oldest items.
 		//    Note: impl_setSize() will make sure that 3 items exists only.
-		//    Otherwhise it throws an exception. If we further check
+		//    Otherwise it throws an exception. If we further check
 		//    positions of three items no further items must be checked.
 		//    They can't exists :-)
 		::sal_Int32 nNewSize = 3;
diff --git a/main/svtools/inc/svtools/acceleratorexecute.hxx b/main/svtools/inc/svtools/acceleratorexecute.hxx
index 8c4a119..7517249 100644
--- a/main/svtools/inc/svtools/acceleratorexecute.hxx
+++ b/main/svtools/inc/svtools/acceleratorexecute.hxx
@@ -183,9 +183,9 @@ class SVT_DLLPUBLIC AcceleratorExecute : private TMutexInit
         /** @short  init this instance.
 
             @descr  It must be called as first method after creation.
-                    And further it can be called more then once ...
-                    but at least its should be used one times only.
-                    Otherwhise nobody can say, which asynchronous
+                    And further it can be called more than once ...
+                    but at least it should be used one time only.
+                    Otherwise nobody can say, which asynchronous
                     executions will be used inside the old and which one
                     will be used inside the new environment.
 
diff --git a/main/svx/source/form/formcontroller.cxx b/main/svx/source/form/formcontroller.cxx
index 22f390a..9b35303 100644
--- a/main/svx/source/form/formcontroller.cxx
+++ b/main/svx/source/form/formcontroller.cxx
@@ -1689,7 +1689,7 @@ void FormController::focusGained(const FocusEvent& e) throw( RuntimeException )
     {
         // do we need to keep the locking of the commit
         // we hold the lock as long as the control differs from the current
-        // otherwhise we disabled the lock
+        // otherwise we disabled the lock
         m_bCommitLock = m_bCommitLock && (XControl*)xControl.get() != (XControl*)m_xCurrentControl.get();
         if (m_bCommitLock)
             return;
diff --git a/main/ucbhelper/inc/ucbhelper/interceptedinteraction.hxx b/main/ucbhelper/inc/ucbhelper/interceptedinteraction.hxx
index 9d62e88..b97b347 100644
--- a/main/ucbhelper/inc/ucbhelper/interceptedinteraction.hxx
+++ b/main/ucbhelper/inc/ucbhelper/interceptedinteraction.hxx
@@ -244,7 +244,7 @@ class UCBHELPER_DLLPUBLIC InterceptedInteraction : public ::cppu::WeakImplHelper
                     by checking its interface type.
                     
             @return A valid reference to the continuation, if it could be located ...
-                    or an empty reference otherwhise.
+                    or an empty reference otherwise.
          */
         static ::com::sun::star::uno::Reference< ::com::sun::star::task::XInteractionContinuation > extractContinuation(
                     const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::task::XInteractionContinuation > >& lContinuations,
diff --git a/main/unotools/inc/unotools/securityoptions.hxx b/main/unotools/inc/unotools/securityoptions.hxx
index 522e866..b11b131 100644
--- a/main/unotools/inc/unotools/securityoptions.hxx
+++ b/main/unotools/inc/unotools/securityoptions.hxx
@@ -159,7 +159,7 @@ class UNOTOOLS_DLLPUBLIC SvtSecurityOptions: public utl::detail::Options
             @seealso    -
 
             @param      "eOption", specify, which item is queried
-            @return     <TRUE/> if item is readonly; <FALSE/> otherwhise
+            @return     <TRUE/> if item is readonly; <FALSE/> otherwise
 
             @onerror    No error should occurre!
         *//*-*****************************************************************************************************/
diff --git a/main/uui/source/iahndl-filter.cxx b/main/uui/source/iahndl-filter.cxx
index 86e3856..1cfe84c 100644
--- a/main/uui/source/iahndl-filter.cxx
+++ b/main/uui/source/iahndl-filter.cxx
@@ -194,7 +194,7 @@ handleNoSuchFilterRequest_(
         return;
     }
 
-    // otherwhise set it for return
+    // otherwise set it for return
     xFilterTransport->setFilter( sSelectedFilter );
     xFilterTransport->select();
 }
diff --git a/main/uui/source/iahndl.cxx b/main/uui/source/iahndl.cxx
index 8bef14a..bb9fdfc 100644
--- a/main/uui/source/iahndl.cxx
+++ b/main/uui/source/iahndl.cxx
@@ -1287,7 +1287,7 @@ UUIInteractionHelper::handleGenericErrorRequest(
         getContinuations(rContinuations, &xApprove, &xAbort);
 
         // Note: It's important to convert the transported long to the
-        // required  unsigned long value. Otherwhise using as flag field
+        // required unsigned long value. Otherwise using as flag field
         // can fail ...
         ErrCode  nError   = static_cast< ErrCode >(nErrorCode);
         sal_Bool bWarning = !ERRCODE_TOERROR(nError);
diff --git a/main/vbahelper/source/vbahelper/vbadocumentbase.cxx b/main/vbahelper/source/vbahelper/vbadocumentbase.cxx
index d9fb9a8..2be919f 100644
--- a/main/vbahelper/source/vbahelper/vbadocumentbase.cxx
+++ b/main/vbahelper/source/vbahelper/vbadocumentbase.cxx
@@ -176,8 +176,8 @@ VbaDocumentBase::Close( const uno::Any &rSaveArg, const uno::Any &rFileArg,
         else
         {
             // If close is not supported by this model - try to dispose it.
-            // But if the model disagree with a reset request for the modify state
-            // we shouldn't do so. Otherwhise some strange things can happen.
+            // But if the model disagrees with a reset request for the modify state
+            // we shouldn't do so. Otherwise some strange things can happen.
             uno::Reference< lang::XComponent > xDisposable ( getModel(), uno::UNO_QUERY );
             if ( xDisposable.is() )
                 xDisposable->dispose();