From 46964d7bd509b2c75a8a09078d41d71f6523788c Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 8 Sep 2020 12:26:27 +0200 Subject: Fix typos in comments Change-Id: I8a8108ae970613559a68d996dddcee485ddc052f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102235 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- sal/qa/rtl/strings/test_ostring_concat.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sal/qa') 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 // "Failed class template argument deduction in unevaluated, parenthesized context" CPPUNIT_ASSERT_EQUAL( OString( "foobar" ), OString( OStringLiteral( "foo" ) + static_cast("bar") )); CPPUNIT_ASSERT_EQUAL(( typeid( OStringConcat< OStringLiteral<4>, const char* > )), typeid( OStringLiteral<4>( "foo" ) + static_cast("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 // "Failed class template argument deduction in unevaluated, parenthesized context" const char d1[] = "xyz"; -- cgit