summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2014-02-06 23:21:40 +0100
committerAndras Timar <andras.timar@collabora.com>2014-02-06 23:22:30 +0100
commitac6e8ac7e407887a18bca6c835f85e372a4d0932 (patch)
tree4011854fc6beb6c4bf03fc278efeeffddedae7d0 /sal
parent31ae0011352faa834da8969559430935e81d479f (diff)
typo fixes in comments
Change-Id: Idd49478d59cd062118fbf8e99d1c8bc5250013fc
Diffstat (limited to 'sal')
-rw-r--r--sal/qa/rtl/strings/test_ostring_concat.cxx2
-rw-r--r--sal/qa/rtl/strings/test_oustring_concat.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sal/qa/rtl/strings/test_ostring_concat.cxx b/sal/qa/rtl/strings/test_ostring_concat.cxx
index b734cac01467..9c5cbd940bbc 100644
--- a/sal/qa/rtl/strings/test_ostring_concat.cxx
+++ b/sal/qa/rtl/strings/test_ostring_concat.cxx
@@ -59,7 +59,7 @@ CPPUNIT_TEST_SUITE_END();
#endif
void test::ostring::StringConcat::checkConcat()
{
-// All the extra () are to protect commas againsts being treated as separators of macro arguments.
+// All the extra () are to protect commas against being treated as separators of macro arguments.
CPPUNIT_ASSERT_EQUAL( OString(), OString(OString() + OString()));
CPPUNIT_ASSERT_EQUAL( OString( "foobar" ), OString( OString( "foo" ) + OString( "bar" )));
TYPES_ASSERT_EQUAL(( typeid( OStringConcat< OString, OString > )), typeid( OString( "foo" ) + OString( "bar" )));
diff --git a/sal/qa/rtl/strings/test_oustring_concat.cxx b/sal/qa/rtl/strings/test_oustring_concat.cxx
index 9cde7b80bc66..251460e328ca 100644
--- a/sal/qa/rtl/strings/test_oustring_concat.cxx
+++ b/sal/qa/rtl/strings/test_oustring_concat.cxx
@@ -59,7 +59,7 @@ CPPUNIT_TEST_SUITE_END();
#endif
void test::oustring::StringConcat::checkConcat()
{
-// All the extra () are to protect commas againsts being treated as separators of macro arguments.
+// All the extra () are to protect commas against being treated as separators of macro arguments.
CPPUNIT_ASSERT_EQUAL( OUString(), OUString(OUString() + OUString()));
CPPUNIT_ASSERT_EQUAL( OUString( "foobar" ), OUString( OUString( "foo" ) + OUString( "bar" )));
TYPES_ASSERT_EQUAL(( typeid( OUStringConcat< OUString, OUString > )), typeid( OUString( "foo" ) + OUString( "bar" )));