From cb6d67c21f11811c5bc023b9565c1c1b1f4081fa Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Wed, 15 May 2013 10:42:04 +0300 Subject: Spelling "separate" (etc) correctly is hard --- sal/qa/helper/gcov/deprecated.txt | 2 +- sal/qa/osl/file/osl_File.cxx | 4 ++-- sal/qa/osl/file/osl_File_Const.h | 10 +++++----- 3 files changed, 8 insertions(+), 8 deletions(-) (limited to 'sal') 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 ); -- cgit