summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2014-11-10 15:05:25 +0100
committerNoel Grandin <noelgrandin@gmail.com>2014-11-12 11:04:11 +0000
commitda40cac540e7d735edbe9069b3c8ec6af4530208 (patch)
treef2abda7281129e13f588c77b18780a7090c8405f /sal
parentbb437029c1e5331bcc3f8fb2fc87837142a52f33 (diff)
Fix common typos. No automatic tools. Handmade…
Change-Id: I1ab4e23b0539f8d39974787f226e57a21f96e959 Reviewed-on: https://gerrit.libreoffice.org/12164 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sal')
-rw-r--r--sal/cppunittester/cppunittester.cxx2
-rw-r--r--sal/osl/w32/dllentry.c2
-rw-r--r--sal/qa/osl/socket/osl_Socket.cxx8
-rw-r--r--sal/qa/osl/socket/osl_SocketAddr.cxx8
-rw-r--r--sal/rtl/uri.cxx2
-rw-r--r--sal/test/bootstrap.pl2
6 files changed, 12 insertions, 12 deletions
diff --git a/sal/cppunittester/cppunittester.cxx b/sal/cppunittester/cppunittester.cxx
index 148eed0e1b51..59aee5ac053f 100644
--- a/sal/cppunittester/cppunittester.cxx
+++ b/sal/cppunittester/cppunittester.cxx
@@ -102,7 +102,7 @@ private:
#ifdef UNX
#include <stdlib.h>
// Setup an env variable so that temp file (or other) can
-// have a usefull value to identify the source
+// have a useful value to identify the source
class EyecatcherListener
: public CppUnit::TestListener
, private boost::noncopyable
diff --git a/sal/osl/w32/dllentry.c b/sal/osl/w32/dllentry.c
index dc30f8db7ac7..e472c1f1e2e8 100644
--- a/sal/osl/w32/dllentry.c
+++ b/sal/osl/w32/dllentry.c
@@ -291,7 +291,7 @@ BOOL WINAPI DllMain( HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved )
// This code will attach the process to its parent process
// if the parent process had set the environment variable.
// The corresponding code (setting the environment variable)
- // is is desktop/win32/source/officeloader.cxx
+ // is desktop/win32/source/officeloader.cxx
DWORD dwResult = GetEnvironmentVariable( "ATTACHED_PARENT_PROCESSID", szBuffer, sizeof(szBuffer) );
diff --git a/sal/qa/osl/socket/osl_Socket.cxx b/sal/qa/osl/socket/osl_Socket.cxx
index 086c95383f7f..d3fb0128de22 100644
--- a/sal/qa/osl/socket/osl_Socket.cxx
+++ b/sal/qa/osl/socket/osl_Socket.cxx
@@ -832,11 +832,11 @@ namespace osl_SocketAddr
void ctors_hostname_port_001()
{
- /// tcpip-specif constructor.
+ /// tcpip-specific constructor.
::osl::SocketAddr saSocketAddr( aHostIp1, IP_PORT_FTP );
printUString(saSocketAddr.getHostname( ), "ctors_hostname_port_001:getHostname");
- CPPUNIT_ASSERT_MESSAGE("test for SocketAddr tcpip specific constructor function: do a constructor using tcpip spec, check the result.",
+ CPPUNIT_ASSERT_MESSAGE("test for SocketAddr tcpip specificy constructor function: do a constructor using tcpip spec, check the result.",
saSocketAddr.is( ) == sal_True &&
( saSocketAddr.getPort( ) == IP_PORT_FTP )/*&&
( sal_True == compareUString( saSocketAddr.getHostname( ), aHostName1 ) ) */);
@@ -845,10 +845,10 @@ namespace osl_SocketAddr
//same as is_002
void ctors_hostname_port_002()
{
- /// tcpip-specif constructor.
+ /// tcpip-specific constructor.
::osl::SocketAddr saSocketAddr( aHostIpInval1, IP_PORT_MYPORT2 );
- CPPUNIT_ASSERT_MESSAGE("test for SocketAddr tcpip specific constructor function: using an invalid IP address, the socketaddr ctors should fail", sal_False == saSocketAddr.is( ));
+ CPPUNIT_ASSERT_MESSAGE("test for SocketAddr tcpip specificy constructor function: using an invalid IP address, the socketaddr ctors should fail", sal_False == saSocketAddr.is( ));
}
CPPUNIT_TEST_SUITE( ctors );
CPPUNIT_TEST( ctors_none );
diff --git a/sal/qa/osl/socket/osl_SocketAddr.cxx b/sal/qa/osl/socket/osl_SocketAddr.cxx
index 6dc3fa462db5..99aa7d09c19a 100644
--- a/sal/qa/osl/socket/osl_SocketAddr.cxx
+++ b/sal/qa/osl/socket/osl_SocketAddr.cxx
@@ -181,11 +181,11 @@ namespace osl_SocketAddr
void ctors_hostname_port_001()
{
- /// tcpip-specif constructor.
+ /// tcpip-specific constructor.
::osl::SocketAddr saSocketAddr( rtl::OUString("127.0.0.1"), IP_PORT_FTP );
printUString( saSocketAddr.getHostname( ), "ctors_hostname_port_001:getHostname");
- CPPUNIT_ASSERT_MESSAGE("test for SocketAddr tcpip specific constructor function: do a constructor using tcpip spec, check the result.",
+ CPPUNIT_ASSERT_MESSAGE("test for SocketAddr tcpip specificy constructor function: do a constructor using tcpip spec, check the result.",
saSocketAddr.is( ) == sal_True &&
( saSocketAddr.getPort( ) == IP_PORT_FTP )
);
@@ -194,10 +194,10 @@ namespace osl_SocketAddr
//same as is_002
void ctors_hostname_port_002()
{
- /// tcpip-specif constructor.
+ /// tcpip-specific constructor.
::osl::SocketAddr saSocketAddr( rtl::OUString("123.345.67.89"), IP_PORT_MYPORT2 );
- CPPUNIT_ASSERT_MESSAGE("test for SocketAddr tcpip specific constructor function: using an invalid IP address, the socketaddr ctors should fail", sal_False == saSocketAddr.is( ));
+ CPPUNIT_ASSERT_MESSAGE("test for SocketAddr tcpip specificy constructor function: using an invalid IP address, the socketaddr ctors should fail", sal_False == saSocketAddr.is( ));
}
CPPUNIT_TEST_SUITE( ctors );
CPPUNIT_TEST( ctors_none );
diff --git a/sal/rtl/uri.cxx b/sal/rtl/uri.cxx
index e51039888ba9..f7c62649ca00 100644
--- a/sal/rtl/uri.cxx
+++ b/sal/rtl/uri.cxx
@@ -424,7 +424,7 @@ void appendPath(
// input begins with "../" -> remove from input
// i.e., !precedingSlash -> !precedingSlash
// input begins with "/.." -> replace with "/" in input, and shrink
- // output (not not yet done):
+ // output (not yet done):
// i.e., precedingSlash -> precedingSlash
// input begins with "/../" -> replace with "/" in input, and shrink
// output:
diff --git a/sal/test/bootstrap.pl b/sal/test/bootstrap.pl
index a0ff7778be16..c14a5f73e4af 100644
--- a/sal/test/bootstrap.pl
+++ b/sal/test/bootstrap.pl
@@ -212,7 +212,7 @@ if (!$rc) {
$state = 0;
}
-# test no infinit recursion
+# test no infinite recursion
if ($ENV{OS} eq "WNT") {
$rc = system "./testbootstrap",
'"***RECURSION DETECTED***"',