summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-05-15 10:42:04 +0300
committerTor Lillqvist <tml@iki.fi>2013-05-15 11:14:28 +0300
commitcb6d67c21f11811c5bc023b9565c1c1b1f4081fa (patch)
treeff8a4b192a2ca846d32111732563432244135910 /sal
parent1a357b7394ac7b48b72821bff1aae4706265d7a4 (diff)
Spelling "separate" (etc) correctly is hard
Diffstat (limited to 'sal')
-rw-r--r--sal/qa/helper/gcov/deprecated.txt2
-rw-r--r--sal/qa/osl/file/osl_File.cxx4
-rw-r--r--sal/qa/osl/file/osl_File_Const.h10
3 files changed, 8 insertions, 8 deletions
diff --git a/sal/qa/helper/gcov/deprecated.txt b/sal/qa/helper/gcov/deprecated.txt
index 9370ef14fd7d..a851c751b161 100644
--- a/sal/qa/helper/gcov/deprecated.txt
+++ b/sal/qa/helper/gcov/deprecated.txt
@@ -54,7 +54,7 @@
# B. untested functions:
# functions need Client/Server model and blocking mode of transmission. some of the functions
-# can not run through on testshl2 env while the same code can run successfully in normal seperate
+# can not run through on testshl2 env while the same code can run successfully in normal separate
# files.
# 1) in DatagramSocket class:
# osl_receiveFromSocket;
diff --git a/sal/qa/osl/file/osl_File.cxx b/sal/qa/osl/file/osl_File.cxx
index b84e70894589..a2e2501d1a0a 100644
--- a/sal/qa/osl/file/osl_File.cxx
+++ b/sal/qa/osl/file/osl_File.cxx
@@ -280,7 +280,7 @@ inline sal_Bool t_compareTime( TimeValue *m_aEndTime, TimeValue *m_aStartTime,
inline sal_Bool compareFileName( const ::rtl::OUString & ustr1, const ::rtl::OUString & ustr2 )
{
sal_Bool bOk;
-//on Windows, the seperatar is '\', so here change to '/', then compare
+//on Windows, the separator is '\', so here change to '/', then compare
#if defined (WNT )
::rtl::OUString ustr1new,ustr2new;
sal_Unicode reverseSlash = (sal_Unicode)'\\';
@@ -327,7 +327,7 @@ inline sal_Bool isURL( const ::rtl::OUString pathname )
return ( ( pathname.indexOf( aPreURL ) == 0 ) ? sal_True : sal_False );
}
-/** concat two part to form a URL or system path, add PATH_SEPERATOR between them if necessary, add "file:///" to beginning if necessary.
+/** concat two part to form a URL or system path, add PATH_SEPARATOR between them if necessary, add "file:///" to beginning if necessary.
*/
inline void concatURL( ::rtl::OUString & pathname1, const ::rtl::OUString & pathname2 )
{
diff --git a/sal/qa/osl/file/osl_File_Const.h b/sal/qa/osl/file/osl_File_Const.h
index c16f20f25a5a..281002bba0f3 100644
--- a/sal/qa/osl/file/osl_File_Const.h
+++ b/sal/qa/osl/file/osl_File_Const.h
@@ -54,8 +54,8 @@ const sal_Char pBuffer_Blank[] = "";
// TEST_PLATFORM for test platform initial,
// TEST_PLATFORM_ROOT for root dir in comrresponding platform,
// TEST_PLATFORM_TEMP for temp dir in comrresponding platform,
-// PATH_LIST_DELIMITER for seperator of path list in comrresponding platform,
-// PATH_SEPERATOR for seperator in URL or system path in comrresponding platform,
+// PATH_LIST_DELIMITER for separator of path list in comrresponding platform,
+// PATH_SEPARATOR for separator in URL or system path in comrresponding platform,
// PATH_MAX/MAX_PATH for max path length in comrresponding platform,
//------------------------------------------------------------------------
@@ -89,7 +89,7 @@ const sal_Char pBuffer_Blank[] = "";
# define TEST_PLATFORM_ROOT "/"
# define TEST_PLATFORM_TEMP "tmp"
# define PATH_LIST_DELIMITER ":"
-# define PATH_SEPERATOR "/"
+# define PATH_SEPARATOR "/"
#endif
#if (defined WNT ) // Windows
@@ -102,7 +102,7 @@ const sal_Char pBuffer_Blank[] = "";
# define TEST_PLATFORM_ROOT "c:/"
# define TEST_PLATFORM_TEMP "temp"
# define PATH_LIST_DELIMITER ";"
-# define PATH_SEPERATOR "/"
+# define PATH_SEPARATOR "/"
#endif
@@ -123,7 +123,7 @@ const sal_Char pBuffer_Blank[] = "";
// OS independent file definition
//------------------------------------------------------------------------
OSLTEST_DECLARE( NullURL, "" );
-OSLTEST_DECLARE( SlashURL, PATH_SEPERATOR );
+OSLTEST_DECLARE( SlashURL, PATH_SEPARATOR );
OSLTEST_DECLARE( PreURL, FILE_PREFIX );
OSLTEST_DECLARE( RootURL, FILE_PREFIX TEST_PLATFORM );