summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
Diffstat (limited to 'svl')
-rw-r--r--svl/inc/svl/inettype.hxx4
-rw-r--r--svl/inc/svl/ondemand.hxx2
-rw-r--r--svl/inc/svl/urihelper.hxx4
-rw-r--r--svl/inc/svl/zforlist.hxx4
-rw-r--r--svl/qa/complex/ConfigItems/helper/HistoryOptTest.cxx6
-rw-r--r--svl/qa/complex/ConfigItems/helper/HistoryOptTest.hxx6
-rw-r--r--svl/source/config/itemholder2.hxx2
-rw-r--r--svl/source/items/itemset.cxx2
-rw-r--r--svl/source/numbers/supservs.hxx2
-rw-r--r--svl/source/numbers/zforlist.cxx2
-rw-r--r--svl/source/numbers/zformat.cxx2
-rw-r--r--svl/source/numbers/zforscan.cxx2
12 files changed, 19 insertions, 19 deletions
diff --git a/svl/inc/svl/inettype.hxx b/svl/inc/svl/inettype.hxx
index 770c5b16c3d0..261d23d6f005 100644
--- a/svl/inc/svl/inettype.hxx
+++ b/svl/inc/svl/inettype.hxx
@@ -438,7 +438,7 @@ public:
@param rAttribute The name of the parameter. Must be a valid RFC
2045 token.
- @param rValue The value of the paramter. Must only consist of US-
+ @param rValue The value of the parameter. Must only consist of US-
ASCII characters.
@return The string representation of rMediaType with the new
@@ -456,7 +456,7 @@ public:
@param rAttribute The name of the parameter. Must be a valid RFC
2045 token.
- @param rValue The value of the paramter. Must only consist of US-
+ @param rValue The value of the parameter. Must only consist of US-
ASCII characters.
@return The string representation of rMediaType with the new
diff --git a/svl/inc/svl/ondemand.hxx b/svl/inc/svl/ondemand.hxx
index 2e4b16a75318..70145b9de8ea 100644
--- a/svl/inc/svl/ondemand.hxx
+++ b/svl/inc/svl/ondemand.hxx
@@ -37,7 +37,7 @@
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
/*
- On demand instanciation and initialization of several i18n wrappers,
+ On demand instantiation and initialization of several i18n wrappers,
helping the number formatter to not perform worse than it already does.
*/
diff --git a/svl/inc/svl/urihelper.hxx b/svl/inc/svl/urihelper.hxx
index c6be8e71185f..8658b1018b87 100644
--- a/svl/inc/svl/urihelper.hxx
+++ b/svl/inc/svl/urihelper.hxx
@@ -140,9 +140,9 @@ normalizedMakeRelative(
@param uriReference a URI reference, passed to normalizedMakeRelative
- @return if the XUriReference returnd by normalizedMakeRelative is empty,
+ @return if the XUriReference returned by normalizedMakeRelative is empty,
uriReference is returned unmodified; otherwise, the result of calling
- XUriReference::getUriReference on the XUriReference returnd by
+ XUriReference::getUriReference on the XUriReference returned by
normalizedMakeRelative is returned
@exception std::bad_alloc if an out-of-memory condition occurs
diff --git a/svl/inc/svl/zforlist.hxx b/svl/inc/svl/zforlist.hxx
index 45b30a566e2c..a244cdec5ab7 100644
--- a/svl/inc/svl/zforlist.hxx
+++ b/svl/inc/svl/zforlist.hxx
@@ -394,14 +394,14 @@ public:
sal_uInt32& FIndex,
LanguageType& rLnge);
- /// Delete an entry including the format it is refering to
+ /// Delete an entry including the format it is referring to
void DeleteEntry(sal_uInt32 nKey);
/** Create new entry of a format code string for language/country.
@return
<TRUE/> if string new and ok and inserted.
<FALSE/> if string already exists or an unresolvable parse error
- occured, in which case nCheckPos is the error position within rString.
+ occurred, in which case nCheckPos is the error position within rString.
If the error occurs at position 0 or rString is empty nCheckPos
will be 1, so an error in the string is always indicated by
nCheckPos not being zero.
diff --git a/svl/qa/complex/ConfigItems/helper/HistoryOptTest.cxx b/svl/qa/complex/ConfigItems/helper/HistoryOptTest.cxx
index 1fedbc7a4b81..4c8bf97ef0e7 100644
--- a/svl/qa/complex/ConfigItems/helper/HistoryOptTest.cxx
+++ b/svl/qa/complex/ConfigItems/helper/HistoryOptTest.cxx
@@ -93,7 +93,7 @@ void HistoryOptTest::impl_testHistory(EHistoryType eHistory ,
impl_clearList( );
impl_setSize (c);
- // a) fill list completely and check if all items could be realy created.
+ // a) fill list completely and check if all items could be really created.
// But dont check its order here! Because every new item will change that order.
for (i=0; i<c; ++i)
{
@@ -150,7 +150,7 @@ void HistoryOptTest::impl_testHistory(EHistoryType eHistory ,
// Note: impl_setSize() will make sure that 3 items exists only.
// Otherwhise it throws an exception. If we further check
// positions of three items no further items must be checked.
- // They cant exists :-)
+ // They can't exists :-)
::sal_Int32 nNewSize = 3;
impl_setSize(nNewSize);
if (
@@ -160,7 +160,7 @@ void HistoryOptTest::impl_testHistory(EHistoryType eHistory ,
)
throw css::uno::Exception(MESSAGE_WRONG_ORDER, 0);
- // finaly we should try to clean up all used structures so the same office can be used
+ // finally we should try to clean up all used structures so the same office can be used
// without problems :-)
impl_clearList();
}
diff --git a/svl/qa/complex/ConfigItems/helper/HistoryOptTest.hxx b/svl/qa/complex/ConfigItems/helper/HistoryOptTest.hxx
index 490574179bb0..541bf296a2f7 100644
--- a/svl/qa/complex/ConfigItems/helper/HistoryOptTest.hxx
+++ b/svl/qa/complex/ConfigItems/helper/HistoryOptTest.hxx
@@ -53,7 +53,7 @@ class HistoryOptTest
//---------------------------------------------------------------------
/** test every well known history list in the same way.
* Only the count of created and tested items can be defined from outside
- * e.g. usefull for stress tests.
+ * e.g. useful for stress tests.
*
* @param eHistory
* specify the history list for testing.
@@ -94,7 +94,7 @@ class HistoryOptTest
void impl_appendItem(::sal_Int32 nItem);
//---------------------------------------------------------------------
- /** check if an entry for given item id realy exists (in memory and xcu file).
+ /** check if an entry for given item id really exists (in memory and xcu file).
*
* @param nItem
* id of the item
@@ -104,7 +104,7 @@ class HistoryOptTest
::sal_Bool impl_existsItem(::sal_Int32 nItem);
//---------------------------------------------------------------------
- /** check if an entry for given item id realy exists (in memory and xcu file).
+ /** check if an entry for given item id really exists (in memory and xcu file).
* Further it checks if the requested item is placed at the also specified
* position inside history list.
*
diff --git a/svl/source/config/itemholder2.hxx b/svl/source/config/itemholder2.hxx
index 5ab71d70d896..042ba4256437 100644
--- a/svl/source/config/itemholder2.hxx
+++ b/svl/source/config/itemholder2.hxx
@@ -35,7 +35,7 @@
// namespaces
#ifdef css
-#error "Cant use css as namespace alias."
+#error "Can't use css as namespace alias."
#else
#define css ::com::sun::star
#endif
diff --git a/svl/source/items/itemset.cxx b/svl/source/items/itemset.cxx
index ddf98517dcbf..b59610087fff 100644
--- a/svl/source/items/itemset.cxx
+++ b/svl/source/items/itemset.cxx
@@ -2149,7 +2149,7 @@ inline void SfxItemSet::UpdateHashKey()
{
_aHashKey= myhash(_aItems,TotalCount()* sizeof(_aItems[0]));
- //always treat '0' as invalidate hash key, not using addtional bool data field for saving space.
+ //always treat '0' as invalidate hash key, not using additional bool data field for saving space.
if (!IsValidateHashKey() )
{
_aHashKey = 1;
diff --git a/svl/source/numbers/supservs.hxx b/svl/source/numbers/supservs.hxx
index 89cbe2be58e8..e6202b0aa55f 100644
--- a/svl/source/numbers/supservs.hxx
+++ b/svl/source/numbers/supservs.hxx
@@ -43,7 +43,7 @@ class SvNumberFormatsSupplierServiceObject
,public ::com::sun::star::lang::XInitialization
,public ::com::sun::star::io::XPersistObject
,public ::com::sun::star::lang::XServiceInfo
-{ // don't want the Set-/GetNumberFormatter to be accessable from outside
+{ // don't want the Set-/GetNumberFormatter to be accessible from outside
friend ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >
SAL_CALL SvNumberFormatsSupplierServiceObject_CreateInstance(
diff --git a/svl/source/numbers/zforlist.cxx b/svl/source/numbers/zforlist.cxx
index 683add241749..d94c3b01a949 100644
--- a/svl/source/numbers/zforlist.cxx
+++ b/svl/source/numbers/zforlist.cxx
@@ -590,7 +590,7 @@ sal_uInt32 SvNumberFormatter::GetIndexPuttingAndConverting( String & rString,
{
sal_uInt32 nOrig = GetEntryKey( rString, eSysLnge );
if (nOrig == NUMBERFORMAT_ENTRY_NOT_FOUND)
- nKey = nOrig; // none avaliable, maybe user-defined
+ nKey = nOrig; // none available, maybe user-defined
else
nKey = GetFormatForLanguageIfBuiltIn( nOrig, SvtSysLocale().GetLanguage() );
diff --git a/svl/source/numbers/zformat.cxx b/svl/source/numbers/zformat.cxx
index c5db1344e310..a45af36ae89e 100644
--- a/svl/source/numbers/zformat.cxx
+++ b/svl/source/numbers/zformat.cxx
@@ -613,7 +613,7 @@ SvNumberformat::SvNumberformat(String& rString,
bStarFlag( sal_False )
{
// If the group (AKA thousand) separator is a Non-Breaking Space (French)
- // replace all occurences by a simple space.
+ // replace all occurrences by a simple space.
// The tokens will be changed to the LocaleData separator again later on.
const sal_Unicode cNBSp = 0xA0;
const String& rThSep = GetFormatter().GetNumThousandSep();
diff --git a/svl/source/numbers/zforscan.cxx b/svl/source/numbers/zforscan.cxx
index 1ddebea4f94c..8579cc464b3b 100644
--- a/svl/source/numbers/zforscan.cxx
+++ b/svl/source/numbers/zforscan.cxx
@@ -872,7 +872,7 @@ short ImpSvNumberformatScan::Next_Symbol( const String& rStr,
{
eState = SsStop;
sSymbol += cToken;
- nRepPos = (nPos - nStart) - 1; // everytime > 0!!
+ nRepPos = (nPos - nStart) - 1; // every time > 0!!
}
break;
case SsGetBlank: