[Libreoffice-commits] core.git: 3 commits - canvas/source comphelper/source dbaccess/source desktop/source embeddedobj/source filter/source forms/source fpicker/source framework/inc framework/qa framework/source include/comphelper include/framework include/salhelper include/svx include/ucbhelper include/unotools io/source odk/examples offapi/com qadevOOo/tests sal/osl sfx2/source svx/source sw/source ucbhelper/source unotools/source vcl/source xmloff/source

Tor Lillqvist tml at collabora.com
Thu Apr 17 14:31:07 PDT 2014


 canvas/source/cairo/cairo_canvasbitmap.cxx                                    |    2 
 comphelper/source/misc/numberedcollection.cxx                                 |    2 
 dbaccess/source/core/api/querycomposer.cxx                                    |    2 
 desktop/source/app/app.cxx                                                    |    4 -
 embeddedobj/source/commonembedding/persistence.cxx                            |    2 
 filter/source/config/cache/basecontainer.cxx                                  |    2 
 filter/source/config/cache/basecontainer.hxx                                  |    4 -
 filter/source/config/cache/cacheitem.hxx                                      |    6 +-
 filter/source/config/cache/filtercache.cxx                                    |   12 ++--
 filter/source/config/cache/filtercache.hxx                                    |    6 +-
 filter/source/config/cache/filterfactory.cxx                                  |    2 
 filter/source/config/cache/querytokenizer.hxx                                 |    2 
 filter/source/config/cache/typedetection.cxx                                  |    4 -
 filter/source/config/cache/typedetection.hxx                                  |    2 
 forms/source/xforms/datatypes.hxx                                             |    2 
 fpicker/source/win32/filepicker/VistaFilePicker.cxx                           |    2 
 fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx                       |    2 
 framework/inc/dispatch/closedispatcher.hxx                                    |    6 +-
 framework/inc/helper/ocomponentaccess.hxx                                     |    2 
 framework/inc/helper/ocomponentenumeration.hxx                                |    2 
 framework/inc/helper/statusindicatorfactory.hxx                               |    2 
 framework/inc/jobs/helponstartup.hxx                                          |    2 
 framework/inc/jobs/jobdata.hxx                                                |    2 
 framework/inc/jobs/shelljob.hxx                                               |    2 
 framework/inc/properties.h                                                    |    2 
 framework/inc/services/desktop.hxx                                            |    4 -
 framework/qa/complex/dispatches/checkdispatchapi.java                         |    2 
 framework/qa/complex/framework/autosave/Protocol.java                         |    2 
 framework/qa/complex/framework/recovery/RecoveryTest.java                     |    4 -
 framework/qa/complex/framework/recovery/RecoveryTools.java                    |    2 
 framework/source/accelerators/acceleratorconfiguration.cxx                    |    6 +-
 framework/source/accelerators/storageholder.cxx                               |    2 
 framework/source/classes/taskcreator.cxx                                      |    2 
 framework/source/dispatch/closedispatcher.cxx                                 |    6 +-
 framework/source/dispatch/dispatchprovider.cxx                                |    4 -
 framework/source/dispatch/interceptionhelper.cxx                              |    2 
 framework/source/inc/accelerators/presethandler.hxx                           |    4 -
 framework/source/inc/loadenv/actionlockguard.hxx                              |    4 -
 framework/source/inc/loadenv/loadenv.hxx                                      |   28 +++++-----
 framework/source/inc/loadenv/loadenvexception.hxx                             |    4 -
 framework/source/jobs/helponstartup.cxx                                       |    2 
 framework/source/jobs/job.cxx                                                 |    2 
 framework/source/jobs/shelljob.cxx                                            |    2 
 framework/source/services/autorecovery.cxx                                    |   20 +++----
 framework/source/services/desktop.cxx                                         |    2 
 framework/source/services/frame.cxx                                           |    2 
 framework/source/services/pathsettings.cxx                                    |   10 +--
 include/comphelper/numberedcollection.hxx                                     |    2 
 include/framework/preventduplicateinteraction.hxx                             |    2 
 include/salhelper/singletonref.hxx                                            |    2 
 include/svx/svdmrkv.hxx                                                       |    2 
 include/ucbhelper/interceptedinteraction.hxx                                  |    4 -
 include/unotools/moduleoptions.hxx                                            |    4 -
 io/source/acceptor/acc_socket.cxx                                             |    2 
 odk/examples/DevelopersGuide/Components/Addons/JobsAddon/AsyncJob.java        |    2 
 odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/DocumentView.java   |    2 
 odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java |    2 
 offapi/com/sun/star/ui/XAcceleratorConfiguration.idl                          |   10 +--
 qadevOOo/tests/java/ifc/xml/sax/_XDocumentHandler.java                        |    2 
 sal/osl/unx/socket.c                                                          |    2 
 sfx2/source/doc/docfile.cxx                                                   |    2 
 sfx2/source/doc/sfxbasemodel.cxx                                              |    2 
 sfx2/source/view/frmload.cxx                                                  |    2 
 svx/source/dialog/docrecovery.cxx                                             |    2 
 sw/source/core/layout/trvlfrm.cxx                                             |    2 
 sw/source/core/unocore/unochart.cxx                                           |    6 +-
 ucbhelper/source/client/interceptedinteraction.cxx                            |    2 
 unotools/source/config/configitem.cxx                                         |    2 
 unotools/source/config/moduleoptions.cxx                                      |    2 
 vcl/source/filter/graphicfilter2.cxx                                          |    2 
 xmloff/source/text/txtvfldi.cxx                                               |    4 -
 71 files changed, 130 insertions(+), 130 deletions(-)

New commits:
commit 5fd534de054876486a9620eced5e27faeee9eb05
Author: Tor Lillqvist <tml at collabora.com>
Date:   Fri Apr 18 00:29:46 2014 +0300

    Typo: s/gurantee/guarantee
    
    Change-Id: I8bd7ca5896931fbf18bf8ae25b62ced9b420fe39

diff --git a/forms/source/xforms/datatypes.hxx b/forms/source/xforms/datatypes.hxx
index a65ee57..4f40dae 100644
--- a/forms/source/xforms/datatypes.hxx
+++ b/forms/source/xforms/datatypes.hxx
@@ -218,7 +218,7 @@ namespace xforms
             must hold for their normalizations.
 
             @param _rValue
-                the value to translate. Guranteed to be not <NULL/>, and of type <member>ValueType</member>
+                the value to translate. Guaranteed to be not <NULL/>, and of type <member>ValueType</member>
             @param _rDoubleValue
                 output parameter to hold the resulting double value
         */
diff --git a/framework/source/inc/loadenv/loadenv.hxx b/framework/source/inc/loadenv/loadenv.hxx
index 9b022cd..d23f954 100644
--- a/framework/source/inc/loadenv/loadenv.hxx
+++ b/framework/source/inc/loadenv/loadenv.hxx
@@ -288,7 +288,7 @@ public:
                 a frame with a controller/model inside can be possible. For loading
                 of a "non visible component" only an information about a successfully start
                 can be provided.
-                Further it can't be guranteed, that the internal process runs synchronous.
+                Further it can't be guaranteed, that the internal process runs synchronous.
                 Thats why we preferr using of specialized methods afterwards e.g. to:
                     - wait till the internal job will be finished
                       and get the results
diff --git a/odk/examples/DevelopersGuide/Components/Addons/JobsAddon/AsyncJob.java b/odk/examples/DevelopersGuide/Components/Addons/JobsAddon/AsyncJob.java
index ad34a6e..ed5d63e 100644
--- a/odk/examples/DevelopersGuide/Components/Addons/JobsAddon/AsyncJob.java
+++ b/odk/examples/DevelopersGuide/Components/Addons/JobsAddon/AsyncJob.java
@@ -92,7 +92,7 @@ public class AsyncJob extends    WeakBase implements XServiceInfo, XAsyncJob
                                           com.sun.star.task.XJobListener  xListener)
         throws com.sun.star.lang.IllegalArgumentException
     {
-        // For asynchronous jobs a valid listener reference is guranteed normaly ...
+        // For asynchronous jobs a valid listener reference is guaranteed normaly ...
         if (xListener == null)
             throw new com.sun.star.lang.IllegalArgumentException("invalid listener");
 
diff --git a/unotools/source/config/moduleoptions.cxx b/unotools/source/config/moduleoptions.cxx
index 7856e2e..de435e4 100644
--- a/unotools/source/config/moduleoptions.cxx
+++ b/unotools/source/config/moduleoptions.cxx
@@ -340,7 +340,7 @@ SvtModuleOptions_Impl::SvtModuleOptions_Impl()
     :   ::utl::ConfigItem( ROOTNODE_FACTORIES )
     ,   m_bReadOnlyStatesWellKnown( false )
 {
-    // First initialize list of factory infos! Otherwise we couldnt gurantee right working of these class.
+    // First initialize list of factory infos! Otherwise we couldnt guarantee right working of these class.
     for( sal_Int32 nFactory=0; nFactory<FACTORYCOUNT; ++nFactory )
         m_lFactories[nFactory].free();
 
commit 728ec86062c13c4994a15bf4bee810db7094c8bb
Author: Tor Lillqvist <tml at collabora.com>
Date:   Fri Apr 18 00:26:02 2014 +0300

    Typo: s/cant/can't/
    
    Change-Id: Id76b4ea569246c4b96da48dbc8d5a557367e0cca

diff --git a/canvas/source/cairo/cairo_canvasbitmap.cxx b/canvas/source/cairo/cairo_canvasbitmap.cxx
index eae1319..6865063 100644
--- a/canvas/source/cairo/cairo_canvasbitmap.cxx
+++ b/canvas/source/cairo/cairo_canvasbitmap.cxx
@@ -46,7 +46,7 @@ namespace
 {
     HBITMAP surface2HBitmap( const SurfaceSharedPtr& rSurface, const basegfx::B2ISize& rSize )
     {
-        // cant seem to retrieve HBITMAP from cairo. copy content then
+        // can't seem to retrieve HBITMAP from cairo. copy content then
         HDC hScreenDC=GetDC(NULL);
         HBITMAP hBmpBitmap = CreateCompatibleBitmap( hScreenDC,
                                                      rSize.getX(),
diff --git a/comphelper/source/misc/numberedcollection.cxx b/comphelper/source/misc/numberedcollection.cxx
index 82181a0..4283360 100644
--- a/comphelper/source/misc/numberedcollection.cxx
+++ b/comphelper/source/misc/numberedcollection.cxx
@@ -195,7 +195,7 @@ OUString SAL_CALL NumberedCollection::getUntitledPrefix()
     ::sal_Int32                  c = (::sal_Int32)m_lComponents.size ();
     ::sal_Int32                  i = 1;
 
-    // c cant be less then 0 ... otherwise hash.size() has an error :-)
+    // c can't be less then 0 ... otherwise hash.size() has an error :-)
     // But we need at least n+1 numbers here.
     c += 1;
 
diff --git a/dbaccess/source/core/api/querycomposer.cxx b/dbaccess/source/core/api/querycomposer.cxx
index 9724c96..adb2c8f 100644
--- a/dbaccess/source/core/api/querycomposer.cxx
+++ b/dbaccess/source/core/api/querycomposer.cxx
@@ -67,7 +67,7 @@ OQueryComposer::OQueryComposer(const Reference< XConnection>& _xConnection)
  : OSubComponent(m_aMutex,_xConnection)
 {
     SAL_INFO("dbaccess", "OQueryComposer::OQueryComposer" );
-    OSL_ENSURE(_xConnection.is()," Connection cant be null!");
+    OSL_ENSURE(_xConnection.is()," Connection can't be null!");
 
     Reference<XMultiServiceFactory> xFac( _xConnection, UNO_QUERY_THROW );
     m_xComposer.set( xFac->createInstance( SERVICE_NAME_SINGLESELECTQUERYCOMPOSER ), UNO_QUERY_THROW );
diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx
index 037858c..03c436e 100644
--- a/desktop/source/app/app.cxx
+++ b/desktop/source/app/app.cxx
@@ -457,7 +457,7 @@ OUString MakeStartupConfigAccessErrorMessage( OUString const & aInternalErrMsg )
 
 
 // shows a simple error box with the given message ... but exits from these process !
-// Fatal errors cant be solved by the process ... nor any recovery can help.
+// Fatal errors can't be solved by the process ... nor any recovery can help.
 // Mostly the installation was damaged and must be repaired manually .. or by calling
 // setup again.
 // On the other side we must make sure that no further actions will be possible within
@@ -1268,7 +1268,7 @@ sal_uInt16 Desktop::Exception(sal_uInt16 nError)
     sal_Bool bAllowRecoveryAndSessionManagement = (
                                                     ( !rArgs.IsNoRestore()                    ) && // some use cases of office must work without recovery
                                                     ( !rArgs.IsHeadless()                     ) &&
-                                                    (( nError & EXC_MAJORTYPE ) != EXC_DISPLAY ) && // recovery cant work without UI ... but UI layer seems to be the reason for this crash
+                                                    (( nError & EXC_MAJORTYPE ) != EXC_DISPLAY ) && // recovery can't work without UI ... but UI layer seems to be the reason for this crash
                                                     ( Application::IsInExecute()               )    // crashes during startup and shutdown should be ignored (they indicates a corrupt installation ...)
                                                   );
     if ( bAllowRecoveryAndSessionManagement )
diff --git a/embeddedobj/source/commonembedding/persistence.cxx b/embeddedobj/source/commonembedding/persistence.cxx
index 229eb3b..b5c5e58 100644
--- a/embeddedobj/source/commonembedding/persistence.cxx
+++ b/embeddedobj/source/commonembedding/persistence.cxx
@@ -1829,7 +1829,7 @@ void SAL_CALL OCommonEmbeddedObject::breakLink( const uno::Reference< embed::XSt
     {}
 
     m_pDocHolder->SetComponent( xDocument, m_bReadOnly );
-    SAL_WARN_IF( !m_pDocHolder->GetComponent().is(), "embeddedobj.common", "If document cant be created, an exception must be thrown!" );
+    SAL_WARN_IF( !m_pDocHolder->GetComponent().is(), "embeddedobj.common", "If document can't be created, an exception must be thrown!" );
 
     if ( m_nObjectState == embed::EmbedStates::LOADED )
     {
diff --git a/filter/source/config/cache/basecontainer.cxx b/filter/source/config/cache/basecontainer.cxx
index e3eb363..b9c3b80 100644
--- a/filter/source/config/cache/basecontainer.cxx
+++ b/filter/source/config/cache/basecontainer.cxx
@@ -290,7 +290,7 @@ css::uno::Any SAL_CALL BaseContainer::getByName(const OUString& sItem)
            css::uno::RuntimeException, std::exception            )
 {
     if (sItem.isEmpty())
-        throw css::container::NoSuchElementException( "An empty item cant be part of this cache!",
+        throw css::container::NoSuchElementException( "An empty item can't be part of this cache!",
                 css::uno::Reference< css::uno::XInterface >(static_cast< css::container::XNameAccess* >(this), css::uno::UNO_QUERY));
 
     css::uno::Any aValue;
diff --git a/filter/source/config/cache/basecontainer.hxx b/filter/source/config/cache/basecontainer.hxx
index f0ca564..050b9a1 100644
--- a/filter/source/config/cache/basecontainer.hxx
+++ b/filter/source/config/cache/basecontainer.hxx
@@ -49,7 +49,7 @@ namespace filter{
                 should be available etc.
 
     @attention  The base class BaseLock must be the first of declared ones.
-                Otherwise we cant be sure, that our own mutex member (which is
+                Otherwise we can't be sure, that our own mutex member (which is
                 present by this base class!) was full initialized inside our own
                 ctor as first!
  */
@@ -202,7 +202,7 @@ class BaseContainer : public BaseLock
                             FilterCache* p = impl_getWorkingCache();
                             p->doSomething();
                         aLock.clear();
-                        // after this point p cant b e guaranteed any longer!
+                        // after this point p can't b e guaranteed any longer!
          */
         FilterCache* impl_getWorkingCache() const;
 
diff --git a/filter/source/config/cache/cacheitem.hxx b/filter/source/config/cache/cacheitem.hxx
index 427417b..aa37e9f 100644
--- a/filter/source/config/cache/cacheitem.hxx
+++ b/filter/source/config/cache/cacheitem.hxx
@@ -186,9 +186,9 @@ typedef ::boost::unordered_map< OUString                    ,
             to an extension. Organization as an hash makes it
             faster than searching inside vectors.
 
-            On the other side e.g. URLPattern cant be really addressed
+            On the other side e.g. URLPattern can't be really addressed
             by a hash value ... because the use wildcards. But
-            there we need key-value pairs too, which cant be provided
+            there we need key-value pairs too, which can't be provided
             by a pure vector!
  */
 typedef ::boost::unordered_map< OUString                    ,
diff --git a/filter/source/config/cache/filtercache.cxx b/filter/source/config/cache/filtercache.cxx
index e49d020..31c3287 100644
--- a/filter/source/config/cache/filtercache.cxx
+++ b/filter/source/config/cache/filtercache.cxx
@@ -154,7 +154,7 @@ void FilterCache::takeOver(const FilterCache& rClone)
     m_eFillState     = rClone.m_eFillState;
 
     // renew all dependencies and optimizations
-    // Because we cant be sure, that changed filters on one clone
+    // Because we can't be sure, that changed filters on one clone
     // and changed types of another clone work together.
     // But here we can check against the lates changes ...
     impl_validateAndOptimize();
@@ -438,13 +438,13 @@ void FilterCache::setItem(      EItemType        eType ,
     CacheItemList& rList = impl_getItemList(eType);
 
     // name must be part of the property set too ... otherwise our
-    // container query cant work correctly
+    // container query can't work correctly
     CacheItem aItem = aValue;
     aItem[PROPNAME_NAME] <<= sItem;
     aItem.validateUINames(m_sActLocale);
 
     // remove implicit properties as e.g. FINALIZED or MANDATORY
-    // They cant be saved here and must be readed on demand later, if they are needed.
+    // They can't be saved here and must be readed on demand later, if they are needed.
     removeStatePropsFromItem(aItem);
 
     rList[sItem] = aItem;
@@ -496,8 +496,8 @@ void FilterCache::addStatePropsToItem(      EItemType        eType,
             {
                 /* TODO
                     Hack -->
-                        The default frame loader cant be located inside the normal set of frame loaders.
-                        Its an atomic property inside the misc cfg package. So we cant retrieve the information
+                        The default frame loader can't be located inside the normal set of frame loaders.
+                        Its an atomic property inside the misc cfg package. So we can't retrieve the information
                         about FINALIZED and MANDATORY very easy ... :-(
                         => set it to readonly/required everytimes :-)
                 */
diff --git a/filter/source/config/cache/filtercache.hxx b/filter/source/config/cache/filtercache.hxx
index e0d4028..c8c0d41 100644
--- a/filter/source/config/cache/filtercache.hxx
+++ b/filter/source/config/cache/filtercache.hxx
@@ -293,7 +293,7 @@ class FilterCache : public BaseLock
                     If the new data are needed immediately inside the original container,
                     the method takeOver() can be used to copy all changes back.
                     The may be following notifications of the configuration will be superflous then.
-                    But they cant be stopped ...
+                    But they can't be stopped ...
 
                     All internal structures will be copied here. But the internal used
                     configuration (update) access wont be copied. The cloned instance contains
@@ -568,7 +568,7 @@ class FilterCache : public BaseLock
                         no exception will be thrown. In such case the item is marked as
                         finalized/mandatory automaticly
                         Reason: May be the item cames from the old configuration package and
-                        was not migrated to the new one. So we cant provide write access
+                        was not migrated to the new one. So we can't provide write access
                         to such items ...
          */
         virtual void addStatePropsToItem(      EItemType        eType,
diff --git a/filter/source/config/cache/filterfactory.cxx b/filter/source/config/cache/filterfactory.cxx
index 707f0ae..ee9ef4b 100644
--- a/filter/source/config/cache/filterfactory.cxx
+++ b/filter/source/config/cache/filterfactory.cxx
@@ -163,7 +163,7 @@ css::uno::Sequence< OUString > SAL_CALL FilterFactory::getAvailableServiceNames(
     /* Attention: Instead of getElementNames() this method have to return only filter names,
                   which can be created as UNO Services really. Thats why we search for filters,
                   which dont have a valid value for the property "FilterService".
-                  Of course we cant check for corrupted service names here. We can check
+                  Of course we can't check for corrupted service names here. We can check
                   for empty strings only ...
     */
     CacheItem lIProps;
diff --git a/filter/source/config/cache/typedetection.cxx b/filter/source/config/cache/typedetection.cxx
index 61f2c74..470e3a5 100644
--- a/filter/source/config/cache/typedetection.cxx
+++ b/filter/source/config/cache/typedetection.cxx
@@ -662,7 +662,7 @@ bool TypeDetection::impl_getPreselectionForType(
 
     if (!bBreakDetection)
     {
-        // We cant check a preselected type for a given stream!
+        // We can't check a preselected type for a given stream!
         // So we must believe, that it can work ...
         if ( aParsedURL.Complete == "private:stream" )
             bBreakDetection = true;
@@ -1090,7 +1090,7 @@ OUString TypeDetection::impl_askUserForTypeAndFilterIfAllowed(utl::MediaDescript
     // if we was forced to detect a stream.
     // Reason behind: We must be sure to ask user for "unknown contents" only ...
     // and not for "missing files". Especialy if detection is done by a stream only
-    // we cant check if the stream points to an "existing content"!
+    // we can't check if the stream points to an "existing content"!
     if (
         (sURL.isEmpty()                                     ) || // "non existing file" ?
         (!xStream.is()                                         ) || // non existing file !
diff --git a/filter/source/config/cache/typedetection.hxx b/filter/source/config/cache/typedetection.hxx
index 7782707..2dc2eec 100644
--- a/filter/source/config/cache/typedetection.hxx
+++ b/filter/source/config/cache/typedetection.hxx
@@ -309,7 +309,7 @@ private:
                     types too !
 
         @note       #i60158#
-                    sometimes our text ascii and our csv filter cant work together.
+                    sometimes our text ascii and our csv filter can't work together.
                     Then we overwrite our detection hardly.
                     sType param is used as out parameter then too ... and
                     rDescriptor will be changed by selecting another filter.
diff --git a/fpicker/source/win32/filepicker/VistaFilePicker.cxx b/fpicker/source/win32/filepicker/VistaFilePicker.cxx
index 40eeb06..1d7a449 100644
--- a/fpicker/source/win32/filepicker/VistaFilePicker.cxx
+++ b/fpicker/source/win32/filepicker/VistaFilePicker.cxx
@@ -252,7 +252,7 @@ OUString SAL_CALL VistaFilePicker::getDisplayDirectory()
 }
 
 
-// @deprecated cant be supported any longer ... see IDL description for further details
+// @deprecated can't be supported any longer ... see IDL description for further details
 css::uno::Sequence< OUString > SAL_CALL VistaFilePicker::getFiles()
     throw(css::uno::RuntimeException)
 {
diff --git a/fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx b/fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx
index 37e3cfd..22a5b9d 100644
--- a/fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx
+++ b/fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx
@@ -861,7 +861,7 @@ void VistaFilePickerImpl::impl_sta_ShowDialogModal(const RequestRef& rRequest)
     TFileSaveDialog iSave = m_iDialogSave;
 
     // it's important to know if we are showing the dialog.
-    // Some dialog interface methods cant be called then or some
+    // Some dialog interface methods can't be called then or some
     // tasks must be done differently .-) (e.g. see impl_sta_getSelectedFiles())
     m_bInExecute = sal_True;
 
diff --git a/framework/inc/dispatch/closedispatcher.hxx b/framework/inc/dispatch/closedispatcher.hxx
index fd41340..3c01754 100644
--- a/framework/inc/dispatch/closedispatcher.hxx
+++ b/framework/inc/dispatch/closedispatcher.hxx
@@ -167,10 +167,10 @@ class CloseDispatcher : public  ::cppu::WeakImplHelper2<
 
         /** @short  prepare m_xCloseFrame so it should be closeable without problems.
 
-            @descr  Thats needed to be sure, that the document cant disagree
+            @descr  Thats needed to be sure, that the document can't disagree
                     later with e.g. an office termination.
                     The problem: Closing of documents can show UI. If the user
-                    ignores it and open/close other documents, we cant know
+                    ignores it and open/close other documents, we can't know
                     which state the office has after closing of this frame.
 
             @param  bAllowSuspend
@@ -253,7 +253,7 @@ class CloseDispatcher : public  ::cppu::WeakImplHelper2<
                     context where its dispatched. Sometimes the start frame of the dispatch
                     has to be closed itself (target=_self) ... sometimes its parent frame
                     has to be closed - BUT(!) it means a parent frame containing a top level
-                    window. _top cant be used then for dispatch - because it address TopFrames
+                    window. _top can't be used then for dispatch - because it address TopFrames
                     not frames containg top level windows. So normaly _magic (which btw does not
                     exists at the moment .-) ) should be used. So we interpret target=<empty>
                     as _magic !
diff --git a/framework/inc/helper/ocomponentaccess.hxx b/framework/inc/helper/ocomponentaccess.hxx
index 6c63469..570ae47 100644
--- a/framework/inc/helper/ocomponentaccess.hxx
+++ b/framework/inc/helper/ocomponentaccess.hxx
@@ -140,7 +140,7 @@ class OComponentAccess  :   public ::cppu::WeakImplHelper1< ::com::sun::star::co
             @seealso    method createEnumeration
 
             @param      "xNode"        , root of subtree and start point of search
-            @param      "seqComponents", result list of search. We cant use a return value, we search recursive
+            @param      "seqComponents", result list of search. We can't use a return value, we search recursive
                                          and must collect all information.
         *//*-*****************************************************************************************************/
 
diff --git a/framework/inc/helper/ocomponentenumeration.hxx b/framework/inc/helper/ocomponentenumeration.hxx
index d12d45a..8a7a40d 100644
--- a/framework/inc/helper/ocomponentenumeration.hxx
+++ b/framework/inc/helper/ocomponentenumeration.hxx
@@ -37,7 +37,7 @@ namespace framework{
     @short          implement a helper for a oneway enumeration of components
     @descr          You can step during this list only for one time! Its a snapshot.
                     Don't forget to release the reference. You are the owner of an instance of this implementation.
-                    You cant use this as a baseclass. Please use it as a dynamical object for return.
+                    You can't use this as a baseclass. Please use it as a dynamical object for return.
 
     @implements     XInterface
                     XTypeProvider
diff --git a/framework/inc/jobs/helponstartup.hxx b/framework/inc/jobs/helponstartup.hxx
index 1df5e34..81d8256 100644
--- a/framework/inc/jobs/helponstartup.hxx
+++ b/framework/inc/jobs/helponstartup.hxx
@@ -84,7 +84,7 @@ class HelpOnStartup : public ::cppu::WeakImplHelper3< ::com::sun::star::lang::XS
         /** @short  does nothing real ...
 
             @descr  But it should exists as virtual function,
-                    so this class cant make trouble
+                    so this class can't make trouble
                     related to inline/symbols etcpp.!
          */
         virtual ~HelpOnStartup();
diff --git a/framework/inc/jobs/jobdata.hxx b/framework/inc/jobs/jobdata.hxx
index 9a575e5..c7715f0 100644
--- a/framework/inc/jobs/jobdata.hxx
+++ b/framework/inc/jobs/jobdata.hxx
@@ -80,7 +80,7 @@ class JobData
         /** Some jobs can be registered to "logical events", which are generated on demand if another document event
             occurs. E.g. "onDocumentOpened" in case "OnNew" or "OnLoad" was notified to the JobExecutor instance.
             And normaly the original event is transported as parameter set to the executed job. But then such job
-            cant differ between e.g. "OnNew" and "onDocumentOpened".
+            can't differ between e.g. "OnNew" and "onDocumentOpened".
             That's why we must know, for which type of event the job was really triggered .-)
 
             The information "sDocEvent" from this struct must be set on the member JobData::m_sEvent from outside
diff --git a/framework/inc/jobs/shelljob.hxx b/framework/inc/jobs/shelljob.hxx
index 7ec6c21..2412edc 100644
--- a/framework/inc/jobs/shelljob.hxx
+++ b/framework/inc/jobs/shelljob.hxx
@@ -68,7 +68,7 @@ class ShellJob : public ::cppu::WeakImplHelper2< ::com::sun::star::lang::XServic
         /** @short  does nothing real ...
 
             @descr  But it should exists as virtual function,
-                    so this class cant make trouble
+                    so this class can't make trouble
                     related to inline/symbols etcpp.!
          */
         virtual ~ShellJob();
diff --git a/framework/inc/services/desktop.hxx b/framework/inc/services/desktop.hxx
index 265b135..ab7ff93 100644
--- a/framework/inc/services/desktop.hxx
+++ b/framework/inc/services/desktop.hxx
@@ -428,7 +428,7 @@ class Desktop : private cppu::BaseMutex,
         css::uno::Reference< css::frame::XTerminateListener > m_xQuickLauncher;
 
         /** special terminate listener which loads images asynchronous for current open documents.
-          * Because internally it uses blocking system APIs ... it cant be guaranteed that
+          * Because internally it uses blocking system APIs ... it can't be guaranteed that
           * running jobs can be cancelled successfully if the corressponding document will be closed ...
           * it will not hinder those documents on closing. Instead it let all jobs running ...
           * but at least on terminate we have to wait for all those blocked requests.
@@ -441,7 +441,7 @@ class Desktop : private cppu::BaseMutex,
           * only ... it does not really shutdown the whole application.
           *
           * Btw: That wouldnt be possible by design ... because Desktop.terminate()
-          * has to return a boolean value about success ... it cant really shutdown the
+          * has to return a boolean value about success ... it can't really shutdown the
           * process .-)
           *
           * So we uses a trick: A special listener (exactly these one here) listen for notifyTermination()
diff --git a/framework/qa/complex/dispatches/checkdispatchapi.java b/framework/qa/complex/dispatches/checkdispatchapi.java
index e4c98c8..c464980 100644
--- a/framework/qa/complex/dispatches/checkdispatchapi.java
+++ b/framework/qa/complex/dispatches/checkdispatchapi.java
@@ -253,7 +253,7 @@ public class checkdispatchapi
     public void checkInterceptorLifeTime()
     {
         // Note: It's important for the following test, that aInterceptor will be hold alive by the uno reference
-        // xInterceptor. Otherwhise we cant check some internal states of aInterceptor at the end of this method, because
+        // xInterceptor. Otherwhise we can't check some internal states of aInterceptor at the end of this method, because
         // it was already killed .-)
 
         Interceptor aInterceptor = new Interceptor();
diff --git a/framework/qa/complex/framework/autosave/Protocol.java b/framework/qa/complex/framework/autosave/Protocol.java
index 9ff8723..e793104 100644
--- a/framework/qa/complex/framework/autosave/Protocol.java
+++ b/framework/qa/complex/framework/autosave/Protocol.java
@@ -642,7 +642,7 @@ public class Protocol extends JComponent
             System.err.print(sAsciiLog);
         // no else - it's a bit field of possible reactions!
         // But these both conditions must be handled together.
-        // Because we cant generate different types of log contents to the same log file.
+        // Because we can't generate different types of log contents to the same log file.
         // We preferr HTML if both types are set.
         if (
             ((m_nMode & MODE_HTML ) == MODE_HTML ) ||
diff --git a/framework/source/accelerators/acceleratorconfiguration.cxx b/framework/source/accelerators/acceleratorconfiguration.cxx
index 366e605..5c138c8 100644
--- a/framework/source/accelerators/acceleratorconfiguration.cxx
+++ b/framework/source/accelerators/acceleratorconfiguration.cxx
@@ -489,7 +489,7 @@ AcceleratorCache& XMLBasedAcceleratorConfiguration::impl_getCFG(bool bWriteAcces
     }
 
     // in case, we have a writeable cache, we use it for reading too!
-    // Otherwhise the API user cant find its own changes ...
+    // Otherwhise the API user can't find its own changes ...
     if (m_pWriteCache)
         return *m_pWriteCache;
     else
@@ -1413,7 +1413,7 @@ AcceleratorCache& XCUBasedAcceleratorConfiguration::impl_getCFG(bool bPreferred,
         }
 
         // in case, we have a writeable cache, we use it for reading too!
-        // Otherwhise the API user cant find its own changes ...
+        // Otherwhise the API user can't find its own changes ...
         if (m_pPrimaryWriteCache)
             return *m_pPrimaryWriteCache;
         else
@@ -1433,7 +1433,7 @@ AcceleratorCache& XCUBasedAcceleratorConfiguration::impl_getCFG(bool bPreferred,
         }
 
         // in case, we have a writeable cache, we use it for reading too!
-        // Otherwhise the API user cant find its own changes ...
+        // Otherwhise the API user can't find its own changes ...
         if (m_pSecondaryWriteCache)
             return *m_pSecondaryWriteCache;
         else
diff --git a/framework/source/accelerators/storageholder.cxx b/framework/source/accelerators/storageholder.cxx
index 7cd7d88..cfa0ce8 100644
--- a/framework/source/accelerators/storageholder.cxx
+++ b/framework/source/accelerators/storageholder.cxx
@@ -138,7 +138,7 @@ css::uno::Reference< css::embed::XStorage > StorageHolder::openPath(const OUStri
                     /* TODO URGENT!
                         in case we found some "already existing storages" on the path before and increased its UseCount ...
                         and now we will get an exception on creating a new sub storage ...
-                        we must decrease all UseCounts, which was touched before. Otherwise these storages cant be closed!
+                        we must decrease all UseCounts, which was touched before. Otherwise these storages can't be closed!
 
                         Idea: Using of another structure member "PossibleUseCount" as vector of unique numbers.
                         Every thread use another unique number to identify all "owned candidates".
diff --git a/framework/source/classes/taskcreator.cxx b/framework/source/classes/taskcreator.cxx
index 84b8071..b474366 100644
--- a/framework/source/classes/taskcreator.cxx
+++ b/framework/source/classes/taskcreator.cxx
@@ -81,7 +81,7 @@ css::uno::Reference< css::frame::XFrame > TaskCreator::createTask( const OUStrin
     catch(const css::uno::Exception&)
     {}
 
-    // no catch here ... without an task creator service we cant open ANY document window within the office.
+    // no catch here ... without an task creator service we can't open ANY document window within the office.
     // Thats IMHO not a good idea. Then we should accept the stacktrace showing us the real problem.
     // BTW: The used fallback creator service (IMPLEMENTATIONNAME_FWK_TASKCREATOR) is implemented in the same
     // library then these class here ... Why we should not be able to create it ?
diff --git a/framework/source/dispatch/closedispatcher.cxx b/framework/source/dispatch/closedispatcher.cxx
index 04c12a4..e1ee797 100644
--- a/framework/source/dispatch/closedispatcher.cxx
+++ b/framework/source/dispatch/closedispatcher.cxx
@@ -187,7 +187,7 @@ void SAL_CALL CloseDispatcher::dispatchWithNotification(const css::util::URL&
     }
 
     // OK - URLs are the right ones.
-    // But we cant execute synchronously :-)
+    // But we can't execute synchronously :-)
     // May we are called from a generic key-input handler,
     // which isnt aware that this call kill its own environment ...
     // Do it asynchronous everytimes!
@@ -287,9 +287,9 @@ IMPL_LINK_NOARG(CloseDispatcher, impl_asyncCallback)
     if ( ! xCloseFrame->getCreator().is())
         bCloseFrame = true;
 
-    // b) The help window cant disagree with any request.
+    // b) The help window can't disagree with any request.
     //    Because it doesn't implement a controller - it uses a window only.
-    //    Further t cant be the last open frame - if we do all other things
+    //    Further t can't be the last open frame - if we do all other things
     //    right inside this CloseDispatcher implementation.
     //    => close it!
     else if (aCheck1.m_bReferenceIsHelp)
diff --git a/framework/source/dispatch/interceptionhelper.cxx b/framework/source/dispatch/interceptionhelper.cxx
index a645249..350c479 100644
--- a/framework/source/dispatch/interceptionhelper.cxx
+++ b/framework/source/dispatch/interceptionhelper.cxx
@@ -238,7 +238,7 @@ void SAL_CALL InterceptionHelper::disposing(const css::lang::EventObject& aEvent
     css::uno::Reference< css::frame::XDispatchProvider > xThis(static_cast< ::cppu::OWeakObject* >(this), css::uno::UNO_QUERY_THROW);
 
     // We need a full copy of all currently registered interceptor objects.
-    // Otherwhise we cant iterate over this vector without the risk, that our iterator will be invalid.
+    // Otherwhise we can't iterate over this vector without the risk, that our iterator will be invalid.
     // Because this vetor will be influenced by every deregistered interceptor.
     InterceptionHelper::InterceptorList aCopy = m_lInterceptionRegs;
 
diff --git a/framework/source/inc/accelerators/presethandler.hxx b/framework/source/inc/accelerators/presethandler.hxx
index acd0cd4..bb65ec7 100644
--- a/framework/source/inc/accelerators/presethandler.hxx
+++ b/framework/source/inc/accelerators/presethandler.hxx
@@ -140,7 +140,7 @@ class PresetHandler
                     of the share and user layer. */
         ::salhelper::SingletonRef< TSharedStorages > m_aSharedStorages;
 
-        /** @short  if we run in document mode, we cant use the global root storages!
+        /** @short  if we run in document mode, we can't use the global root storages!
                     We have to use a special document storage explicitly. */
         StorageHolder m_lDocumentStorages;
 
@@ -200,7 +200,7 @@ class PresetHandler
 
             @descr  Because this class should be useable in combination
                     with ::salhelper::SingletonRef template this ctor
-                    cant have any special parameters!
+                    can't have any special parameters!
 
             @param  xContext
                     points to an uno service manager, which is used internally
diff --git a/framework/source/inc/loadenv/loadenv.hxx b/framework/source/inc/loadenv/loadenv.hxx
index 876366a..9b022cd 100644
--- a/framework/source/inc/loadenv/loadenv.hxx
+++ b/framework/source/inc/loadenv/loadenv.hxx
@@ -180,7 +180,7 @@ private:
 
     /** @short  holds the information about the finished load process.
 
-        @descr  The content of m_xTargetFrame cant be used as valid indicator,
+        @descr  The content of m_xTargetFrame can't be used as valid indicator,
                 (in case the micht existing old document was reactivated)
                 we must hold the result of the load process explicitly.
      */
@@ -205,7 +205,7 @@ public:
         @throw  Currently there is no reason to throw such exception!
 
         @throw  A RuntimeException in case any internal process indicates, that
-                the whole runtime cant be used any longer.
+                the whole runtime can't be used any longer.
      */
     LoadEnv(const css::uno::Reference< css::uno::XComponentContext >& xContext)
         throw(LoadEnvException, css::uno::RuntimeException);
@@ -271,7 +271,7 @@ public:
                 The real reason, a suitable message and ID will be given here immidiatly.
 
         @throw  A RuntimeException in case any internal process indicates, that
-                the whole runtime cant be used any longer.
+                the whole runtime can't be used any longer.
      */
     void initializeLoading(const OUString&                                           sURL            ,
                                    const css::uno::Sequence< css::beans::PropertyValue >&           lMediaDescriptor,
@@ -288,7 +288,7 @@ public:
                 a frame with a controller/model inside can be possible. For loading
                 of a "non visible component" only an information about a successfully start
                 can be provided.
-                Further it cant be guranteed, that the internal process runs synchronous.
+                Further it can't be guranteed, that the internal process runs synchronous.
                 Thats why we preferr using of specialized methods afterwards e.g. to:
                     - wait till the internal job will be finished
                       and get the results
@@ -299,7 +299,7 @@ public:
                 The reason, a suitable message and ID will be given here immidiatly.
 
         @throw  A RuntimeException in case any internal process indicates, that
-                the whole runtime cant be used any longer.
+                the whole runtime can't be used any longer.
      */
     void startLoading();
 
@@ -321,7 +321,7 @@ public:
         @throw  ... currently not used :-)
 
         @throw  A RuntimeException in case any internal process indicates, that
-                the whole runtime cant be used any longer.
+                the whole runtime can't be used any longer.
      */
     bool waitWhileLoading(sal_uInt32 nTimeout = 0);
 
@@ -386,7 +386,7 @@ public:
                 In such cases a RuntimeException would be to hard for the outside code :-)
 
         @throw  A RuntimeException in case any internal process indicates, that
-                the whole runtime cant be used any longer.
+                the whole runtime can't be used any longer.
      */
     void impl_reactForLoadingState()
         throw(LoadEnvException, css::uno::RuntimeException);
@@ -404,12 +404,12 @@ private:
         @attention  Not all types we know, are supported by filters. So it does not
                     indicates an error, if no suitable filter(loader etcpp will be found
                     for a type. But a type must be detected for the specified content.
-                    Otherwise its an error and loading cant be finished successfully.
+                    Otherwise its an error and loading can't be finished successfully.
 
         @throw  A LoadEnvException if detection failed.
 
         @throw  A RuntimeException in case any internal process indicates, that
-                the whole runtime cant be used any longer.
+                the whole runtime can't be used any longer.
      */
     void impl_detectTypeAndFilter()
         throw(LoadEnvException, css::uno::RuntimeException);
@@ -443,7 +443,7 @@ private:
         @throw  A LoadEnvException if handling failed.
 
         @throw  A RuntimeException in case any internal process indicates, that
-                the whole runtime cant be used any longer.
+                the whole runtime can't be used any longer.
      */
     bool impl_handleContent()
         throw(LoadEnvException, css::uno::RuntimeException);
@@ -462,7 +462,7 @@ private:
         @throw  A LoadEnvException if loading failed.
 
         @throw  A RuntimeException in case any internal process indicates, that
-                the whole runtime cant be used any longer.
+                the whole runtime can't be used any longer.
      */
     bool impl_loadContent()
         throw(LoadEnvException, css::uno::RuntimeException);
@@ -488,7 +488,7 @@ private:
                 In such cases a RuntimeException would be to hard for the outside code :-)
 
         @throw  A RuntimeException in case any internal process indicates, that
-                the whole runtime cant be used any longer.
+                the whole runtime can't be used any longer.
      */
     css::uno::Reference< css::frame::XFrame > impl_searchAlreadyLoaded()
         throw(LoadEnvException, css::uno::RuntimeException);
@@ -519,7 +519,7 @@ private:
                 In such cases a RuntimeException would be to hard for the outside code :-)
 
         @throw  A RuntimeException in case any internal process indicates, that
-                the whole runtime cant be used any longer.
+                the whole runtime can't be used any longer.
      */
     css::uno::Reference< css::frame::XFrame > impl_searchRecycleTarget()
         throw(LoadEnvException, css::uno::RuntimeException);
@@ -554,7 +554,7 @@ private:
 
     /** @short  checks whether a frame is already used for another load request or not.
 
-        @descr  Such frames cant be used for our "recycle feature"!
+        @descr  Such frames can't be used for our "recycle feature"!
 
         @param  xFrame
                 the frame, which should be checked.
diff --git a/framework/source/inc/loadenv/loadenvexception.hxx b/framework/source/inc/loadenv/loadenvexception.hxx
index 0dea950..3dae225 100644
--- a/framework/source/inc/loadenv/loadenvexception.hxx
+++ b/framework/source/inc/loadenv/loadenvexception.hxx
@@ -78,11 +78,11 @@ class LoadEnvException
             ID_COULD_NOT_REACTIVATE_CONTROLLER,
 
             /** @short  indicates an already running load operation. Of yourse the same
-                        instance cant be used for multiple load requests at the same time.
+                        instance can't be used for multiple load requests at the same time.
              */
             ID_STILL_RUNNING,
 
-            /** @short  sometiems we cant specify the reason for an error, because we
+            /** @short  sometiems we can't specify the reason for an error, because we
                         was interrupted by an called code in an unexpected way ...
              */
             ID_GENERAL_ERROR
diff --git a/framework/source/jobs/helponstartup.cxx b/framework/source/jobs/helponstartup.cxx
index a09acbe..897067d 100644
--- a/framework/source/jobs/helponstartup.cxx
+++ b/framework/source/jobs/helponstartup.cxx
@@ -169,7 +169,7 @@ OUString HelpOnStartup::its_getModuleIdFromEnv(const css::uno::Sequence< css::be
 
     // check for right environment.
     // If its not a DocumentEvent, which triggered this job,
-    // we cant work correctly! => return immediately and do nothing
+    // we can't work correctly! => return immediately and do nothing
     OUString sEnvType = lEnvironment.getUnpackedValueOrDefault("EnvType", OUString());
     if (sEnvType != "DOCUMENTEVENT")
         return OUString();
diff --git a/framework/source/jobs/shelljob.cxx b/framework/source/jobs/shelljob.cxx
index d9a2fb5..16741ac 100644
--- a/framework/source/jobs/shelljob.cxx
+++ b/framework/source/jobs/shelljob.cxx
@@ -95,7 +95,7 @@ css::uno::Any SAL_CALL ShellJob::execute(const css::uno::Sequence< css::beans::N
     OUString sRealCommand = impl_substituteCommandVariables(sCommand);
 
     // Command is required as minimum.
-    // If it does not exists ... we cant do our job.
+    // If it does not exists ... we can't do our job.
     // Deactivate such miss configured job silently .-)
     if (sRealCommand.isEmpty())
         return ShellJob::impl_generateAnswer4Deactivation();
diff --git a/framework/source/services/autorecovery.cxx b/framework/source/services/autorecovery.cxx
index c43af54..d058938 100644
--- a/framework/source/services/autorecovery.cxx
+++ b/framework/source/services/autorecovery.cxx
@@ -411,9 +411,9 @@ private:
     ListenerHash m_lListener;
 
     /** @descr  This member is used to prevent us against re-entrance problems.
-                A mutex cant help to prevent us from concurrent using of members
+                A mutex can't help to prevent us from concurrent using of members
                 inside the same thread. But e.g. our internally used stl structures
-                are not threadsafe ... and furthermore they cant be used at the same time
+                are not threadsafe ... and furthermore they can't be used at the same time
                 for iteration and add/remove requests!
                 So we have to detect such states and ... show a warning.
                 May be there will be a better solution next time ... (copying the cache temp.
@@ -912,7 +912,7 @@ private:
 
         E.g. our svtools::ConfigItems() has to be flushed explicitly .-(
 
-        Note: This method cant fail. Flushing of config entries is an
+        Note: This method can't fail. Flushing of config entries is an
               optional feature. Errors can be ignored.
      */
     void impl_flushALLConfigChanges();
@@ -998,7 +998,7 @@ private:
         On the other side removing of files from disc is an optional
         feature. If we are not able doing so ... its not a real problem.
         Ok - users disc place will be samller then ... but we should produce
-        a crash during crash save because we cant delete a temporary file only !
+        a crash during crash save because we can't delete a temporary file only !
 
         @param  sURL
                 the url of the file, which should be removed.
@@ -2584,7 +2584,7 @@ void AutoRecovery::implts_deregisterDocument(const css::uno::Reference< css::fra
     aCacheLock.unlock();
 
     // Sometimes we close documents by ourself.
-    // And these documents cant be deregistered.
+    // And these documents can't be deregistered.
     // Otherwhise we loos our configuration data ... but need it !
     // see SessionSave !
     if (aInfo.IgnoreClosing)
@@ -2979,7 +2979,7 @@ AutoRecovery::ETimerType AutoRecovery::implts_saveDocs(       bool        bAllow
         //      They can be handled normaly - means we patch the corresponding configuration entry only.
         // iii) For a SessionSave ... ignore it! There is no time to wait for this save operation.
         //      Because the WindowManager will kill the process if it doesn't react immediately.
-        //      On the other side we cant risk a concurrent save request ... because we know
+        //      On the other side we can't risk a concurrent save request ... because we know
         //      that it will produce a crash.
 
         // Attention: Because eJob is used as a flag field, you have to check for the worst case first.
@@ -3185,7 +3185,7 @@ void AutoRecovery::implts_saveOneDoc(const OUString&
 
     // try to remove the old temp file.
     // Ignore any error here. We have a new temp file, which is up to date.
-    // The only thing is: we fill the disk with temp files, if we cant remove old ones :-)
+    // The only thing is: we fill the disk with temp files, if we can't remove old ones :-)
     OUString sRemoveFile      = rInfo.OldTempURL;
     rInfo.OldTempURL = rInfo.NewTempURL;
     rInfo.NewTempURL = "";
@@ -3697,7 +3697,7 @@ void AutoRecovery::implts_prepareEmergencySave()
     // Be sure to know all open documents really .-)
     implts_verifyCacheAgainstDesktopDocumentList();
 
-    // hide all docs, so the user cant disturb our emergency save .-)
+    // hide all docs, so the user can't disturb our emergency save .-)
     implts_changeAllDocVisibility(false);
 }
 
@@ -4008,7 +4008,7 @@ void SAL_CALL AutoRecovery::getFastPropertyValue(css::uno::Any& aValue ,
 
                     bool bRecoveryData = m_lDocCache.size() > 0;
 
-                    // exists session data ... => then we cant say, that these
+                    // exists session data ... => then we can't say, that these
                     // data are valid for recovery. So we have to return sal_False then!
                     if (bSessionData)
                         bRecoveryData = false;
diff --git a/framework/source/services/desktop.cxx b/framework/source/services/desktop.cxx
index a624566..879d0d1 100644
--- a/framework/source/services/desktop.cxx
+++ b/framework/source/services/desktop.cxx
@@ -1046,7 +1046,7 @@ void SAL_CALL Desktop::disposing()
     // Following lines of code can be called outside a synchronized block ...
     // Because our transaction manager will block all new requests to this object.
     // So nobody can use us any longer.
-    // Exception: Only removing of listener will work ... and this code cant be dangerous.
+    // Exception: Only removing of listener will work ... and this code can't be dangerous.
 
     // First we has to kill all listener connections.
     // They might rely on our member and can hinder us on releasing them.
diff --git a/framework/source/services/pathsettings.cxx b/framework/source/services/pathsettings.cxx
index 0018dd3..ea75785 100644
--- a/framework/source/services/pathsettings.cxx
+++ b/framework/source/services/pathsettings.cxx
@@ -688,7 +688,7 @@ void PathSettings::impl_storePath(const PathSettings::PathInfo& aPath)
     ::comphelper::ConfigurationHelper::flush(xCfgNew);
 
     // remove the whole path from the old configuration !
-    // Otherwise we cant make sure that the diff between new and old configuration
+    // Otherwise we can't make sure that the diff between new and old configuration
     // on loading time really represent an user setting !!!
 
     // Check if the given path exists inside the old configuration.
@@ -775,7 +775,7 @@ PathSettings::EChangeOp PathSettings::impl_updatePath(const OUString& sPath
         { throw; }
     // Normal(!) exceptions can be ignored!
     // E.g. in case an addon installs a new path, which was not well known for an OOo 1.x installation
-    // we cant find a value for it inside the "old" configuration. So a NoSuchElementException
+    // we can't find a value for it inside the "old" configuration. So a NoSuchElementException
     // will be normal .-)
     catch(const css::uno::Exception&)
         {}
@@ -850,7 +850,7 @@ css::uno::Sequence< sal_Int32 > PathSettings::impl_mapPathName2IDList(const OUSt
     // The outside code must fire N events for every changed property.
     // And the knowing about packaging of variables of the structure PathInfo
     // follow these group IDs ! But if such ID isnt in the range of [0..IDGROUP_COUNT]
-    // the outside cant determine the right group ... and cant fire the right events .-)
+    // the outside can't determine the right group ... and cant fire the right events .-)
 
     css::uno::Sequence< sal_Int32 > lIDs(IDGROUP_COUNT);
     lIDs[0] = IDGROUP_OLDSTYLE;
@@ -1218,7 +1218,7 @@ void PathSettings::impl_setPathValue(      sal_Int32      nID ,
                     OUStringBuffer sMsg(256);
                     sMsg.appendAscii("The path '"    );
                     sMsg.append     (aChangePath.sPathName);
-                    sMsg.appendAscii("' is defined as SINGLE_PATH. It's sub set of internal paths cant be set.");
+                    sMsg.appendAscii("' is defined as SINGLE_PATH. It's sub set of internal paths can't be set.");
                     throw css::uno::Exception(sMsg.makeStringAndClear(),
                                               static_cast< ::cppu::OWeakObject* >(this));
                 }
@@ -1238,7 +1238,7 @@ void PathSettings::impl_setPathValue(      sal_Int32      nID ,
                     OUStringBuffer sMsg(256);
                     sMsg.appendAscii("The path '"    );
                     sMsg.append     (aChangePath.sPathName);
-                    sMsg.appendAscii("' is defined as SINGLE_PATH. It's sub set of internal paths cant be set.");
+                    sMsg.appendAscii("' is defined as SINGLE_PATH. It's sub set of internal paths can't be set.");
                     throw css::uno::Exception(sMsg.makeStringAndClear(),
                                               static_cast< ::cppu::OWeakObject* >(this));
                 }
diff --git a/include/comphelper/numberedcollection.hxx b/include/comphelper/numberedcollection.hxx
index d65b534..f37ebd0 100644
--- a/include/comphelper/numberedcollection.hxx
+++ b/include/comphelper/numberedcollection.hxx
@@ -140,7 +140,7 @@ class COMPHELPER_DLLPUBLIC NumberedCollection : private ::cppu::BaseMutex
                     of this collection. (fragmentation!) If collection is full (means there
                     is no free number) the special value INVALID_NUMBER will be returned.
 
-            @note   Those method cant be called within a multithreaded environment ..
+            @note   Those method can't be called within a multithreaded environment ..
                     Because such number wont be "reserved" for the calli of these method
                     it can happen that two calls returns the same number (reasoned by the fact that first calli
                     doesn't used the returned number already.
diff --git a/include/framework/preventduplicateinteraction.hxx b/include/framework/preventduplicateinteraction.hxx
index d027dd3..57ccb43 100644
--- a/include/framework/preventduplicateinteraction.hxx
+++ b/include/framework/preventduplicateinteraction.hxx
@@ -200,7 +200,7 @@ class FWE_DLLPUBLIC PreventDuplicateInteraction : private ThreadHelpBase2
             @descr      This method must be called immediately after a new instance of this helper was
                         created. Without such list of InteractionRules, this instances does nothing!
                         On the other side there is no possibility to remove rules.
-                        So the same instance cant be used within different transactions.
+                        So the same instance can't be used within different transactions.
                         It's a OneWay-object .-)
 
             @param      aInteractionInfo
diff --git a/include/salhelper/singletonref.hxx b/include/salhelper/singletonref.hxx
index a2bd336..a003e5e 100644
--- a/include/salhelper/singletonref.hxx
+++ b/include/salhelper/singletonref.hxx
@@ -59,7 +59,7 @@ namespace salhelper{
 
                 Note further that this singleton pattern can work only, if
                 all user of such singleton are located inside the same library!
-                Because static values cant be exported - e.g. from windows libraries.
+                Because static values can't be exported - e.g. from windows libraries.
  */
 template< class SingletonClass >
 class SingletonRef
diff --git a/include/ucbhelper/interceptedinteraction.hxx b/include/ucbhelper/interceptedinteraction.hxx
index a55458c..0d44f17 100644
--- a/include/ucbhelper/interceptedinteraction.hxx
+++ b/include/ucbhelper/interceptedinteraction.hxx
@@ -92,7 +92,7 @@ class UCBHELPER_DLLPUBLIC InterceptedInteraction : public ::cppu::WeakImplHelper
 
             /** @short  default ctor.
 
-                @descr  Such constructed object cant be used really.
+                @descr  Such constructed object can't be used really.
                         Might it will crash if its used!
                         Dont forget to initialize all(!) members ...
              */
@@ -211,7 +211,7 @@ class UCBHELPER_DLLPUBLIC InterceptedInteraction : public ::cppu::WeakImplHelper
 
             @attention  If the interface method handle() will be overwritten by
                         a derived class, the functionality behind these static list
-                        cant be used.
+                        can't be used.
 
             @param  lInterceptions
                     the list of intercepted requests.
diff --git a/include/unotools/moduleoptions.hxx b/include/unotools/moduleoptions.hxx
index a6cc8f6..75615a8 100644
--- a/include/unotools/moduleoptions.hxx
+++ b/include/unotools/moduleoptions.hxx
@@ -131,7 +131,7 @@ class UNOTOOLS_DLLPUBLIC SAL_WARN_UNUSED SvtModuleOptions : public utl::detail::
                     content (but a FrameLoader which is not bound to any application!) ... or
                     the given properties describe a stream (and we make no deep detection inside here!).
 
-            @attention  The module BASIC cant be detected here. Because it does not
+            @attention  The module BASIC can't be detected here. Because it does not
                         has an own URL schema.
 
             @param  sURL
@@ -150,7 +150,7 @@ class UNOTOOLS_DLLPUBLIC SAL_WARN_UNUSED SvtModuleOptions : public utl::detail::
             @descr  Here we try to use the list of supported service names of the given model
                     to find out the right application module.
 
-            @attention  The module BASIC cant be detected here. Because it does not
+            @attention  The module BASIC can't be detected here. Because it does not
                         support any model/ctrl/view paradigm.
 
             @param  xModel
diff --git a/offapi/com/sun/star/ui/XAcceleratorConfiguration.idl b/offapi/com/sun/star/ui/XAcceleratorConfiguration.idl
index 6524441..b8957b2 100644
--- a/offapi/com/sun/star/ui/XAcceleratorConfiguration.idl
+++ b/offapi/com/sun/star/ui/XAcceleratorConfiguration.idl
@@ -114,7 +114,7 @@ interface XAcceleratorConfiguration
         </p>
 
         <p>
-        Note: This method cant be used to remove entities from the configuration set.
+        Note: This method can't be used to remove entities from the configuration set.
         Empty parameters will result into an exception!
         Use the method removeKeyEvent() instead.
         </p>
@@ -164,7 +164,7 @@ interface XAcceleratorConfiguration
                 where the specified command is registered for.
 
         @throws ::com::sun::star::lang::IllegalArgumentException
-                if the specified command is empty. It cant be checked, if a command
+                if the specified command is empty. It can't be checked, if a command
                 is valid - because every URL schema can be used here.
 
         @throws ::com::sun::star::container::NoSuchElementException
@@ -189,11 +189,11 @@ interface XAcceleratorConfiguration
         Instead to the method getKeyEventsForCommand() the returned list contains only
         one(!) key event bound to one(!) requested command. If more then one key event
         is bound to a command - a selection is done inside this method.
-        This internal selection cant be influenced from outside.
+        This internal selection can't be influenced from outside.
         </p>
 
         @attention  Because its not defined, that any command (e.g. configured inside a menu)
-                    must have an accelerator - we cant reject the call if at least one command
+                    must have an accelerator - we can't reject the call if at least one command
                     does not occur inside this configuration set ...
                     We handle it more gracefully - and return an empty item instead of throwing
                     and exception.
@@ -208,7 +208,7 @@ interface XAcceleratorConfiguration
 
         @throws ::com::sun::star::lang::IllegalArgumentException
                 if at least one of the specified commands is empty.
-                It cant be checked, if a command is valid -
+                It can't be checked, if a command is valid -
                 because every URL schema can be used here.
      */
     sequence< any > getPreferredKeyEventsForCommandList( [in] sequence< string > lCommandList )
diff --git a/sfx2/source/doc/docfile.cxx b/sfx2/source/doc/docfile.cxx
index 40f7182..650e30a 100644
--- a/sfx2/source/doc/docfile.cxx
+++ b/sfx2/source/doc/docfile.cxx
@@ -3184,7 +3184,7 @@ bool SfxMedium::SaveVersionList_Impl( bool /*bUseXML*/ )
 
 bool SfxMedium::IsReadOnly()
 {
-    // a) ReadOnly filter cant produce read/write contents!
+    // a) ReadOnly filter can't produce read/write contents!
     bool bReadOnly = (
                     (pImp->m_pFilter                                                                         ) &&
                     ((pImp->m_pFilter->GetFilterFlags() & SFX_FILTER_OPENREADONLY) == SFX_FILTER_OPENREADONLY)
diff --git a/sfx2/source/doc/sfxbasemodel.cxx b/sfx2/source/doc/sfxbasemodel.cxx
index 00507c9..9d34b9b 100644
--- a/sfx2/source/doc/sfxbasemodel.cxx
+++ b/sfx2/source/doc/sfxbasemodel.cxx
@@ -493,7 +493,7 @@ SfxSaveGuard::~SfxSaveGuard()
     // storing at the same time. Further m_bSuicide was set to sal_True only if close(sal_True) was called.
     // So the ownership was delegated to the place where a veto exception was thrown.
     // Now we have to call close() again and delegate the ownership to the next one, which
-    // cant accept that. Close(sal_False) can't work in this case. Because then the document will may be never closed ...
+    // can't accept that. Close(sal_False) can't work in this case. Because then the document will may be never closed ...
 
     if ( m_pData->m_bSuicide )
     {
diff --git a/sfx2/source/view/frmload.cxx b/sfx2/source/view/frmload.cxx
index a65bded..5351212 100644
--- a/sfx2/source/view/frmload.cxx
+++ b/sfx2/source/view/frmload.cxx
@@ -324,7 +324,7 @@ namespace
             return false;
 
         // default must be set to true, because some return values
-        // cant be checked, but nonetheless indicate "success"!
+        // can't be checked, but nonetheless indicate "success"!
         bool bSuccess = true;
 
         // On the other side some special slots return a boolean state,
diff --git a/svx/source/dialog/docrecovery.cxx b/svx/source/dialog/docrecovery.cxx
index 44512ce..10ff3a7 100644
--- a/svx/source/dialog/docrecovery.cxx
+++ b/svx/source/dialog/docrecovery.cxx
@@ -694,7 +694,7 @@ SaveDialog::SaveDialog(Window*       pParent,
     FreeResource();
 
     // Prepare the office for the following crash save step.
-    // E.g. hide all open widows so the user cant influence our
+    // E.g. hide all open widows so the user can't influence our
     // operation .-)
     m_pCore->doEmergencySavePrepare();
 
diff --git a/sw/source/core/layout/trvlfrm.cxx b/sw/source/core/layout/trvlfrm.cxx
index d2a5856..748ef4b 100644
--- a/sw/source/core/layout/trvlfrm.cxx
+++ b/sw/source/core/layout/trvlfrm.cxx
@@ -211,7 +211,7 @@ bool SwPageFrm::GetCrsrOfst( SwPosition *pPos, Point &rPoint,
 
         //We fix the StartPoint if no Cntnt below the page 'answers' and then
         //start all over again one page before the current one.
-        //However we cant use Flys in such a case.
+        //However we can't use Flys in such a case.
         if ( SwLayoutFrm::GetCrsrOfst( &aTextPos, aPoint, pCMS ) )
         {
             bTextRet = true;
diff --git a/sw/source/core/unocore/unochart.cxx b/sw/source/core/unocore/unochart.cxx
index e6c090a..55b9c1c 100644
--- a/sw/source/core/unocore/unochart.cxx
+++ b/sw/source/core/unocore/unochart.cxx
@@ -645,12 +645,12 @@ uno::Reference< chart2::data::XDataSource > SwChartDataProvider::Impl_createData
             //Therefore we need to shift the range one row up
             SwRangeDescriptor aDesc;
             if (aRangeRepresentation.isEmpty())
-                return xRes;        // we cant handle this thus returning an empty references
+                return xRes;        // we can't handle this thus returning an empty references
             aRangeRepresentation = aRangeRepresentation.copy( 1 );    // get rid of '.' to have only the cell range left
             FillRangeDescriptor( aDesc, aRangeRepresentation );
             aDesc.Normalize();
             if (aDesc.nTop <= 0)    // no chance to shift the range one row up?
-                return xRes;        // we cant handle this thus returning an empty references
+                return xRes;        // we can't handle this thus returning an empty references
             aDesc.nTop      -= 1;
             aDesc.nBottom   -= 1;
 
@@ -691,7 +691,7 @@ uno::Reference< chart2::data::XDataSource > SwChartDataProvider::Impl_createData
     {
         SwTable* pTable = SwTable::FindTable( pTblFmt );
         if(pTable->IsTblComplex())
-            return xRes;    // we cant handle this thus returning an empty references
+            return xRes;    // we can't handle this thus returning an empty references
         else
         {
             // get a character map in the size of the table to mark
diff --git a/ucbhelper/source/client/interceptedinteraction.cxx b/ucbhelper/source/client/interceptedinteraction.cxx
index 6dd1d0a..f9d6dab 100644
--- a/ucbhelper/source/client/interceptedinteraction.cxx
+++ b/ucbhelper/source/client/interceptedinteraction.cxx
@@ -88,7 +88,7 @@ void InterceptedInteraction::impl_handleDefault(const ::com::sun::star::uno::Ref
             // Runtime error! The defined continuation could not be located
             // inside the set of available containuations of the incoming request.
             // Whats wrong - the interception list or the request?
-            OSL_FAIL("InterceptedInteraction::handle()\nCould intercept this interaction request - but cant locate the right continuation!");
+            OSL_FAIL("InterceptedInteraction::handle()\nCould intercept this interaction request - but can't locate the right continuation!");
         }
         break;
 
diff --git a/vcl/source/filter/graphicfilter2.cxx b/vcl/source/filter/graphicfilter2.cxx
index 77da7eb..192a075 100644
--- a/vcl/source/filter/graphicfilter2.cxx
+++ b/vcl/source/filter/graphicfilter2.cxx
@@ -429,7 +429,7 @@ bool GraphicDescriptor::ImpDetectPCD( SvStream& rStm, bool )
 bool GraphicDescriptor::ImpDetectPCX( SvStream& rStm, bool bExtendedInfo )
 {
     // ! Because 0x0a can be interpreted as LF too ...
-    // we cant be sure that this special sign represent a PCX file only.
+    // we can't be sure that this special sign represent a PCX file only.
     // Every Ascii file is possible here :-(
     // We must detect the whole header.
     bExtendedInfo = true;
diff --git a/xmloff/source/text/txtvfldi.cxx b/xmloff/source/text/txtvfldi.cxx
index a5d34ec..34238c0 100644
--- a/xmloff/source/text/txtvfldi.cxx
+++ b/xmloff/source/text/txtvfldi.cxx
@@ -992,7 +992,7 @@ bool XMLVariableDeclImportContext::FindFieldMaster(
         {
             OUString sNew;
 
-            // FIXME! cant find if name is taken already!!!!
+            // FIXME! can't find if name is taken already!!!!
 
             nCollisionCount++;
             OUStringBuffer aBuf;
@@ -1017,7 +1017,7 @@ bool XMLVariableDeclImportContext::FindFieldMaster(
             // find new name that is not taken
             OUString sNew;
 
-            // FIXME! cant find if name is taken already!!!!
+            // FIXME! can't find if name is taken already!!!!
 
             nCollisionCount++;
             OUStringBuffer aBuf;
commit 9a7fc5ee26c7b7a5ad227d628e1a1f389e3085c2
Author: Tor Lillqvist <tml at collabora.com>
Date:   Fri Apr 18 00:22:58 2014 +0300

    Typo: s/shure/sure
    
    Change-Id: I1c55d3ee8be06deb6d48a6ad5cd30d170c8b9dbb

diff --git a/filter/source/config/cache/basecontainer.hxx b/filter/source/config/cache/basecontainer.hxx
index dccb3bd..f0ca564 100644
--- a/filter/source/config/cache/basecontainer.hxx
+++ b/filter/source/config/cache/basecontainer.hxx
@@ -49,7 +49,7 @@ namespace filter{
                 should be available etc.
 
     @attention  The base class BaseLock must be the first of declared ones.
-                Otherwise we cant be shure, that our own mutex member (which is
+                Otherwise we cant be sure, that our own mutex member (which is
                 present by this base class!) was full initialized inside our own
                 ctor as first!
  */
diff --git a/filter/source/config/cache/cacheitem.hxx b/filter/source/config/cache/cacheitem.hxx
index 7657f88..427417b 100644
--- a/filter/source/config/cache/cacheitem.hxx
+++ b/filter/source/config/cache/cacheitem.hxx
@@ -140,7 +140,7 @@ class CacheItem : public ::comphelper::SequenceAsHashMap
 
         /** @short  because we know two UIName properties
                     (a list with all locales and the value
-                    for the current locale only), we must be shure
+                    for the current locale only), we must be sure
                     that the correspond together.
 
             @param  sActLocale
diff --git a/filter/source/config/cache/filtercache.cxx b/filter/source/config/cache/filtercache.cxx
index 90500b8..e49d020 100644
--- a/filter/source/config/cache/filtercache.cxx
+++ b/filter/source/config/cache/filtercache.cxx
@@ -154,7 +154,7 @@ void FilterCache::takeOver(const FilterCache& rClone)
     m_eFillState     = rClone.m_eFillState;
 
     // renew all dependencies and optimizations
-    // Because we cant be shure, that changed filters on one clone
+    // Because we cant be sure, that changed filters on one clone
     // and changed types of another clone work together.
     // But here we can check against the lates changes ...
     impl_validateAndOptimize();
@@ -1323,7 +1323,7 @@ void FilterCache::impl_resolveItem4TypeRegistration(      CacheItemList*   pList
 {
     CacheItem& rItem = (*pList)[sItem];
     // In case it's a new created entry (automaticly done by the boost::unordered_map index operator!)
-    // we must be shure, that this entry has its own name as property available.
+    // we must be sure, that this entry has its own name as property available.
     // Its needed later at our container interface!
     rItem[PROPNAME_NAME] <<= sItem;
 
diff --git a/filter/source/config/cache/filtercache.hxx b/filter/source/config/cache/filtercache.hxx
index a6b4e17..e0d4028 100644
--- a/filter/source/config/cache/filtercache.hxx
+++ b/filter/source/config/cache/filtercache.hxx
@@ -862,7 +862,7 @@ class FilterCache : public BaseLock
         /** @short  try to load the requested item on demand from the underlying configuration
                     layer.
 
-            @descr  The outside code has to be shure, that the item does not already exists
+            @descr  The outside code has to be sure, that the item does not already exists
                     inside this cachse. Otherwise it will be loaded twice. This method
                     doesn't check such constellations!
 
diff --git a/filter/source/config/cache/querytokenizer.hxx b/filter/source/config/cache/querytokenizer.hxx
index 43bd7d6..8cc11ff 100644
--- a/filter/source/config/cache/querytokenizer.hxx
+++ b/filter/source/config/cache/querytokenizer.hxx
@@ -43,7 +43,7 @@ namespace filter{
                 uses this schema.
 
     @attention  This class is not threadsafe implemented. Because its not necessary.
-                But you have to make shure, that ist not used as such :-)
+                But you have to make sure, that ist not used as such :-)
  */
 class QueryTokenizer : public ::boost::unordered_map< OUString                    ,
                                                OUString                    ,
diff --git a/framework/inc/dispatch/closedispatcher.hxx b/framework/inc/dispatch/closedispatcher.hxx
index e3b93d5..fd41340 100644
--- a/framework/inc/dispatch/closedispatcher.hxx
+++ b/framework/inc/dispatch/closedispatcher.hxx
@@ -167,7 +167,7 @@ class CloseDispatcher : public  ::cppu::WeakImplHelper2<
 
         /** @short  prepare m_xCloseFrame so it should be closeable without problems.
 
-            @descr  Thats needed to be shure, that the document cant disagree
+            @descr  Thats needed to be sure, that the document cant disagree
                     later with e.g. an office termination.
                     The problem: Closing of documents can show UI. If the user
                     ignores it and open/close other documents, we cant know
diff --git a/framework/inc/helper/statusindicatorfactory.hxx b/framework/inc/helper/statusindicatorfactory.hxx
index 4778abf..fd509d3 100644
--- a/framework/inc/helper/statusindicatorfactory.hxx
+++ b/framework/inc/helper/statusindicatorfactory.hxx
@@ -288,7 +288,7 @@ class StatusIndicatorFactory : public  ::cppu::WeakImplHelper4<
 
         /** @short  try to "share the current thread in an intelligent manner" :-)
 
-            @param  Overwrites our algorithm for Reschedule and force it to be shure
+            @param  Overwrites our algorithm for Reschedule and force it to be sure
                     that our progress was painted right.
          */
         void impl_reschedule(bool bForceUpdate);
diff --git a/framework/inc/properties.h b/framework/inc/properties.h
index 1893398..b2651b1 100644
--- a/framework/inc/properties.h
+++ b/framework/inc/properties.h
@@ -262,7 +262,7 @@ class PropHelper
     {
         bool bChanged = sal_False;
 
-        // clear return parameter to be shure, to put out only valid values ...
+        // clear return parameter to be sure, to put out only valid values ...
         aOldValue.clear();
         aChangedValue.clear();
 
diff --git a/framework/qa/complex/framework/recovery/RecoveryTest.java b/framework/qa/complex/framework/recovery/RecoveryTest.java
index 99d4dac..6f00f4f 100644
--- a/framework/qa/complex/framework/recovery/RecoveryTest.java
+++ b/framework/qa/complex/framework/recovery/RecoveryTest.java
@@ -123,7 +123,7 @@ public class RecoveryTest extends ComplexTestCase {
         msg +="-AppExecutionCommand=C:\\office\\soffice.exe --accept=socket,host=localhost,port=8101;urp;\n\n";
         msg +="Example UNIX:\n";
         msg +="-AppExecutionCommand=/office/soffice \"--accept=socket,host=localhost,port=8101;urp;\"\n\n";
-        msg+="NOTE: on UNIX be shure to have the connection string inside quotation mark!\n";
+        msg+="NOTE: on UNIX be sure to have the connection string inside quotation mark!\n";
 
         assure(msg, param.get("AppExecutionCommand") != null && ! param.get("AppExecutionCommand").equals(""));
         System.out.println("HALLO" + param.get("AppExecutionCommand"));
@@ -544,7 +544,7 @@ public class RecoveryTest extends ComplexTestCase {
         int height = rand.nextInt(maxHeight + 1);
         int width = rand.nextInt((windowMaxSize.Width-posSize.Y) + 1);
 
-        // be shure that the new size his greater then the half of windowMaxSize
+        // be sure that the new size his greater then the half of windowMaxSize
         posSize.Height = (height < (maxHeight / 2)) ? height + (maxHeight / 2) : height;
         posSize.Width =  (width < (maxWidth / 2)) ? width + (maxWidth / 2) : width;
 
diff --git a/framework/qa/complex/framework/recovery/RecoveryTools.java b/framework/qa/complex/framework/recovery/RecoveryTools.java
index 060eb8e..b178b15 100644
--- a/framework/qa/complex/framework/recovery/RecoveryTools.java
+++ b/framework/qa/complex/framework/recovery/RecoveryTools.java
@@ -235,7 +235,7 @@ public class RecoveryTools {
             multi ++;
         }
 
-        // be shure that office is closed
+        // be sure that office is closed
         if (ph != null) ph.kill();
     }
 
diff --git a/framework/source/dispatch/dispatchprovider.cxx b/framework/source/dispatch/dispatchprovider.cxx
index 6e2eb10..e793422 100644
--- a/framework/source/dispatch/dispatchprovider.cxx
+++ b/framework/source/dispatch/dispatchprovider.cxx
@@ -511,7 +511,7 @@ css::uno::Reference< css::frame::XDispatch > DispatchProvider::implts_searchProt
                 Thats why we implement this method. It return an already existing helper or create a new one otherwise.
 
     @attention  The parameter sTarget and nSearchFlags are defaulted to "" and 0!
-                Please use it only, if you can be shure, that the really given by the outside calli!
+                Please use it only, if you can be sure, that the really given by the outside calli!
                 Mostly it depends from the parameter eHelper is they are required or not.
 
     @param      eHelper
@@ -606,7 +606,7 @@ css::uno::Reference< css::frame::XDispatch > DispatchProvider::implts_getOrCreat
 /**
     @short      check URL for support by our used loader or handler
     @descr      If we must return our own dispatch helper implementations (self, blank, create dispatcher!)
-                we should be shure, that URL describe any loadable content. Otherwise slot/uno URLs
+                we should be sure, that URL describe any loadable content. Otherwise slot/uno URLs
                 will be detected ... but there exist nothing for ral loading into a target frame!
 
     @param      aURL
diff --git a/framework/source/inc/loadenv/actionlockguard.hxx b/framework/source/inc/loadenv/actionlockguard.hxx
index bbf6a01..5dbf546 100644
--- a/framework/source/inc/loadenv/actionlockguard.hxx
+++ b/framework/source/inc/loadenv/actionlockguard.hxx
@@ -27,7 +27,7 @@ namespace framework{
 /** @short  implements a guard, which can use the interface
             <type scope="com::sun::star::document">XActionLockable</type>.
 
-    @descr  This guard should be used to be shure, that any lock will be
+    @descr  This guard should be used to be sure, that any lock will be
             released. Otherwise the locaked document can hinder the office on shutdown!
 */
 class ActionLockGuard
@@ -71,7 +71,7 @@ class ActionLockGuard
             setResource(xLock);
         }
 
-        /** @short  release this guard instance and make shure, that no lock
+        /** @short  release this guard instance and make sure, that no lock
                     will exist afterwards on the internal wrapped resource.
          */
         virtual ~ActionLockGuard()
diff --git a/framework/source/jobs/job.cxx b/framework/source/jobs/job.cxx
index aabaddf..2166c54 100644
--- a/framework/source/jobs/job.cxx
+++ b/framework/source/jobs/job.cxx
@@ -481,7 +481,7 @@ void Job::impl_reactForJobResult( /*IN*/ const css::uno::Any& aResult )
             connection.
 
             Further we are listener for closing of the (possible valid)
-            given frame. We must be shure, that this resource won't be gone
+            given frame. We must be sure, that this resource won't be gone
             if our internal job is still running.
 */
 void Job::impl_startListening()
diff --git a/framework/source/services/autorecovery.cxx b/framework/source/services/autorecovery.cxx
index 2b53e6d..c43af54 100644
--- a/framework/source/services/autorecovery.cxx
+++ b/framework/source/services/autorecovery.cxx
@@ -147,7 +147,7 @@ public:
 
         @descr  If our dispatch() method was forced to start the
                 internal operation asynchronous ... we send an event
-                to start and return immediately. But we must be shure that
+                to start and return immediately. But we must be sure that
                 our instance live if the event callback reach us.
                 So we hold an uno reference to ourself.
      */
diff --git a/framework/source/services/frame.cxx b/framework/source/services/frame.cxx
index c764808..0fdb80d 100644
--- a/framework/source/services/frame.cxx
+++ b/framework/source/services/frame.cxx
@@ -2491,7 +2491,7 @@ void SAL_CALL Frame::windowClosing( const css::lang::EventObject& ) throw( css::
                              But frames without a parent are top too. So it's not possible to check isTop() here!
                              We have to look for the type of our parent.
                            - if we are a task frame, then we have to check if we are the first one.
-                             We use a static variable to do so. They will be reset to afterwards be shure
+                             We use a static variable to do so. They will be reset to afterwards be sure
                              that further calls of this method doesn't do anything then.
                            - Then we have to trigger the right event string on the global job executor.
 
diff --git a/include/svx/svdmrkv.hxx b/include/svx/svdmrkv.hxx
index 5ffde8c..84c04a6 100644
--- a/include/svx/svdmrkv.hxx
+++ b/include/svx/svdmrkv.hxx
@@ -434,7 +434,7 @@ public:
     Point GetGridOffset() const;
 
     // Will be always called, if the list of marked objects might be changed.
-    // If you overload this method (as programmer), be shure that you call the
+    // If you overload this method (as programmer), be sure that you call the
     // methods of the base class!
     virtual void MarkListHasChanged();
 
diff --git a/io/source/acceptor/acc_socket.cxx b/io/source/acceptor/acc_socket.cxx
index 0fc0578..82ec366 100644
--- a/io/source/acceptor/acc_socket.cxx
+++ b/io/source/acceptor/acc_socket.cxx
@@ -285,7 +285,7 @@ namespace io_acceptor {
             throw(::com::sun::star::io::IOException,
                   ::com::sun::star::uno::RuntimeException, std::exception)
     {
-        // enshure close is called only once
+        // ensure close is called only once
         if(  1 == osl_atomic_increment( (&m_nStatus) ) )
         {
             m_socket.shutdown();
diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/DocumentView.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/DocumentView.java
index 9e679b1..5cde458 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/DocumentView.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/DocumentView.java
@@ -212,7 +212,7 @@ public class DocumentView extends    JFrame
         if(ViewContainer.mbInplace==true)
         {
             // inplace document view can't be initialized without a visible parent window hierarchy!
-            // So make shure that we are visible in every case!
+            // So make sure that we are visible in every case!
             this.setVisible(true);
             mxFrame = FunctionHelper.createViewFrame(msName,maDocumentView);
         }
diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java
index 5bf3f2c..2eced06 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java
@@ -253,7 +253,7 @@ public class FunctionHelper
             // is returned. But normaly nobody outside the office knows this id.
             // New version of this method ignore the id parameter and creation will
             // work.
-            // Note: You must be shure if your window handle can be really used by
+            // Note: You must be sure if your window handle can be really used by
             // the remote office. Means if this java client and the remote office
             // use the same display!
             com.sun.star.awt.XSystemChildFactory xChildFactory =
diff --git a/qadevOOo/tests/java/ifc/xml/sax/_XDocumentHandler.java b/qadevOOo/tests/java/ifc/xml/sax/_XDocumentHandler.java
index 8f88f25..c7e7408 100644
--- a/qadevOOo/tests/java/ifc/xml/sax/_XDocumentHandler.java
+++ b/qadevOOo/tests/java/ifc/xml/sax/_XDocumentHandler.java
@@ -151,7 +151,7 @@ public class _XDocumentHandler extends MultiMethodTest {
 
         }else{
             log.println("object relation 'XDocumentHandler.TargetDocumentSetter' not used.");
-            log.println("be shure that the test have a target to write throu");
+            log.println("be sure that the test have a target to write throu");
         }
     }
 
diff --git a/sal/osl/unx/socket.c b/sal/osl/unx/socket.c
index 170a594..e5b1d24 100644
--- a/sal/osl/unx/socket.c
+++ b/sal/osl/unx/socket.c
@@ -2306,7 +2306,7 @@ void SAL_CALL osl_getLastSocketErrorDescription(oslSocket Socket, rtl_uString **
 
 void SAL_CALL osl_psz_getLastSocketErrorDescription(oslSocket pSocket, sal_Char* pBuffer, sal_uInt32 BufferSize)
 {
-    /* make shure pBuffer will be a zero-terminated string even when strncpy has to cut */
+    /* make sure pBuffer will be a zero-terminated string even when strncpy has to cut */
     pBuffer[BufferSize-1]= '\0';
 
     if ( pSocket == 0 )
diff --git a/unotools/source/config/configitem.cxx b/unotools/source/config/configitem.cxx
index 20c9af9..9de3a1d 100644
--- a/unotools/source/config/configitem.cxx
+++ b/unotools/source/config/configitem.cxx
@@ -348,7 +348,7 @@ Sequence< sal_Bool > ConfigItem::GetReadOnlyStates(const com::sun::star::uno::Se
     sal_Int32 nCount = rNames.getLength();
     Sequence< sal_Bool > lStates(nCount);
 
-    // We must be shure to return a valid information everytime!
+    // We must be sure to return a valid information everytime!
     // Set default to non readonly ... similar to the configuration handling of this property.
     for ( i=0; i<nCount; ++i)
         lStates[i] = sal_False;


More information about the Libreoffice-commits mailing list