diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-09-08 12:26:27 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-09-08 14:35:02 +0200 |
commit | 46964d7bd509b2c75a8a09078d41d71f6523788c (patch) | |
tree | 954dcd12108e67ce4576e93ffeadb7c3e5871c09 /sal | |
parent | e29b91e348be22037d9a3bcb3d6fe8ca91d5ee61 (diff) |
Fix typos in comments
Change-Id: I8a8108ae970613559a68d996dddcee485ddc052f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102235
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sal')
-rw-r--r-- | sal/qa/rtl/strings/test_ostring_concat.cxx | 4 |
1 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 94f4e8d692cf..f797a15660b5 100644 --- a/sal/qa/rtl/strings/test_ostring_concat.cxx +++ b/sal/qa/rtl/strings/test_ostring_concat.cxx @@ -69,12 +69,12 @@ void test::ostring::StringConcat::checkConcat() CPPUNIT_ASSERT_EQUAL(( typeid( OStringConcat< OStringBuffer, const char[ 4 ] > )), typeid( OStringBuffer( "foo" ) + "bar" )); CPPUNIT_ASSERT_EQUAL( OString( "foobar" ), OString( OStringLiteral( "foo" ) + "bar" )); CPPUNIT_ASSERT_EQUAL(( typeid( OStringConcat< OStringLiteral<4>, const char[ 4 ] > )), typeid( OStringLiteral<4>( "foo" ) + "bar" )); - //TODO: the explicit OUStringLiteral<4> template argument in the unevaluated typeid context + //TODO: the explicit OStringLiteral<4> template argument in the unevaluated typeid context // is needed by some GCC versions, see <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96878> // "Failed class template argument deduction in unevaluated, parenthesized context" CPPUNIT_ASSERT_EQUAL( OString( "foobar" ), OString( OStringLiteral( "foo" ) + static_cast<const char*>("bar") )); CPPUNIT_ASSERT_EQUAL(( typeid( OStringConcat< OStringLiteral<4>, const char* > )), typeid( OStringLiteral<4>( "foo" ) + static_cast<const char*>("bar") )); - //TODO: the explicit OUStringLiteral<4> template argument in the unevaluated typeid context + //TODO: the explicit OStringLiteral<4> template argument in the unevaluated typeid context // is needed by some GCC versions, see <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96878> // "Failed class template argument deduction in unevaluated, parenthesized context" const char d1[] = "xyz"; |