[Libreoffice-commits] core.git: editeng/source embeddedobj/source embeddedobj/test embedserv/source extensions/source extensions/test

Andrea Gelmini andrea.gelmini at gelma.net
Sat Mar 25 09:27:44 UTC 2017


 editeng/source/misc/hangulhanja.cxx                           |    2 +-
 editeng/source/outliner/outliner.cxx                          |    2 +-
 editeng/source/rtf/rtfitem.cxx                                |    2 +-
 editeng/source/uno/unoedhlp.cxx                               |    2 +-
 embeddedobj/source/msole/olepersist.cxx                       |    2 +-
 embeddedobj/test/Container1/EmbedContApp.java                 |    2 +-
 embedserv/source/inc/intercept.hxx                            |    2 +-
 extensions/source/abpilot/datasourcehandling.hxx              |    2 +-
 extensions/source/activex/SOActiveX.cxx                       |    2 +-
 extensions/source/config/ldap/ldapuserprofilebe.hxx           |    4 ++--
 extensions/source/ole/oleobjw.cxx                             |    8 ++++----
 extensions/source/ole/oleobjw.hxx                             |    2 +-
 extensions/source/ole/unoconversionutilities.hxx              |    2 +-
 extensions/source/ole/unoobjw.cxx                             |    2 +-
 extensions/source/propctrlr/propcontroller.cxx                |    2 +-
 extensions/test/ole/unoTocomCalls/XCallback_Impl/Callback.cpp |    2 +-
 16 files changed, 20 insertions(+), 20 deletions(-)

New commits:
commit 55cc79f33f8e4f95f7d56576949db1fb42bf913f
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
Date:   Fri Mar 24 11:36:55 2017 +0100

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

diff --git a/editeng/source/misc/hangulhanja.cxx b/editeng/source/misc/hangulhanja.cxx
index 7611fe509172..b2ee5df9b8f3 100644
--- a/editeng/source/misc/hangulhanja.cxx
+++ b/editeng/source/misc/hangulhanja.cxx
@@ -88,7 +88,7 @@ namespace editeng
                                                     // (and likely a specialised dialog) or if it is to run
                                                     // automatically without any user interaction.
                                                     // True for Hangul / Hanja conversion
-                                                    // False for Chinese simlified / traditional conversion
+                                                    // False for Chinese simplified / traditional conversion
 
         HangulHanjaConversion*  m_pAntiImpl;            // our "anti-impl" instance
 
diff --git a/editeng/source/outliner/outliner.cxx b/editeng/source/outliner/outliner.cxx
index ec6e5caa83b8..014ece747009 100644
--- a/editeng/source/outliner/outliner.cxx
+++ b/editeng/source/outliner/outliner.cxx
@@ -2102,7 +2102,7 @@ NonOverflowingText *Outliner::GetNonOverflowingText() const
         const sal_Int32 nEndPos = pEditEngine->GetTextLen(nEndPara);
 
         if (nLen == 0) {
-            // XXX: What happens inside this case might be dependent on the joining paragraps or not-thingy
+            // XXX: What happens inside this case might be dependent on the joining paragraph or not-thingy
             // Overflowing paragraph is empty or first line overflowing: it's not "Non-Overflowing" text then
             sal_Int32 nParaLen = GetText(GetParagraph(nOverflowingPara-1)).getLength();
             aOverflowingTextSelection =
diff --git a/editeng/source/rtf/rtfitem.cxx b/editeng/source/rtf/rtfitem.cxx
index 584fc1ddcbdc..7c7e6f1ab833 100644
--- a/editeng/source/rtf/rtfitem.cxx
+++ b/editeng/source/rtf/rtfitem.cxx
@@ -1866,7 +1866,7 @@ void SvxRTFParser::SetDefault( int nToken, int nValue )
             sal_uInt16 nTabCount = (SVX_TAB_DEFDIST * 13 ) / sal_uInt16(nValue);
             /*
              cmc, make sure we have at least one, or all hell breaks loose in
-             everybodies exporters, #i8247#
+             everybody exporters, #i8247#
             */
             if (nTabCount < 1)
                 nTabCount = 1;
diff --git a/editeng/source/uno/unoedhlp.cxx b/editeng/source/uno/unoedhlp.cxx
index 7d72e8c27f06..54839155d4c4 100644
--- a/editeng/source/uno/unoedhlp.cxx
+++ b/editeng/source/uno/unoedhlp.cxx
@@ -198,7 +198,7 @@ bool SvxEditSourceHelper::GetAttributeRun( sal_Int32& nStartIndex, sal_Int32& nE
                 }
             }
         }
-        //need find closest index behind nIndex in the following paragrphs
+        //need find closest index behind nIndex in the following paragraphs
         if ( aEndPos.nIndex == nCrrntParaLen )
         {
             SfxItemSet aCrrntSet = rEE.GetAttribs( nPara, nCrrntParaLen-1, nCrrntParaLen, GetAttribsFlags::CHARATTRIBS );
diff --git a/embeddedobj/source/msole/olepersist.cxx b/embeddedobj/source/msole/olepersist.cxx
index 82fb981c5afc..2c0779f288d2 100644
--- a/embeddedobj/source/msole/olepersist.cxx
+++ b/embeddedobj/source/msole/olepersist.cxx
@@ -1338,7 +1338,7 @@ void SAL_CALL OleEmbeddedObject::setPersistentEntry(
         if ( m_bFromClipboard )
         {
             // the object should be initialized from clipboard
-            // inpossibility to initialize the object means error here
+            // impossibility to initialize the object means error here
             CreateOleComponentFromClipboard_Impl();
             m_aClassID = m_pOleComponent->GetCLSID(); // was not set during consruction
             m_pOleComponent->RunObject();
diff --git a/embeddedobj/test/Container1/EmbedContApp.java b/embeddedobj/test/Container1/EmbedContApp.java
index 157296dd320d..9743a4f4cadc 100644
--- a/embeddedobj/test/Container1/EmbedContApp.java
+++ b/embeddedobj/test/Container1/EmbedContApp.java
@@ -1666,7 +1666,7 @@ public class EmbedContApp extends Applet
     {
         // TODO:
         // usage of object, storage and bitmap painter should be locked
-        // but since possibility of rasecondition is very low
+        // but since possibility of race condition is very low
         // it is not really required for testing application
 
         clearObjectAndStorage();
diff --git a/embedserv/source/inc/intercept.hxx b/embedserv/source/inc/intercept.hxx
index 5fffcafa0f59..6c8187cf8edb 100644
--- a/embedserv/source/inc/intercept.hxx
+++ b/embedserv/source/inc/intercept.hxx
@@ -54,7 +54,7 @@ public:
 
     void generateFeatureStateEvent();
 
-    // overwritten to release the statuslistner.
+    // overwritten to release the statuslistener.
 
 
     // XComponent
diff --git a/extensions/source/abpilot/datasourcehandling.hxx b/extensions/source/abpilot/datasourcehandling.hxx
index 928bbe00fb1c..7cde550a6e0b 100644
--- a/extensions/source/abpilot/datasourcehandling.hxx
+++ b/extensions/source/abpilot/datasourcehandling.hxx
@@ -160,7 +160,7 @@ namespace abp
 
 
         /** retrieves the tables names from the connection
-            <p>to be called when <method>isConnection</method> returns <TRUE/> only</p>
+            <p>to be called when <method>isConnected</method> returns <TRUE/> only</p>
         */
         const StringBag&    getTableNames() const;
 
diff --git a/extensions/source/activex/SOActiveX.cxx b/extensions/source/activex/SOActiveX.cxx
index 2d63b08f8b61..4137d823b064 100644
--- a/extensions/source/activex/SOActiveX.cxx
+++ b/extensions/source/activex/SOActiveX.cxx
@@ -561,7 +561,7 @@ HRESULT CSOActiveX::CreateFrameOldWay( HWND hwnd, int width, int height )
     hr = GetIDispByFunc( pdispDesktop, L"getFrames", nullptr, 0, pdispChildren );
     if( !SUCCEEDED( hr ) ) return hr;
 
-    // insert new frame into desctop hierarchy
+    // insert new frame into desktop hierarchy
     CComVariant aDispFrame( mpDispFrame );
     hr = ExecuteFunc( pdispChildren, L"append", &aDispFrame, 1, &dummyResult );
     if( !SUCCEEDED( hr ) ) return hr;
diff --git a/extensions/source/config/ldap/ldapuserprofilebe.hxx b/extensions/source/config/ldap/ldapuserprofilebe.hxx
index 89b1f034e086..74838da874cf 100644
--- a/extensions/source/config/ldap/ldapuserprofilebe.hxx
+++ b/extensions/source/config/ldap/ldapuserprofilebe.hxx
@@ -47,8 +47,8 @@ typedef cppu::WeakComponentImplHelper<css::beans::XPropertySet,
 struct LdapProfileMutexHolder { osl::Mutex mMutex; };
 /**
   Implements the PlatformBackend service, a specialization of the
-  XPropertySet service for retreiving LDAP user profile
-  configuration settings from a LDAP repsoitory.
+  XPropertySet service for retrieving LDAP user profile
+  configuration settings from a LDAP repository.
   */
 class LdapUserProfileBe : private LdapProfileMutexHolder, public BackendBase
 {
diff --git a/extensions/source/ole/oleobjw.cxx b/extensions/source/ole/oleobjw.cxx
index ccf2cb08c54b..32af29c6fe91 100644
--- a/extensions/source/ole/oleobjw.cxx
+++ b/extensions/source/ole/oleobjw.cxx
@@ -83,7 +83,7 @@ std::unordered_map<sal_uIntPtr, sal_uIntPtr> AdapterToWrapperMap;
 // key: XInterface of the wrapper object.
 // value: XInterface of the Interface created by the Invocation Adapter Factory.
 // A COM wrapper is responsible for removing the corresponding entry
-// in AdapterToWrappperMap if it is being destroyed. Because the wrapper does not
+// in AdapterToWrapperMap if it is being destroyed. Because the wrapper does not
 // know about its adapted interface it uses WrapperToAdapterMap to get the
 // adapted interface which is then used to locate the entry in AdapterToWrapperMap.
 std::unordered_map<sal_uIntPtr,sal_uIntPtr> WrapperToAdapterMap;
@@ -475,7 +475,7 @@ Any SAL_CALL IUnknownWrapper_Impl::getValue( const OUString& aPropertyName )
                     OUString sTmp( reinterpret_cast<const sal_Unicode*>(LPCOLESTR(sName)));
                     if ( sTmp.startsWith("_") )
                        sTmp = sTmp.copy(1);
-                    // do we own the memory for pTypeLib, msdn doco is vague
+                    // do we own the memory for pTypeLib, msdn doc is vague
                     // I'll assume we do
                     CComPtr< ITypeLib > pTypeLib;
                     unsigned int index;
@@ -2187,7 +2187,7 @@ void IUnknownWrapper_Impl::getFuncDesc(const OUString & sFuncName, FUNCDESC ** p
     cit itIndex= m_mapComFunc.find(sFuncName);
     if (itIndex == m_mapComFunc.end())
     {
-        //try case insensive with IDispatch::GetIDsOfNames
+        //try case insensitive with IDispatch::GetIDsOfNames
         DISPID id;
         if (getDispid(sFuncName, &id))
         {
@@ -2255,7 +2255,7 @@ void IUnknownWrapper_Impl::getPropDesc(const OUString & sFuncName, FUNCDESC ** p
     pair<cit, cit> p = m_mapComFunc.equal_range(sFuncName);
     if (p.first == m_mapComFunc.end())
     {
-        //try case insensive with IDispatch::GetIDsOfNames
+        //try case insensitive with IDispatch::GetIDsOfNames
         DISPID id;
         if (getDispid(sFuncName, &id))
         {
diff --git a/extensions/source/ole/oleobjw.hxx b/extensions/source/ole/oleobjw.hxx
index c8099a4655cb..98bf9732fbcc 100644
--- a/extensions/source/ole/oleobjw.hxx
+++ b/extensions/source/ole/oleobjw.hxx
@@ -237,7 +237,7 @@ protected:
     // The map is filled by buildComTlbIndex
     // It maps Uno Function names to an index which is used in ITypeInfo::GetFuncDesc
     TLBFuncIndexMap m_mapComFunc;
-    // used for synchroizing the computation of the content for m_mapComFunc
+    // used for synchronizing the computation of the content for m_mapComFunc
     bool m_bComTlbIndexInit;
     // Keeps the ITypeInfo obtained from IDispatch::GetTypeInfo
     CComPtr< ITypeInfo > m_spTypeInfo;
diff --git a/extensions/source/ole/unoconversionutilities.hxx b/extensions/source/ole/unoconversionutilities.hxx
index 93ab6bef8baa..c2151381d2fb 100644
--- a/extensions/source/ole/unoconversionutilities.hxx
+++ b/extensions/source/ole/unoconversionutilities.hxx
@@ -354,7 +354,7 @@ void UnoConversionUtilities<T>::variantToAny( const VARIANTARG* pArg, Any& rAny,
                 // 1: JScript, VARTYPE: VT_DISPATCH
                 // 2. VBScript simple arraysVT_VARIANT|VT_BYREF the referenced VARIANT contains
                 //      a VT_ARRAY|  <type>
-                // 3. VBSrcript multi dimensional arrays: VT_ARRAY|VT_BYREF
+                // 3. VBScript multi dimensional arrays: VT_ARRAY|VT_BYREF
                 if( pArg->vt == VT_DISPATCH)
                 {
                     dispatchExObject2Sequence( pArg, rAny, ptype);
diff --git a/extensions/source/ole/unoobjw.cxx b/extensions/source/ole/unoobjw.cxx
index 63c7cf30272d..db6398364656 100644
--- a/extensions/source/ole/unoobjw.cxx
+++ b/extensions/source/ole/unoobjw.cxx
@@ -417,7 +417,7 @@ bool  InterfaceOleWrapper_Impl::getInvocationInfoForCall( DISPID id, InvocationI
         // We need the name of the property or method to get its type information.
         // The name can be identified through the param "id"
         // that is kept as value in the map m_nameToDispIdMap.
-        // Proplem: the Windows JScript engine sometimes changes small letters to capital
+        // Problem: the Windows JScript engine sometimes changes small letters to capital
         // letters as happens in xidlclass_obj.createObject( var) // in JScript.
         // IDispatch::GetIdsOfNames is then called with "CreateObject" !!!
         // m_nameToDispIdMap can contain several names for one DISPID but only one is
diff --git a/extensions/source/propctrlr/propcontroller.cxx b/extensions/source/propctrlr/propcontroller.cxx
index 100a34ffb0e1..143c7e855083 100644
--- a/extensions/source/propctrlr/propcontroller.cxx
+++ b/extensions/source/propctrlr/propcontroller.cxx
@@ -1189,7 +1189,7 @@ namespace pcr
             std::set< sal_uInt16 > aUsedPages;
 
             // when building the UI below, remember which properties are actuating,
-            // to allow for a initial actuatinPropertyChanged call
+            // to allow for a initial actuatingPropertyChanged call
             std::vector< OUString > aActuatingProperties;
             std::vector< Any > aActuatingPropertyValues;
 
diff --git a/extensions/test/ole/unoTocomCalls/XCallback_Impl/Callback.cpp b/extensions/test/ole/unoTocomCalls/XCallback_Impl/Callback.cpp
index bb8a4e4f7ead..c60a18219426 100644
--- a/extensions/test/ole/unoTocomCalls/XCallback_Impl/Callback.cpp
+++ b/extensions/test/ole/unoTocomCalls/XCallback_Impl/Callback.cpp
@@ -483,7 +483,7 @@ STDMETHODIMP CCallback::inSeqXEventListener( LPSAFEARRAY listeners, LPSAFEARRAY
     hr= SafeArrayGetLBound( listeners, 1, &lbound);
     count= ubound - lbound +1;
 
-    // We assume thate the count of EventObjects in events is the same
+    // We assume that the count of EventObjects in events is the same
     for( long i = 0; i < count; i++)
     {
         CComVariant varListener;


More information about the Libreoffice-commits mailing list