summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2019-08-19 20:34:57 +0200
committerJulien Nabet <serval2412@yahoo.fr>2019-08-20 09:50:59 +0200
commit1618a3cee763fe9c3393e0511244547674bdd264 (patch)
tree86bbf8035fb94771ab82a30cc96d26bd3b44a220 /extensions
parentf3b3ccb8cc66aca992bb1cccf8ea29b879547701 (diff)
Fix typos
Change-Id: Iac38284daf0196d6a7f29aaa6e2103c1d76d7cc4 Reviewed-on: https://gerrit.libreoffice.org/77755 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/config/ldap/ldapuserprofilebe.hxx2
-rw-r--r--extensions/source/ole/unoconversionutilities.hxx8
-rw-r--r--extensions/test/ole/callUnoToJava.htm2
3 files changed, 6 insertions, 6 deletions
diff --git a/extensions/source/config/ldap/ldapuserprofilebe.hxx b/extensions/source/config/ldap/ldapuserprofilebe.hxx
index 235511cd2986..100a6061d615 100644
--- a/extensions/source/config/ldap/ldapuserprofilebe.hxx
+++ b/extensions/source/config/ldap/ldapuserprofilebe.hxx
@@ -48,7 +48,7 @@ struct LdapProfileMutexHolder { osl::Mutex mMutex; };
/**
Implements the PlatformBackend service, a specialization of the
XPropertySet service for retrieving LDAP user profile
- configuration settings from a LDAP repository.
+ configuration settings from an LDAP repository.
*/
class LdapUserProfileBe : private LdapProfileMutexHolder, public BackendBase
{
diff --git a/extensions/source/ole/unoconversionutilities.hxx b/extensions/source/ole/unoconversionutilities.hxx
index a9f5a5ae323e..9f3f307bd235 100644
--- a/extensions/source/ole/unoconversionutilities.hxx
+++ b/extensions/source/ole/unoconversionutilities.hxx
@@ -1111,7 +1111,7 @@ SAFEARRAY* UnoConversionUtilities<T>::createUnoSequenceWrapper(const Any& rSeq,
for( sal_Int32 i= 0; i < pCurrentSeq->nElements; i++)
{
Any unoElement( pCurrentSeq->elements + i * elementSize, rawTypeDesc );
- // The any is being converted into an VARIANT which value is then copied
+ // The any is being converted into a VARIANT which value is then copied
// to the SAFEARRAY's data block. When copying one has to follow the rules for
// copying certain types, as are VT_DISPATCH, VT_UNKNOWN, VT_VARIANT, VT_BSTR.
// To increase performance, we just do a memcpy of VARIANT::byref. This is possible
@@ -1248,7 +1248,7 @@ void UnoConversionUtilities<T>::getElementCountAndTypeOfSequence( const Any& rS
rSeq.getValueTypeDescription( &pSeqDesc);
typelib_TypeDescriptionReference* pElementDescRef= reinterpret_cast<typelib_IndirectTypeDescription*>(pSeqDesc)->pType;
- // if the elements are Sequences than do recursion
+ // if the elements are Sequences then do recursion
if( dim < seqElementCounts.getLength() )
{
uno_Sequence* pSeq = *static_cast<uno_Sequence* const*>(rSeq.getValue());
@@ -2201,7 +2201,7 @@ Sequence<Any> UnoConversionUtilities<T>::createOleArrayWrapper(SAFEARRAY* pArray
return ret;
}
-// If an VARIANT has the type VT_DISPATCH it can either be an JScript Array
+// If a VARIANT has the type VT_DISPATCH it can either be an JScript Array
// or some other object. This function finds out if it is such an array or
// not. Currently there's no way to make sure it's an array
// so we assume that when the object has a property "0" then it is an Array.
@@ -2285,7 +2285,7 @@ Sequence<Type> UnoConversionUtilities<T>::getImplementedInterfaces(IUnknown* pUn
}
if (SUCCEEDED( hr))
{
- // we exspect an array( SafeArray or IDispatch) of Strings.
+ // we expect an array( SafeArray or IDispatch) of Strings.
Any anyNames;
variantToAny( &var, anyNames, cppu::UnoType<Sequence<Any>>::get());
Sequence<Any> seqAny;
diff --git a/extensions/test/ole/callUnoToJava.htm b/extensions/test/ole/callUnoToJava.htm
index b309ee740a49..5374adbfa53d 100644
--- a/extensions/test/ole/callUnoToJava.htm
+++ b/extensions/test/ole/callUnoToJava.htm
@@ -515,7 +515,7 @@ as out parameter.<br>
<button onclick='callOleTest( 14)'>short</Button>
<button onclick='callOleTest( 15)'>long</Button>
<br>
-Other test with out parameters <br>
+Other test without parameters <br>
<button onclick='callOleTest( 30)'>outValuesMixed</Button>
<button onclick='callOleTest( 31)'>outValuesAll</Button>
<h1> in out parameter </h1>