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/qa | |
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/qa')
-rw-r--r-- | sal/qa/osl/file/osl_File.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
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 ); } |