diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2017-03-02 12:22:01 +0100 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-03 06:56:20 +0000 |
commit | 8b633f40514f9d33a22cf9b2e064d8ef3ef2c7f4 (patch) | |
tree | b43fecb42afb5ffc297d41b6069c3ac159af7d19 /sal | |
parent | 3ffc206a4b70863fc1a340c0011eb4aa82819ae1 (diff) |
Fix typos
Change-Id: Iedca07be5300c68e180e0c71d2d6eb0052f5cced
Reviewed-on: https://gerrit.libreoffice.org/34801
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sal')
-rw-r--r-- | sal/osl/unx/uunxapi.cxx | 2 | ||||
-rw-r--r-- | sal/qa/osl/file/osl_File.cxx | 10 | ||||
-rw-r--r-- | sal/textenc/tcvtjp6.tab | 12 |
3 files changed, 12 insertions, 12 deletions
diff --git a/sal/osl/unx/uunxapi.cxx b/sal/osl/unx/uunxapi.cxx index 1e9ea02fe324..3c50a10ac550 100644 --- a/sal/osl/unx/uunxapi.cxx +++ b/sal/osl/unx/uunxapi.cxx @@ -335,7 +335,7 @@ int utime_c(const char *cpPath, struct utimbuf *times) int ftruncate_with_name(int fd, sal_uInt64 uSize, rtl_String* path) { /* When sandboxed on OS X, ftruncate(), even if it takes an - * already open file descriptor which was retuned from an open() + * already open file descriptor which was returned from an open() * call already checked by the sandbox, still requires a security * scope bookmark for the file to be active in case the file is * one that the sandbox doesn't otherwise allow access to. Luckily diff --git a/sal/qa/osl/file/osl_File.cxx b/sal/qa/osl/file/osl_File.cxx index b55e49ab7178..fa97645940a8 100644 --- a/sal/qa/osl/file/osl_File.cxx +++ b/sal/qa/osl/file/osl_File.cxx @@ -2225,7 +2225,7 @@ namespace osl_File nError1 = testFile.open( osl_File_OpenFlag_Create ); bool bOK = ( File::E_ACCES == nError1 ); #ifdef _WIN32 - bOK = true; /// in Windows, you can create file in c:/ any way. + bOK = true; /// in Windows, you can create file in c:\ any way. testFile.close(); deleteTestFile( aTestFile); #endif @@ -3032,10 +3032,10 @@ namespace osl_File //copy $TEMP/tmpdir/tmpname to $ROOT/tmpname. nError1 = ::osl::File::copy( aTmpName4, aTmpName7 ); #if defined(_WIN32) - nError1 = ::osl::FileBase::E_ACCES; /// for Windows, c:/ is writtenable any way. + nError1 = ::osl::FileBase::E_ACCES; /// for Windows, c:\ is writable anyway. deleteTestFile( aTmpName7); #endif - CPPUNIT_ASSERT_EQUAL_MESSAGE( "test for copy function: copy to an illigal place", + CPPUNIT_ASSERT_EQUAL_MESSAGE( "test for copy function: copy to an illegal place", nError1, ::osl::FileBase::E_ACCES ); } @@ -3162,11 +3162,11 @@ namespace osl_File //move $TEMP/tmpdir/tmpname to $ROOT/tmpname. nError1 = ::osl::File::move( aTmpName4, aTmpName7 ); #if defined(_WIN32) - nError1 = ::osl::FileBase::E_ACCES; /// for Windows, c:/ is writtenable any way. + nError1 = ::osl::FileBase::E_ACCES; /// for Windows, c:\ is writable any way. deleteTestFile( aTmpName7); #endif - CPPUNIT_ASSERT_EQUAL_MESSAGE( "test for move function: move to an illigal place", + CPPUNIT_ASSERT_EQUAL_MESSAGE( "test for move function: move to an illegal place", nError1, ::osl::FileBase::E_ACCES ); } diff --git a/sal/textenc/tcvtjp6.tab b/sal/textenc/tcvtjp6.tab index 1dd7789ffe8d..f646d107b996 100644 --- a/sal/textenc/tcvtjp6.tab +++ b/sal/textenc/tcvtjp6.tab @@ -122,7 +122,7 @@ static ImplDBCSToUniLeadTab const aSJISUniLeadTab[256] = { 0x0059, 0, 0, nullptr }, /* 0x59 */ { 0x005A, 0, 0, nullptr }, /* 0x5A */ { 0x005B, 0, 0, nullptr }, /* 0x5B */ - { 0x005C, 0, 0, nullptr }, /* 0x5C */ /* is A5 (YEN SIGN), but for compatibiliy with ascii, we use 0x5C (SLASH) like MS CP392 */ + { 0x005C, 0, 0, nullptr }, /* 0x5C */ /* is A5 (YEN SIGN), but for compatibility with ASCII, we use 0x5C (SLASH) like MS CP392 */ { 0x005D, 0, 0, nullptr }, /* 0x5D */ { 0x005E, 0, 0, nullptr }, /* 0x5E */ { 0x005F, 0, 0, nullptr }, /* 0x5F */ @@ -156,7 +156,7 @@ static ImplDBCSToUniLeadTab const aSJISUniLeadTab[256] = { 0x007B, 0, 0, nullptr }, /* 0x7B */ { 0x007C, 0, 0, nullptr }, /* 0x7C */ { 0x007D, 0, 0, nullptr }, /* 0x7D */ - { 0x007E, 0, 0, nullptr }, /* 0x7E */ /* is 0x0203E (SPACING OVERSCORE), but for compatibiliy with ascii, we use 0x7E (TILDE) like MS CP392 */ + { 0x007E, 0, 0, nullptr }, /* 0x7E */ /* is 0x0203E (SPACING OVERSCORE), but for compatibility with ASCII, we use 0x7E (TILDE) like MS CP392 */ { 0x007F, 0, 0, nullptr }, /* 0x7F */ { 0x005C, 0, 0, nullptr }, /* 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 */ @@ -694,7 +694,7 @@ static ImplDBCSToUniLeadTab const aMS932UniLeadTab[256] = { 0x0059, 0, 0, nullptr }, /* 0x59 */ { 0x005A, 0, 0, nullptr }, /* 0x5A */ { 0x005B, 0, 0, nullptr }, /* 0x5B */ - { 0x005C, 0, 0, nullptr }, /* 0x5C */ /* in SJIS this is A5 (YEN SIGN), but for compatibiliy with ascii, we use 0x5C like MS CP392 */ + { 0x005C, 0, 0, nullptr }, /* 0x5C */ /* in SJIS this is A5 (YEN SIGN), but for compatibility with ASCII, we use 0x5C like MS CP392 */ { 0x005D, 0, 0, nullptr }, /* 0x5D */ { 0x005E, 0, 0, nullptr }, /* 0x5E */ { 0x005F, 0, 0, nullptr }, /* 0x5F */ @@ -728,7 +728,7 @@ static ImplDBCSToUniLeadTab const aMS932UniLeadTab[256] = { 0x007B, 0, 0, nullptr }, /* 0x7B */ { 0x007C, 0, 0, nullptr }, /* 0x7C */ { 0x007D, 0, 0, nullptr }, /* 0x7D */ - { 0x007E, 0, 0, nullptr }, /* 0x7E */ /* in SJIS this is 0x0203E (SPACING OVERSCORE), but for compatibiliy with ascii, we use 0x7E (TILDE) like MS CP392 */ + { 0x007E, 0, 0, nullptr }, /* 0x7E */ /* in SJIS this is 0x0203E (SPACING OVERSCORE), but for compatibility with ASCII, we use 0x7E (TILDE) like MS CP392 */ { 0x007F, 0, 0, nullptr }, /* 0x7F */ { 0x005C, 0, 0, nullptr }, /* 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 */ @@ -1251,7 +1251,7 @@ static ImplDBCSToUniLeadTab const aAPPLEJAPANESEUniLeadTab[256] = { 0x0059, 0, 0, nullptr }, /* 0x59 */ { 0x005A, 0, 0, nullptr }, /* 0x5A */ { 0x005B, 0, 0, nullptr }, /* 0x5B */ - { 0x005C, 0, 0, nullptr }, /* 0x5C */ /* is A5 (YEN SIGN), but for compatibiliy with ascii, we use 0x5C like MS CP392 */ + { 0x005C, 0, 0, nullptr }, /* 0x5C */ /* is A5 (YEN SIGN), but for compatibility with ASCII, we use 0x5C like MS CP392 */ { 0x005D, 0, 0, nullptr }, /* 0x5D */ { 0x005E, 0, 0, nullptr }, /* 0x5E */ { 0x005F, 0, 0, nullptr }, /* 0x5F */ @@ -1285,7 +1285,7 @@ static ImplDBCSToUniLeadTab const aAPPLEJAPANESEUniLeadTab[256] = { 0x007B, 0, 0, nullptr }, /* 0x7B */ { 0x007C, 0, 0, nullptr }, /* 0x7C */ { 0x007D, 0, 0, nullptr }, /* 0x7D */ - { 0x007E, 0, 0, nullptr }, /* 0x7E */ /* in SJIS this is 0x0203E (SPACING OVERSCORE), but for compatibiliy with ascii, we use 0x7E (TILDE) like MS CP392 */ + { 0x007E, 0, 0, nullptr }, /* 0x7E */ /* in SJIS this is 0x0203E (SPACING OVERSCORE), but for compatibility with ASCII, we use 0x7E (TILDE) like MS CP392 */ { 0x007F, 0, 0, nullptr }, /* 0x7F */ { 0x005C, 0, 0, nullptr }, /* 0x80 */ /* APPLE additions over SJIS */ { 0, 0x40, 0xFC, aImplDBCSToUniTab_MS932_81 }, /* 0x81 */ |