summaryrefslogtreecommitdiff
path: root/include/comphelper
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2013-12-20 11:25:37 +0100
committerAndras Timar <andras.timar@collabora.com>2013-12-20 15:55:00 +0100
commitb55259eeb549482477c57d854f3de72aff345edb (patch)
tree35e474b8458ae776a8455f4f78e73ae28c611180 /include/comphelper
parent377ec698afc98a9a098b456f4ae3c694498df6a2 (diff)
typo fixes
Change-Id: Ia5f104bfd707bcf4e159c78ca2764c861fb0b6d9
Diffstat (limited to 'include/comphelper')
-rw-r--r--include/comphelper/IdPropArrayHelper.hxx2
-rw-r--r--include/comphelper/accessibletexthelper.hxx2
-rw-r--r--include/comphelper/embeddedobjectcontainer.hxx2
-rw-r--r--include/comphelper/propagg.hxx6
-rw-r--r--include/comphelper/proparrhlp.hxx2
-rw-r--r--include/comphelper/seqstream.hxx4
-rw-r--r--include/comphelper/sequenceashashmap.hxx4
7 files changed, 11 insertions, 11 deletions
diff --git a/include/comphelper/IdPropArrayHelper.hxx b/include/comphelper/IdPropArrayHelper.hxx
index 525d40778f33..1540530a9e5b 100644
--- a/include/comphelper/IdPropArrayHelper.hxx
+++ b/include/comphelper/IdPropArrayHelper.hxx
@@ -65,7 +65,7 @@ namespace comphelper
}
/** call this in the getInfoHelper method of your derived class. The method returns the array helper of the
- class, which is created if neccessary.
+ class, which is created if necessary.
*/
::cppu::IPropertyArrayHelper* getArrayHelper(sal_Int32 nId);
diff --git a/include/comphelper/accessibletexthelper.hxx b/include/comphelper/accessibletexthelper.hxx
index 38f834e9f8d5..c307d00cf3e1 100644
--- a/include/comphelper/accessibletexthelper.hxx
+++ b/include/comphelper/accessibletexthelper.hxx
@@ -160,7 +160,7 @@ namespace comphelper
// getTextBeforeIndex
// getTextBehindIndex
//
-// The following methods must be overriden by derived classes:
+// The following methods must be overridden by derived classes:
//
// implGetText
// implGetLocale
diff --git a/include/comphelper/embeddedobjectcontainer.hxx b/include/comphelper/embeddedobjectcontainer.hxx
index 7ce0566c926c..dd1de2074014 100644
--- a/include/comphelper/embeddedobjectcontainer.hxx
+++ b/include/comphelper/embeddedobjectcontainer.hxx
@@ -169,7 +169,7 @@ public:
/** call setPersistentEntry for each embedded object in the container
*
* \param _xStorage The storeage where to store the objects.
- * \param _bClearModifedFlag If <TRUE/> then the modifed flag will be set to <FALSE/> otherwise nothing happen.
+ * \param _bClearModifedFlag If <TRUE/> then the modified flag will be set to <FALSE/> otherwise nothing happen.
* \return <FALSE/> if no error occurred, otherwise <TRUE/>.
*/
sal_Bool SetPersistentEntries(const com::sun::star::uno::Reference< com::sun::star::embed::XStorage >& _xStorage,bool _bClearModifedFlag = true);
diff --git a/include/comphelper/propagg.hxx b/include/comphelper/propagg.hxx
index 62a3d59509c5..78be2ee22151 100644
--- a/include/comphelper/propagg.hxx
+++ b/include/comphelper/propagg.hxx
@@ -68,12 +68,12 @@ namespace internal
class IPropertyInfoService
{
public:
- /** get the prefered handle for the given property
+ /** get the preferred handle for the given property
@param _rName the property name
@return the handle the property should be refered by, or -1 if there are no
preferences for the given property
*/
- virtual sal_Int32 getPreferedPropertyId(const OUString& _rName) = 0;
+ virtual sal_Int32 getPreferredPropertyId(const OUString& _rName) = 0;
protected:
~IPropertyInfoService() {}
@@ -110,7 +110,7 @@ public:
for refering the aggregate's properties from outside.
If one of the properties returned from the info service conflict with other handles
alread present (e.g. through _rProperties), the property is handled as if -1 was returned.
- If NULL (or, for a special property, a call to getPreferedPropertyId returns -1),
+ If NULL (or, for a special property, a call to getPreferredPropertyId returns -1),
the aggregate property(ies) get a new handle which they can be refered by from outside.
@param _nFirstAggregateId
if the object is about to create new handles for the aggregate properties, it uses
diff --git a/include/comphelper/proparrhlp.hxx b/include/comphelper/proparrhlp.hxx
index b957683c89a6..9928f78052fa 100644
--- a/include/comphelper/proparrhlp.hxx
+++ b/include/comphelper/proparrhlp.hxx
@@ -68,7 +68,7 @@ public:
}
/** call this in the getInfoHelper method of your derived class. The method returns the array helper of the
- class, which is created if neccessary.
+ class, which is created if necessary.
*/
::cppu::IPropertyArrayHelper* getArrayHelper();
diff --git a/include/comphelper/seqstream.hxx b/include/comphelper/seqstream.hxx
index 4c73af24d484..ecc9e9030914 100644
--- a/include/comphelper/seqstream.hxx
+++ b/include/comphelper/seqstream.hxx
@@ -97,12 +97,12 @@ protected:
public:
/** constructs the object. Everything written into the stream through the XOutputStream methods will be forwarded
- to the sequence, reallocating it if neccessary. Writing will start at offset 0 within the sequence.
+ to the sequence, reallocating it if necessary. Writing will start at offset 0 within the sequence.
@param _rSeq a reference to the sequence which will be used for output.
The caller is responsible for taking care of the lifetime of the stream
object and the sequence. If you're in doubt about this, use <code>closeOutput</code>
before destroying the sequence
- @param _nResizeFactor the factor which is used for resizing the sequence when neccessary. In every
+ @param _nResizeFactor the factor which is used for resizing the sequence when necessary. In every
resize step, the new sequence size will be calculated by multiplying the current
size with this factor, rounded off to the next multiple of 4.
@param _nMinimumResize the minmal number of bytes which is additionally allocated on resizing
diff --git a/include/comphelper/sequenceashashmap.hxx b/include/comphelper/sequenceashashmap.hxx
index e6d44a3678be..f6c5c092b78f 100644
--- a/include/comphelper/sequenceashashmap.hxx
+++ b/include/comphelper/sequenceashashmap.hxx
@@ -81,7 +81,7 @@ class COMPHELPER_DLLPUBLIC SequenceAsHashMap : public SequenceAsHashMapBase
SequenceAsHashMap(const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::NamedValue >& lSource);
//---------------------------------------
- /** @short not realy used but maybe useful :-)
+ /** @short not really used but maybe useful :-)
*/
~SequenceAsHashMap();
@@ -208,7 +208,7 @@ class COMPHELPER_DLLPUBLIC SequenceAsHashMap : public SequenceAsHashMapBase
specified default value otherwise.
@descr If a value should be extracted only in case
- the requsted property exists realy (without creating
+ the requsted property exists really (without creating
of new items as it the index operator of a
has_map does!) this method can be used.