summaryrefslogtreecommitdiff
path: root/sal/qa
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/qa
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/qa')
-rw-r--r--sal/qa/osl/socket/osl_Socket.cxx8
-rw-r--r--sal/qa/osl/socket/osl_SocketAddr.cxx8
2 files changed, 8 insertions, 8 deletions
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 );