[Libreoffice-commits] core.git: framework/inc framework/qa framework/source

Andrea Gelmini andrea.gelmini at gelma.net
Sat Mar 25 08:50:33 UTC 2017


 framework/inc/jobs/configaccess.hxx                    |    2 +-
 framework/inc/threadhelp/gate.hxx                      |    2 +-
 framework/inc/threadhelp/transactionbase.hxx           |    2 +-
 framework/qa/complex/XTitle/CheckXTitle.java           |    2 +-
 framework/qa/complex/framework/autosave/AutoSave.java  |    2 +-
 framework/qa/complex/framework/autosave/Protocol.java  |    2 +-
 framework/source/dispatch/mailtodispatcher.cxx         |    2 +-
 framework/source/dispatch/servicehandler.cxx           |    2 +-
 framework/source/fwe/classes/addonsoptions.cxx         |    2 +-
 framework/source/fwe/helper/undomanagerhelper.cxx      |    2 +-
 framework/source/inc/accelerators/acceleratorcache.hxx |    2 +-
 framework/source/inc/accelerators/presethandler.hxx    |    2 +-
 framework/source/inc/loadenv/loadenv.hxx               |    4 ++--
 framework/source/jobs/job.cxx                          |    2 +-
 framework/source/services/autorecovery.cxx             |    2 +-
 framework/source/services/frame.cxx                    |    4 ++--
 framework/source/uielement/menubarmanager.cxx          |    2 +-
 17 files changed, 19 insertions(+), 19 deletions(-)

New commits:
commit 74d67cffec4eea0a575869513158b050e42ec983
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
Date:   Fri Mar 24 11:39:28 2017 +0100

    Fix typos
    
    Change-Id: I63ae7dbd7edf66aa5542f7d41f1bfd8ac04fc5e8
    Reviewed-on: https://gerrit.libreoffice.org/35631
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
    Tested-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/framework/inc/jobs/configaccess.hxx b/framework/inc/jobs/configaccess.hxx
index 116d563758c8..b705b910d652 100644
--- a/framework/inc/jobs/configaccess.hxx
+++ b/framework/inc/jobs/configaccess.hxx
@@ -33,7 +33,7 @@ namespace framework{
 /**
     @short  implements a simple configuration access
     @descr  Sometimes it's better to have direct config access
-            instead of using soecialize config items of the svtools
+            instead of using specialized config items of the svtools
             project. This class can wrapp such configuration access.
  */
 class FWI_DLLPUBLIC ConfigAccess final
diff --git a/framework/inc/threadhelp/gate.hxx b/framework/inc/threadhelp/gate.hxx
index b09ba7257c32..eb538501b230 100644
--- a/framework/inc/threadhelp/gate.hxx
+++ b/framework/inc/threadhelp/gate.hxx
@@ -70,7 +70,7 @@ class Gate
         Gate(const Gate&) = delete;
         /*-****************************************************************************************************
             @short      copy-assignment
-            @descr      Forbid copy assiging
+            @descr      Forbid copy assigning
         *//*-*****************************************************************************************************/
         Gate& operator=(const Gate&) = delete;
 
diff --git a/framework/inc/threadhelp/transactionbase.hxx b/framework/inc/threadhelp/transactionbase.hxx
index ada6202fa584..9d57129a5c82 100644
--- a/framework/inc/threadhelp/transactionbase.hxx
+++ b/framework/inc/threadhelp/transactionbase.hxx
@@ -25,7 +25,7 @@
 namespace framework{
 
 /*-************************************************************************************************************
-    @short          make it possible to instanciate a transacion manager as first member!
+    @short          make it possible to instanciate a transaction manager as first member!
     @descr          If you use a transaction manager as a member of your class and wish to use it earlier then other ones
                     you should have a look on this implementation. You must use it as the first base class
                     of your implementation - because base classes are initialized by his order and before your
diff --git a/framework/qa/complex/XTitle/CheckXTitle.java b/framework/qa/complex/XTitle/CheckXTitle.java
index fce575c5101a..875ccd90a93a 100644
--- a/framework/qa/complex/XTitle/CheckXTitle.java
+++ b/framework/qa/complex/XTitle/CheckXTitle.java
@@ -200,7 +200,7 @@ public class CheckXTitle
         xDisProv = null;
     }
 
-    /** @short sets frame title and checks for infinite recusion
+    /** @short sets frame title and checks for infinite recursion
 
         @descr sets frame title. then cycles through default and
                print preview. then closes the window and checks
diff --git a/framework/qa/complex/framework/autosave/AutoSave.java b/framework/qa/complex/framework/autosave/AutoSave.java
index e27724e4dfa3..c6e7549d0eb2 100644
--- a/framework/qa/complex/framework/autosave/AutoSave.java
+++ b/framework/qa/complex/framework/autosave/AutoSave.java
@@ -375,7 +375,7 @@ public class AutoSave
      *  @descr  First we simulate an UI save by dispatching the right URL
      *          to the document and at the same time we try to trigger an AutoSave
      *          from another thread. So these operations should be started at the same time.
-     *          It should not crash. The AutoSave request must be postphoned.
+     *          It should not crash. The AutoSave request must be postponed.
      */
     @Test public void checkConcurrentAutoSaveToNormalUISave()
     {
diff --git a/framework/qa/complex/framework/autosave/Protocol.java b/framework/qa/complex/framework/autosave/Protocol.java
index 82f3eb355dc8..8a5bd1a899a8 100644
--- a/framework/qa/complex/framework/autosave/Protocol.java
+++ b/framework/qa/complex/framework/autosave/Protocol.java
@@ -446,7 +446,7 @@ public class Protocol extends JComponent
 
     /**
      * ctor
-     * It creates a new instance of this class and innitialize it in the right mode.
+     * It creates a new instance of this class and initializes it in the right mode.
      *
      * @param nMode
      *          specify how the log should be generated.
diff --git a/framework/source/dispatch/mailtodispatcher.cxx b/framework/source/dispatch/mailtodispatcher.cxx
index 09d5ad384331..904b5416048e 100644
--- a/framework/source/dispatch/mailtodispatcher.cxx
+++ b/framework/source/dispatch/mailtodispatcher.cxx
@@ -185,7 +185,7 @@ bool MailToDispatcher::implts_dispatch( const css::util::URL&
     try
     {
         // start mail client
-        // Because there is no notofocation about success - we use case of
+        // Because there is no notification about success - we use case of
         // no detected exception as SUCCESS - FAILED otherwise.
         xSystemShellExecute->execute( aURL.Complete, OUString(), css::system::SystemShellExecuteFlags::URIS_ONLY );
         bSuccess = true;
diff --git a/framework/source/dispatch/servicehandler.cxx b/framework/source/dispatch/servicehandler.cxx
index 3aac8a1f1489..d1f7bd6f636a 100644
--- a/framework/source/dispatch/servicehandler.cxx
+++ b/framework/source/dispatch/servicehandler.cxx
@@ -170,7 +170,7 @@ void SAL_CALL ServiceHandler::dispatchWithNotification( const css::util::URL&
     @param      lArguments
                     list of optional arguments for this request
 
-    @return     <NULL/> if requested service couldn't be created successullfy;
+    @return     <NULL/> if requested service couldn't be created successfully;
                 a valid reference otherwise. This return value can be used to indicate,
                 if dispatch was successfully or not.
 */
diff --git a/framework/source/fwe/classes/addonsoptions.cxx b/framework/source/fwe/classes/addonsoptions.cxx
index acf4a0a7e2c3..ad82adad4784 100644
--- a/framework/source/fwe/classes/addonsoptions.cxx
+++ b/framework/source/fwe/classes/addonsoptions.cxx
@@ -1192,7 +1192,7 @@ bool AddonsOptions_Impl::ReadToolBarItem( const OUString& aToolBarItemNodeName,
     {
         if ( aURL == SEPARATOR_URL )
         {
-            // A speparator toolbar item only needs a URL
+            // A separator toolbar item only needs a URL
             aToolBarItem[ OFFSET_TOOLBARITEM_URL                ].Value <<= aURL;
             aToolBarItem[ OFFSET_TOOLBARITEM_TITLE              ].Value <<= m_aEmpty;
             aToolBarItem[ OFFSET_TOOLBARITEM_TARGET             ].Value <<= m_aEmpty;
diff --git a/framework/source/fwe/helper/undomanagerhelper.cxx b/framework/source/fwe/helper/undomanagerhelper.cxx
index b02b8aabbd37..86c707e3deb1 100644
--- a/framework/source/fwe/helper/undomanagerhelper.cxx
+++ b/framework/source/fwe/helper/undomanagerhelper.cxx
@@ -343,7 +343,7 @@ namespace framework
         const UndoManagerEvent aEvent( buildEvent( i_title ) );
 
         // TODO: this notification method here is used by UndoManagerHelper_Impl, to multiplex the notifications we
-        // receive from the IUndoManager. Those notitications are sent with a locked SolarMutex, which means
+        // receive from the IUndoManager. Those notifications are sent with a locked SolarMutex, which means
         // we're doing the multiplexing here with a locked SM, too. Which is Bad (TM).
         // Fixing this properly would require outsourcing all the notifications into an own thread - which might lead
         // to problems of its own, since clients might expect synchronous notifications.
diff --git a/framework/source/inc/accelerators/acceleratorcache.hxx b/framework/source/inc/accelerators/acceleratorcache.hxx
index c52da8462f0d..28302e849020 100644
--- a/framework/source/inc/accelerators/acceleratorcache.hxx
+++ b/framework/source/inc/accelerators/acceleratorcache.hxx
@@ -102,7 +102,7 @@ class AcceleratorCache
                     the key, which should be checked.
 
             @return [bool]
-                    sal_True if the speicfied key exists inside this container.
+                    sal_True if the specified key exists inside this container.
          */
         bool hasKey(const css::awt::KeyEvent& aKey) const;
         bool hasCommand(const OUString& sCommand) const;
diff --git a/framework/source/inc/accelerators/presethandler.hxx b/framework/source/inc/accelerators/presethandler.hxx
index 830b5dca781d..1fe4d407a78b 100644
--- a/framework/source/inc/accelerators/presethandler.hxx
+++ b/framework/source/inc/accelerators/presethandler.hxx
@@ -228,7 +228,7 @@ class PresetHandler
                     in case this configuration supports localized entries,
                     the current locale must be set.
 
-                    Localzation will be represented as directory structure
+                    Localization will be represented as directory structure
                     of provided presets. Means: you call us with a preset name "default";
                     and we use e.g. "/en-US/default.xml" internally.
 
diff --git a/framework/source/inc/loadenv/loadenv.hxx b/framework/source/inc/loadenv/loadenv.hxx
index 288da8f8a1bc..bc0b0190354d 100644
--- a/framework/source/inc/loadenv/loadenv.hxx
+++ b/framework/source/inc/loadenv/loadenv.hxx
@@ -445,7 +445,7 @@ private:
         @descr  It depends from the set target information, if such
                 search is allowed or not! So this method checks first,
                 if the target is the special one "_default".
-                If not it returns with an empty result immidatly!
+                If not it returns with an empty result immediately!
                 In case search is allowed, an existing document with the
                 same URL is searched. If it could be found, the corresponding
                 view will get the focus and this method return the corresponding frame.
@@ -454,7 +454,7 @@ private:
                 inside the document, which is related to the jumpmark.
 
         @return A valid reference to the target frame, which contains the already loaded content
-                and could be activated successfully. An empty reference oterwhise.
+                and could be activated successfully. An empty reference otherwise.
 
         @throw  A LoadEnvException only in cases, where an internal error indicates,
                 that the complete load environment seems to be not useable in general.
diff --git a/framework/source/jobs/job.cxx b/framework/source/jobs/job.cxx
index 2fbade1479b2..0f8741f8c377 100644
--- a/framework/source/jobs/job.cxx
+++ b/framework/source/jobs/job.cxx
@@ -690,7 +690,7 @@ void SAL_CALL Job::queryTermination( /*IN*/ const css::lang::EventObject& )
             Then we had not throwed a veto exception. But now we must agree with this situation and break
             all our internal processes. It's not a good idea to mark this instance as non startable any longer
             inside queryTermination() if no job was running too. Because that would disable this job and may
-            the office does not really shutdownm, because another listener has thrown the suitable exception.
+            the office does not really shutdown, because another listener has thrown the suitable exception.
 
     @param  aEvent
                 describes the broadcaster and must be the desktop instance
diff --git a/framework/source/services/autorecovery.cxx b/framework/source/services/autorecovery.cxx
index 6d1e84bac1e0..bca61b6ce747 100644
--- a/framework/source/services/autorecovery.cxx
+++ b/framework/source/services/autorecovery.cxx
@@ -2847,7 +2847,7 @@ void AutoRecovery::implts_prepareSessionShutdown()
         if implts_registerDocument() was called.
         So we have to check a second time, if this property is set ....
         Best place doing so is to check it immeditaly before saving
-        and suppressingd saving the document then.
+        and suppressing saving the document then.
         Of course removing the corresponding cache entry is not an option.
         Because it would disturb iteration over the cache !
         So we ignore such documents only ...
diff --git a/framework/source/services/frame.cxx b/framework/source/services/frame.cxx
index 2a8fc36a7fad..14b94831f120 100644
--- a/framework/source/services/frame.cxx
+++ b/framework/source/services/frame.cxx
@@ -2071,9 +2071,9 @@ void SAL_CALL Frame::disposing()
 
     SAL_INFO("fwk.frame", "[Frame] " << m_sName << " send dispose event to listener");
 
-    // First operation should be ... "stopp all listening for window events on our container window".
+    // First operation should be... "stop all listening for window events on our container window".
     // These events are superfluous but can make trouble!
-    // We will die, die and die ...
+    // We will die, die and die...
     implts_stopWindowListening();
 
     css::uno::Reference<css::frame::XLayoutManager2> layoutMgr;
diff --git a/framework/source/uielement/menubarmanager.cxx b/framework/source/uielement/menubarmanager.cxx
index 26bf92edd808..365f1c5b49d5 100644
--- a/framework/source/uielement/menubarmanager.cxx
+++ b/framework/source/uielement/menubarmanager.cxx
@@ -444,7 +444,7 @@ void SAL_CALL MenuBarManager::statusChanged( const FeatureStateEvent& Event )
 
             if ( Event.Requery )
             {
-                // Release dispatch object - will be requeried on the next activate!
+                // Release dispatch object - will be required on the next activate!
                 pMenuItemHandler->xMenuItemDispatch.clear();
             }
         }


More information about the Libreoffice-commits mailing list