summaryrefslogtreecommitdiff
path: root/cppuhelper/inc
diff options
context:
space:
mode:
authorLaurent Charrière <lcharriere@gmail.com>2010-10-13 22:28:41 -0700
committerMichael Meeks <michael.meeks@novell.com>2010-10-14 10:54:59 +0100
commit7b5a50e4edacdfec8ba26a2787fba5bb4753e3ca (patch)
tree1fa0954bf2e0a805a03c2a4a483f19bbb37146f9 /cppuhelper/inc
parentfee1a2b79e3478473fdbac8b2e626606e2e2128e (diff)
Fix typos in comments in ure/cppuhelper
Signed-off-by: Laurent Charrière <lcharriere@gmail.com>
Diffstat (limited to 'cppuhelper/inc')
-rw-r--r--cppuhelper/inc/cppuhelper/compbase_ex.hxx2
-rw-r--r--cppuhelper/inc/cppuhelper/implbase.hxx8
-rw-r--r--cppuhelper/inc/cppuhelper/implementationentry.hxx16
-rw-r--r--cppuhelper/inc/cppuhelper/propshlp.hxx6
-rw-r--r--cppuhelper/inc/cppuhelper/stdidlclass.hxx4
5 files changed, 18 insertions, 18 deletions
diff --git a/cppuhelper/inc/cppuhelper/compbase_ex.hxx b/cppuhelper/inc/cppuhelper/compbase_ex.hxx
index 130cd7fb5489..4ee66ddb1a83 100644
--- a/cppuhelper/inc/cppuhelper/compbase_ex.hxx
+++ b/cppuhelper/inc/cppuhelper/compbase_ex.hxx
@@ -45,7 +45,7 @@ class SAL_NO_VTABLE WeakComponentImplHelperBase
, public ::com::sun::star::lang::XComponent
{
protected:
- /** boradcast helper for disposing events
+ /** broadcast helper for disposing events
*/
::cppu::OBroadcastHelper rBHelper;
diff --git a/cppuhelper/inc/cppuhelper/implbase.hxx b/cppuhelper/inc/cppuhelper/implbase.hxx
index 1620b1d1efdb..b5fea0c05e10 100644
--- a/cppuhelper/inc/cppuhelper/implbase.hxx
+++ b/cppuhelper/inc/cppuhelper/implbase.hxx
@@ -43,7 +43,7 @@ namespace cppu
{
/** Struct used for inline template implementation helpers: type entries.
- Not for plublic use.
+ Not for public use.
@internal
*/
struct Type_Offset
@@ -56,7 +56,7 @@ struct Type_Offset
typelib_InterfaceTypeDescription * pTD;
};
/** Struct used for inline template implementation helpers: class data of implementation.
- Not for plublic use.
+ Not for public use.
@internal
*/
struct ClassDataBase
@@ -101,7 +101,7 @@ struct ClassDataBase
There will be versions of this struct with varying arType2Offset[] array sizes, each of which
is binary compatible with this one to be casted and used uniform. The size of the varying array
is set in ClassDataBase::nType2Offset (base class).
- Not for plublic use.
+ Not for public use.
@internal
*/
struct ClassData : public ClassDataBase
@@ -136,7 +136,7 @@ struct ClassData : public ClassDataBase
*/
::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes()
SAL_THROW( () );
- /** Gets the class id of implemtation supporting com.sun.star.lang.XTypeProvider
+ /** Gets the class id of implementation supporting com.sun.star.lang.XTypeProvider
@return class identifier (sequence< byte >)
*/
diff --git a/cppuhelper/inc/cppuhelper/implementationentry.hxx b/cppuhelper/inc/cppuhelper/implementationentry.hxx
index f1f20cf01391..14416eef6143 100644
--- a/cppuhelper/inc/cppuhelper/implementationentry.hxx
+++ b/cppuhelper/inc/cppuhelper/implementationentry.hxx
@@ -24,8 +24,8 @@
* for a copy of the LGPLv3 License.
*
************************************************************************/
-#ifndef _CPPUHELPER_IMPLEMENATIONENTRY_HXX_
-#define _CPPUHELPER_IMPLEMENATIONENTRY_HXX_
+#ifndef _CPPUHELPER_IMPLEMENTATIONENTRY_HXX_
+#define _CPPUHELPER_IMPLEMENTATIONENTRY_HXX_
#include <cppuhelper/factory.hxx>
@@ -36,21 +36,21 @@ namespace cppu
*/
struct ImplementationEntry
{
- /** Function, that creates an instance of the implemenation
+ /** Function that creates an instance of the implementation
*/
ComponentFactoryFunc create;
- /** Function, that returns the implemenation-name of the implemenation
+ /** Function that returns the implementation-name of the implementation
(same as XServiceInfo.getImplementationName() ).
*/
rtl::OUString ( SAL_CALL * getImplementationName )();
- /** Function, that returns all supported servicenames of the implemenation
+ /** Function that returns all supported servicenames of the implementation
( same as XServiceInfo.getSupportedServiceNames() ).
*/
com::sun::star::uno::Sequence< rtl::OUString > ( SAL_CALL * getSupportedServiceNames ) ();
- /** Function, that creates a SingleComponentFactory.
+ /** Function that creates a SingleComponentFactory.
*/
::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleComponentFactory >
( SAL_CALL * createFactory )(
@@ -59,7 +59,7 @@ struct ImplementationEntry
::com::sun::star::uno::Sequence< ::rtl::OUString > const & rServiceNames,
rtl_ModuleCount * pModCount );
- /** The shared-library module-counter of the implemenation. Maybe 0. The module-counter
+ /** The shared-library module-counter of the implementation. Maybe 0. The module-counter
is used during by the createFactory()-function.
*/
rtl_ModuleCount * moduleCounter;
@@ -78,7 +78,7 @@ struct ImplementationEntry
This is a reference to the registry key, into which the implementation
data shall be written to.
@param entries Each element of the entries-array must contains a function pointer
- table for registering an implemenation. The end of the array
+ table for registering an implementation. The end of the array
must be marked with a 0 entry in the create-function.
@return sal_True, if all implementations could be registered, otherwise sal_False.
*/
diff --git a/cppuhelper/inc/cppuhelper/propshlp.hxx b/cppuhelper/inc/cppuhelper/propshlp.hxx
index 98103e58185b..659f41edbf5f 100644
--- a/cppuhelper/inc/cppuhelper/propshlp.hxx
+++ b/cppuhelper/inc/cppuhelper/propshlp.hxx
@@ -202,7 +202,7 @@ protected:
private:
void init( sal_Bool bSorted ) SAL_THROW( () );
- /** The sequence generstet from the pProperties array. */
+ /** The sequence generated from the pProperties array. */
::com::sun::star::uno::Sequence< ::com::sun::star::beans::Property > aInfos;
/**
@@ -293,8 +293,8 @@ public:
SAL_THROW( () );
/**
- Call disposing on all object in the container that
- support XEventListener. Than clear the container.
+ Call disposing on all objects in the container that
+ support XEventListener. Then clear the container.
*/
void SAL_CALL disposeAndClear( const ::com::sun::star::lang::EventObject & rEvt ) SAL_THROW( () );
/**
diff --git a/cppuhelper/inc/cppuhelper/stdidlclass.hxx b/cppuhelper/inc/cppuhelper/stdidlclass.hxx
index f4147bb86ca3..cb5b295fed83 100644
--- a/cppuhelper/inc/cppuhelper/stdidlclass.hxx
+++ b/cppuhelper/inc/cppuhelper/stdidlclass.hxx
@@ -46,10 +46,10 @@ namespace cppu {
/**
- Standardfunction to create an XIdlClass for a component.
+ Standard function to create an XIdlClass for a component.
There is a function for each number of supported interfaces up to 10.
- Since the switch to the final component model, there are no use cases anymore, where
+ Since the switch to the final component model, there are no use cases anymore where
these functions should be used. Instead use the implementation helpers directly
(see cppuhelper/implbase1.hxx).