diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-05-10 09:34:10 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-05-10 14:50:59 +0200 |
commit | fbc038cc4f4a12f8302ce5b3bd7d739bd66a674e (patch) | |
tree | d6cc189748e5980420cc0611b44b28ec4183ea25 /extensions/source/ole/unoconversionutilities.hxx | |
parent | 8ccffe4e7fb6abf6fa3ba9187007e9d8af116baf (diff) |
an uno -> a uno
Change-Id: I538db88f8477dd2d2ad25c372928fec6c11d979d
Reviewed-on: https://gerrit.libreoffice.org/72105
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'extensions/source/ole/unoconversionutilities.hxx')
-rw-r--r-- | extensions/source/ole/unoconversionutilities.hxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/extensions/source/ole/unoconversionutilities.hxx b/extensions/source/ole/unoconversionutilities.hxx index b987a439b70b..f211d4dbf3fa 100644 --- a/extensions/source/ole/unoconversionutilities.hxx +++ b/extensions/source/ole/unoconversionutilities.hxx @@ -71,7 +71,7 @@ extern std::unordered_map<sal_uIntPtr, WeakReference<XInterface> > ComPtrToWrapp // Maps XInterface pointers to a weak reference of its wrapper class (i.e. // InterfaceOleWrapper). It is the responsibility of the wrapper to remove the entry when -// it is being destroyed. It is used to ensure the identity of objects. That is, an UNO interface +// it is being destroyed. It is used to ensure the identity of objects. That is, a UNO interface // is mapped to IDispatch which is kept alive in the COM environment. If the same // UNO interface is mapped again to COM then the IDispach of the first mapped instance // must be returned. @@ -1609,10 +1609,10 @@ void UnoConversionUtilities<T>::variantToAny( const VARIANT* pVariant, Any& rAny } } -// The function converts an IUnknown* into an UNO interface or struct. The +// The function converts an IUnknown* into a UNO interface or struct. The // IUnknown pointer can constitute different kind of objects: -// 1. a wrapper of an UNO struct (the wrapper was created by this bridge) -// 2. a wrapper of an UNO interface (created by this bridge) +// 1. a wrapper of a UNO struct (the wrapper was created by this bridge) +// 2. a wrapper of a UNO interface (created by this bridge) // 3. a dispatch object that implements UNO interfaces // 4. a dispatch object. @@ -1629,7 +1629,7 @@ void UnoConversionUtilities<T>::variantToAny( const VARIANT* pVariant, Any& rAny // SUPPORTED_INTERFACES_PROP, then the INTERFACE_ADAPTER_FACTORY creates an object that // implements all these interfaces. // This is only done if "pUnknown" is not already a UNO wrapper, -// that is it is actually NOT an UNO object that was converted to a COM object. If it is an +// that is it is actually NOT a UNO object that was converted to a COM object. If it is an // UNO wrapper than the original UNO object is being extracted, queried for "aType" (if // it is no struct) and returned. template<class T> @@ -1695,7 +1695,7 @@ Any UnoConversionUtilities<T>::createOleObjectWrapper(VARIANT* pVar, const Type& } - // Check if "spUnknown" is a UNO wrapper, that is an UNO object that has been + // Check if "spUnknown" is a UNO wrapper, that is a UNO object that has been // passed to COM. Then it supports IUnoObjectWrapper // and we extract the original UNO object. CComQIPtr<IUnoObjectWrapper> spUno( spUnknown); |