diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2017-03-24 11:36:55 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2017-03-25 09:27:18 +0000 |
commit | 55cc79f33f8e4f95f7d56576949db1fb42bf913f (patch) | |
tree | 29db431774b4f9ab5b7281b9453d5dcabed35a83 /extensions | |
parent | ee495c299b3d70b7a7099c51c6badf35a23f9a96 (diff) |
Fix typos
Change-Id: Ic823a46019138b8bbcacd7b52b48d7d7ead2fde2
Reviewed-on: https://gerrit.libreoffice.org/35629
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/abpilot/datasourcehandling.hxx | 2 | ||||
-rw-r--r-- | extensions/source/activex/SOActiveX.cxx | 2 | ||||
-rw-r--r-- | extensions/source/config/ldap/ldapuserprofilebe.hxx | 4 | ||||
-rw-r--r-- | extensions/source/ole/oleobjw.cxx | 8 | ||||
-rw-r--r-- | extensions/source/ole/oleobjw.hxx | 2 | ||||
-rw-r--r-- | extensions/source/ole/unoconversionutilities.hxx | 2 | ||||
-rw-r--r-- | extensions/source/ole/unoobjw.cxx | 2 | ||||
-rw-r--r-- | extensions/source/propctrlr/propcontroller.cxx | 2 | ||||
-rw-r--r-- | extensions/test/ole/unoTocomCalls/XCallback_Impl/Callback.cpp | 2 |
9 files changed, 13 insertions, 13 deletions
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; |