summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sal/cppunittester/cppunittester.cxx2
-rw-r--r--sal/osl/all/log.cxx2
-rw-r--r--sal/osl/w32/file_url.cxx2
-rw-r--r--sal/osl/w32/security.c2
-rw-r--r--sal/qa/osl/file/osl_File_Const.h2
-rw-r--r--sal/qa/osl/pipe/osl_Pipe.cxx2
-rw-r--r--sal/textenc/tcvtjp6.tab30
-rw-r--r--sal/textenc/tcvtutf7.cxx4
-rw-r--r--sal/workben/clipboardwben/testpaste/cbptest.cxx2
-rw-r--r--sc/inc/addincol.hxx2
-rw-r--r--sc/inc/chgtrack.hxx2
-rw-r--r--sc/inc/document.hxx2
-rw-r--r--sc/inc/externalrefmgr.hxx4
-rw-r--r--sc/inc/scmatrix.hxx2
-rw-r--r--scaddins/source/datefunc/datefunc.cxx2
15 files changed, 31 insertions, 31 deletions
diff --git a/sal/cppunittester/cppunittester.cxx b/sal/cppunittester/cppunittester.cxx
index 5b7d412849f3..f505b6d34e02 100644
--- a/sal/cppunittester/cppunittester.cxx
+++ b/sal/cppunittester/cppunittester.cxx
@@ -346,7 +346,7 @@ SAL_IMPLEMENT_MAIN()
//windows
DWORD dwMode = SetErrorMode(SEM_NOGPFAULTERRORBOX);
SetErrorMode(SEM_NOGPFAULTERRORBOX|dwMode);
-#ifdef _DEBUG // These functions are present only in the debgging runtime
+#ifdef _DEBUG // These functions are present only in the debugging runtime
_CrtSetReportMode(_CRT_WARN, _CRTDBG_MODE_DEBUG|_CRTDBG_MODE_FILE);
_CrtSetReportFile(_CRT_WARN, _CRTDBG_FILE_STDERR);
_CrtSetReportMode(_CRT_ERROR, _CRTDBG_MODE_DEBUG|_CRTDBG_MODE_FILE);
diff --git a/sal/osl/all/log.cxx b/sal/osl/all/log.cxx
index 67e384cb6fcd..58e24a2d4787 100644
--- a/sal/osl/all/log.cxx
+++ b/sal/osl/all/log.cxx
@@ -125,7 +125,7 @@ bool report(sal_detail_LogLevel level, char const * area) {
switch (*p++) {
case '\0':
return senseLen[POSITIVE] >= senseLen[NEGATIVE];
- // if a specific item is both postiive and negative
+ // if a specific item is both positive and negative
// (senseLen[POSITIVE] == senseLen[NEGATIVE]), default to
// positive
case '+':
diff --git a/sal/osl/w32/file_url.cxx b/sal/osl/w32/file_url.cxx
index 1581544f203d..edb9b9a68cf6 100644
--- a/sal/osl/w32/file_url.cxx
+++ b/sal/osl/w32/file_url.cxx
@@ -959,7 +959,7 @@ oslFileError SAL_CALL osl_searchFileURL(
/* Repeat calling SearchPath ...
Start with MAX_PATH for the buffer. In most cases this
- will be enough and does not force the loop to runtwice */
+ will be enough and does not force the loop to run twice */
dwResult = MAX_PATH;
do
diff --git a/sal/osl/w32/security.c b/sal/osl/w32/security.c
index a9058fe9b580..da13ce64665c 100644
--- a/sal/osl/w32/security.c
+++ b/sal/osl/w32/security.c
@@ -246,7 +246,7 @@ sal_Bool SAL_CALL osl_isAdministrator(oslSecurity Security)
/* CheckTokenMembership() can be used on W2K and higher (NT4 no longer supported by OOo)
and also works on Vista to retrieve the effective user rights. Just checking for
membership of Administrators group is not enough on Vista this would require additional
- complicated checks as described in KB arcticle Q118626: http://support.microsoft.com/kb/118626/en-us
+ complicated checks as described in KB article Q118626: http://support.microsoft.com/kb/118626/en-us
*/
if (AllocateAndInitializeSid(&siaNtAuthority,
diff --git a/sal/qa/osl/file/osl_File_Const.h b/sal/qa/osl/file/osl_File_Const.h
index ae04a07c9cf3..ccf0e331e536 100644
--- a/sal/qa/osl/file/osl_File_Const.h
+++ b/sal/qa/osl/file/osl_File_Const.h
@@ -37,7 +37,7 @@ extern "C"
// common used string resource
// these common used string will be used as assist resource in test
// they are mostly OS independent, some of the resource can be reused
-// so, acommon test data repository will be better since it can be
+// so, a common test data repository will be better since it can be
// shared among all test code
const sal_Char pBuffer_Char[] = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
diff --git a/sal/qa/osl/pipe/osl_Pipe.cxx b/sal/qa/osl/pipe/osl_Pipe.cxx
index a91ea189fc9f..169ed3e36839 100644
--- a/sal/qa/osl/pipe/osl_Pipe.cxx
+++ b/sal/qa/osl/pipe/osl_Pipe.cxx
@@ -888,7 +888,7 @@ namespace osl_StreamPipe
thread_sleep( 1 );
myDataSourceThread.aListenPipe.close();
myDataSourceThread.join( );
- //no condition judgement here, if the case could finish excuting within 1 or 2 seconds, it passes.
+ //no condition judgement here, if the case could finish executing within 1 or 2 seconds, it passes.
}
CPPUNIT_TEST_SUITE( recv );
diff --git a/sal/textenc/tcvtjp6.tab b/sal/textenc/tcvtjp6.tab
index a5b1d1b792a0..4b260ce30b82 100644
--- a/sal/textenc/tcvtjp6.tab
+++ b/sal/textenc/tcvtjp6.tab
@@ -158,7 +158,7 @@ static ImplDBCSToUniLeadTab const aSJISUniLeadTab[256] =
{ 0x007D, 0, 0, NULL }, /* 0x7D */
{ 0x007E, 0, 0, NULL }, /* 0x7E */ /* is 0x0203E (SPACING OVERSCORE), but for compatibiliy with ascii, we use 0x7E (TILDE) like MS CP392 */
{ 0x007F, 0, 0, NULL }, /* 0x7F */
- { 0x005C, 0, 0, NULL }, /* 0x80 */ /* APPLE additons over SJIS, we convert this like apple, because I think, this gives better result, than we take a replacement char */
+ { 0x005C, 0, 0, NULL }, /* 0x80 */ /* APPLE additions over SJIS, we convert this like apple, because I think, this gives better result, than we take a replacement char */
{ 0, 0x40, 0xFC, aImplDBCSToUniTab_MS932_81 }, /* 0x81 */
{ 0, 0x4F, 0xF1, aImplDBCSToUniTab_SJIS_82 }, /* 0x82 */
{ 0, 0x40, 0xD6, aImplDBCSToUniTab_SJIS_83 }, /* 0x83 */
@@ -190,7 +190,7 @@ static ImplDBCSToUniLeadTab const aSJISUniLeadTab[256] =
{ 0, 0x40, 0xFC, aImplDBCSToUniTab_SJIS_9D }, /* 0x9D */
{ 0, 0x40, 0xFC, aImplDBCSToUniTab_SJIS_9E }, /* 0x9E */
{ 0, 0x40, 0xFC, aImplDBCSToUniTab_SJIS_9F }, /* 0x9F */
- { 0x00A0, 0, 0, NULL }, /* 0xA0 */ /* APPLE additons over SJIS, we convert this like apple, because I think, this gives better result, than we take a replacement char */
+ { 0x00A0, 0, 0, NULL }, /* 0xA0 */ /* APPLE additions over SJIS, we convert this like apple, because I think, this gives better result, than we take a replacement char */
{ 0xFF61, 0, 0, NULL }, /* 0xA1 */
{ 0xFF62, 0, 0, NULL }, /* 0xA2 */
{ 0xFF63, 0, 0, NULL }, /* 0xA3 */
@@ -283,9 +283,9 @@ static ImplDBCSToUniLeadTab const aSJISUniLeadTab[256] =
{ 0, 0x40, 0xFC, aImplDBCSToUniTab_MS932_FA }, /* 0xFA */ /* We use the MS table for better MS compatibility */
{ 0, 0x40, 0xFC, aImplDBCSToUniTab_MS932_FB }, /* 0xFB */ /* We use the MS table for better MS compatibility */
{ 0, 0x40, 0x4B, aImplDBCSToUniTab_MS932_FC }, /* 0xFC */ /* We use the MS table for better MS compatibility */
- { 0x00A9, 0, 0, NULL }, /* 0xFD */ /* APPLE additons over SJIS, we convert this like apple, because I think, this gives better result, than we take a replacement char */
- { 0x2122, 0, 0, NULL }, /* 0xFE */ /* APPLE additons over SJIS, we convert this like apple, because I think, this gives better result, than we take a replacement char */
- { 0x2026, 0, 0, NULL } /* 0xFF */ /* APPLE additons over SJIS, we convert this like apple, because I think, this gives better result, than we take a replacement char */
+ { 0x00A9, 0, 0, NULL }, /* 0xFD */ /* APPLE additions over SJIS, we convert this like apple, because I think, this gives better result, than we take a replacement char */
+ { 0x2122, 0, 0, NULL }, /* 0xFE */ /* APPLE additions over SJIS, we convert this like apple, because I think, this gives better result, than we take a replacement char */
+ { 0x2026, 0, 0, NULL } /* 0xFF */ /* APPLE additions over SJIS, we convert this like apple, because I think, this gives better result, than we take a replacement char */
};
/* ----------------------------------------------------------------------- */
@@ -730,7 +730,7 @@ static ImplDBCSToUniLeadTab const aMS932UniLeadTab[256] =
{ 0x007D, 0, 0, NULL }, /* 0x7D */
{ 0x007E, 0, 0, NULL }, /* 0x7E */ /* in SJIS this is 0x0203E (SPACING OVERSCORE), but for compatibiliy with ascii, we use 0x7E (TILDE) like MS CP392 */
{ 0x007F, 0, 0, NULL }, /* 0x7F */
- { 0x005C, 0, 0, NULL }, /* 0x80 */ /* APPLE additons over SJIS, we convert this like apple, because I think, this gives better result, than we take a replacement char */
+ { 0x005C, 0, 0, NULL }, /* 0x80 */ /* APPLE additions over SJIS, we convert this like apple, because I think, this gives better result, than we take a replacement char */
{ 0, 0x40, 0xFC, aImplDBCSToUniTab_MS932_81 }, /* 0x81 */
{ 0, 0x4F, 0xF1, aImplDBCSToUniTab_SJIS_82 }, /* 0x82 */
{ 0, 0x40, 0xD6, aImplDBCSToUniTab_SJIS_83 }, /* 0x83 */
@@ -762,7 +762,7 @@ static ImplDBCSToUniLeadTab const aMS932UniLeadTab[256] =
{ 0, 0x40, 0xFC, aImplDBCSToUniTab_SJIS_9D }, /* 0x9D */
{ 0, 0x40, 0xFC, aImplDBCSToUniTab_SJIS_9E }, /* 0x9E */
{ 0, 0x40, 0xFC, aImplDBCSToUniTab_SJIS_9F }, /* 0x9F */
- { 0x00A0, 0, 0, NULL }, /* 0xA0 */ /* APPLE additons over SJIS, we convert this like apple, because I think, this gives better result, than we take a replacement char */
+ { 0x00A0, 0, 0, NULL }, /* 0xA0 */ /* APPLE additions over SJIS, we convert this like apple, because I think, this gives better result, than we take a replacement char */
{ 0xFF61, 0, 0, NULL }, /* 0xA1 */
{ 0xFF62, 0, 0, NULL }, /* 0xA2 */
{ 0xFF63, 0, 0, NULL }, /* 0xA3 */
@@ -855,9 +855,9 @@ static ImplDBCSToUniLeadTab const aMS932UniLeadTab[256] =
{ 0, 0x40, 0xFC, aImplDBCSToUniTab_MS932_FA }, /* 0xFA */
{ 0, 0x40, 0xFC, aImplDBCSToUniTab_MS932_FB }, /* 0xFB */
{ 0, 0x40, 0x4B, aImplDBCSToUniTab_MS932_FC }, /* 0xFC */
- { 0x00A9, 0, 0, NULL }, /* 0xFD */ /* APPLE additons over SJIS, we convert this like apple, because I think, this gives better result, than we take a replacement char */
- { 0x2122, 0, 0, NULL }, /* 0xFE */ /* APPLE additons over SJIS, we convert this like apple, because I think, this gives better result, than we take a replacement char */
- { 0x2026, 0, 0, NULL } /* 0xFF */ /* APPLE additons over SJIS, we convert this like apple, because I think, this gives better result, than we take a replacement char */
+ { 0x00A9, 0, 0, NULL }, /* 0xFD */ /* APPLE additions over SJIS, we convert this like apple, because I think, this gives better result, than we take a replacement char */
+ { 0x2122, 0, 0, NULL }, /* 0xFE */ /* APPLE additions over SJIS, we convert this like apple, because I think, this gives better result, than we take a replacement char */
+ { 0x2026, 0, 0, NULL } /* 0xFF */ /* APPLE additions over SJIS, we convert this like apple, because I think, this gives better result, than we take a replacement char */
};
/* ----------------------------------------------------------------------- */
@@ -1287,7 +1287,7 @@ static ImplDBCSToUniLeadTab const aAPPLEJAPANESEUniLeadTab[256] =
{ 0x007D, 0, 0, NULL }, /* 0x7D */
{ 0x007E, 0, 0, NULL }, /* 0x7E */ /* in SJIS this is 0x0203E (SPACING OVERSCORE), but for compatibiliy with ascii, we use 0x7E (TILDE) like MS CP392 */
{ 0x007F, 0, 0, NULL }, /* 0x7F */
- { 0x005C, 0, 0, NULL }, /* 0x80 */ /* APPLE additons over SJIS */
+ { 0x005C, 0, 0, NULL }, /* 0x80 */ /* APPLE additions over SJIS */
{ 0, 0x40, 0xFC, aImplDBCSToUniTab_MS932_81 }, /* 0x81 */
{ 0, 0x4F, 0xF1, aImplDBCSToUniTab_SJIS_82 }, /* 0x82 */
{ 0, 0x40, 0xD6, aImplDBCSToUniTab_SJIS_83 }, /* 0x83 */
@@ -1319,7 +1319,7 @@ static ImplDBCSToUniLeadTab const aAPPLEJAPANESEUniLeadTab[256] =
{ 0, 0x40, 0xFC, aImplDBCSToUniTab_SJIS_9D }, /* 0x9D */
{ 0, 0x40, 0xFC, aImplDBCSToUniTab_SJIS_9E }, /* 0x9E */
{ 0, 0x40, 0xFC, aImplDBCSToUniTab_SJIS_9F }, /* 0x9F */
- { 0x00A0, 0, 0, NULL }, /* 0xA0 */ /* APPLE additons over SJIS */
+ { 0x00A0, 0, 0, NULL }, /* 0xA0 */ /* APPLE additions over SJIS */
{ 0xFF61, 0, 0, NULL }, /* 0xA1 */
{ 0xFF62, 0, 0, NULL }, /* 0xA2 */
{ 0xFF63, 0, 0, NULL }, /* 0xA3 */
@@ -1412,9 +1412,9 @@ static ImplDBCSToUniLeadTab const aAPPLEJAPANESEUniLeadTab[256] =
{ 0, 0x40, 0xFC, aImplDBCSToUniTab_MS932_FA }, /* 0xFA */ /* We use the MS table for better MS compatibility */
{ 0, 0x40, 0xFC, aImplDBCSToUniTab_MS932_FB }, /* 0xFB */ /* We use the MS table for better MS compatibility */
{ 0, 0x40, 0x4B, aImplDBCSToUniTab_MS932_FC }, /* 0xFC */ /* We use the MS table for better MS compatibility */
- { 0x00A9, 0, 0, NULL }, /* 0xFD */ /* APPLE additons over SJIS */
- { 0x2122, 0, 0, NULL }, /* 0xFE */ /* APPLE additons over SJIS */
- { 0x2026, 0, 0, NULL } /* 0xFF */ /* APPLE additons over SJIS */
+ { 0x00A9, 0, 0, NULL }, /* 0xFD */ /* APPLE additions over SJIS */
+ { 0x2122, 0, 0, NULL }, /* 0xFE */ /* APPLE additions over SJIS */
+ { 0x2026, 0, 0, NULL } /* 0xFF */ /* APPLE additions over SJIS */
};
/* ----------------------------------------------------------------------- */
diff --git a/sal/textenc/tcvtutf7.cxx b/sal/textenc/tcvtutf7.cxx
index 8d4ae60045f2..ea6a6d92b6f4 100644
--- a/sal/textenc/tcvtutf7.cxx
+++ b/sal/textenc/tcvtutf7.cxx
@@ -209,7 +209,7 @@ sal_Size ImplUTF7ToUnicode( SAL_UNUSED_PARAMETER const void*, void* pContext,
/* an alternate form of UTF-7 where SHIFT_IN is escaped */
/* by SHIFT_IN. This only works for some values of */
/* SHIFT_IN. It is so implemented, because this comes */
- /* from the officel unicode book (The Unicode Standard, */
+ /* from the official unicode book (The Unicode Standard, */
/* Version 2.0) and so I think, that someone of the */
/* world has used this feature. */
if ( !bEnd )
@@ -543,7 +543,7 @@ sal_Size ImplUnicodeToUTF7( SAL_UNUSED_PARAMETER const void*, void* pContext,
if ( !bEnd )
{
- /* Character can be directly endcoded */
+ /* Character can be directly encoded */
if ( !bNeedShift )
{
if ( pDestBuf >= pEndDestBuf )
diff --git a/sal/workben/clipboardwben/testpaste/cbptest.cxx b/sal/workben/clipboardwben/testpaste/cbptest.cxx
index 5a5faeafa88e..dfdbad1c344b 100644
--- a/sal/workben/clipboardwben/testpaste/cbptest.cxx
+++ b/sal/workben/clipboardwben/testpaste/cbptest.cxx
@@ -376,7 +376,7 @@ void PasteClipboardData(HWND hwndParent)
&hThread, //pointer to the array of objects
FALSE, //Wait for all objects?
INFINITE, //Wait How Long?
- QS_ALLINPUT //Wait for all messges
+ QS_ALLINPUT //Wait for all messages
);
//This means that the object is signaled
diff --git a/sc/inc/addincol.hxx b/sc/inc/addincol.hxx
index e090e8f177e1..e2fc56ef3046 100644
--- a/sc/inc/addincol.hxx
+++ b/sc/inc/addincol.hxx
@@ -153,7 +153,7 @@ public:
ScUnoAddInCollection();
~ScUnoAddInCollection();
- /// User enetered name. rUpperName MUST already be upper case!
+ /// User entered name. rUpperName MUST already be upper case!
OUString FindFunction( const OUString& rUpperName, bool bLocalFirst );
/** Only if bComplete is set, the function reference and argument types
diff --git a/sc/inc/chgtrack.hxx b/sc/inc/chgtrack.hxx
index cda2d93ca7c2..c876aeebfaf2 100644
--- a/sc/inc/chgtrack.hxx
+++ b/sc/inc/chgtrack.hxx
@@ -783,7 +783,7 @@ public:
{ pPrevContent = p; }
// don't use:
- // assigns string / creates forumula cell
+ // assigns string / creates formula cell
void SetOldValue( const OUString& rOld, ScDocument* pDoc );
void GetOldString( OUString& rStr, const ScDocument* pDoc ) const;
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx
index 97384ae13bd3..7c70ae6ab0f3 100644
--- a/sc/inc/document.hxx
+++ b/sc/inc/document.hxx
@@ -1168,7 +1168,7 @@ public:
SCROW& rEndRow, bool bNotes = true ) const;
void InvalidateTableArea();
- /// Return the number of colums / rows that should be visible for the tiled rendering.
+ /// Return the number of columns / rows that should be visible for the tiled rendering.
SC_DLLPUBLIC bool GetTiledRenderingArea(SCTAB nTab, SCCOL& rEndCol, SCROW& rEndRow) const;
SC_DLLPUBLIC bool GetDataStart( SCTAB nTab, SCCOL& rStartCol, SCROW& rStartRow ) const;
diff --git a/sc/inc/externalrefmgr.hxx b/sc/inc/externalrefmgr.hxx
index bb8b44cba0b5..f7e3819cf0d2 100644
--- a/sc/inc/externalrefmgr.hxx
+++ b/sc/inc/externalrefmgr.hxx
@@ -558,7 +558,7 @@ public:
* Get an array of tokens corresponding with a specified name in a
* specified file.
*
- * @param pCurPos currnet cell address where this name token is used.
+ * @param pCurPos current cell address where this name token is used.
* This is purely to keep track of all cells containing
* external names for refreshing purposes. If this is
* NULL, then the cell will not be added to the list.
@@ -575,7 +575,7 @@ public:
/**
* Takes a flat file name, and convert it to an absolute URL path. An
- * absolute URL path begines with 'file:///.
+ * absolute URL path begins with 'file:///.
*
* @param rFile file name to convert
*/
diff --git a/sc/inc/scmatrix.hxx b/sc/inc/scmatrix.hxx
index 3882390fbb67..bd28944b356d 100644
--- a/sc/inc/scmatrix.hxx
+++ b/sc/inc/scmatrix.hxx
@@ -45,7 +45,7 @@ struct CompareOptions;
/**
* Try NOT to use this struct. This struct should go away in a hopefully
- * not so distant futture.
+ * not so distant future.
*/
struct ScMatrixValue
{
diff --git a/scaddins/source/datefunc/datefunc.cxx b/scaddins/source/datefunc/datefunc.cxx
index 68683c9ae3aa..96b4d46c51cf 100644
--- a/scaddins/source/datefunc/datefunc.cxx
+++ b/scaddins/source/datefunc/datefunc.cxx
@@ -543,7 +543,7 @@ sal_Int32 GetNullDate( const uno::Reference< beans::XPropertySet >& xOptions )
* Two modes of operation are provided.
* The first is just a simple division by 7 calculation.
*
- * The second calculates the diffence by week of year.
+ * The second calculates the difference by week of year.
*
* The International Standard IS-8601 has decreed that Monday
* shall be the first day of the week.