[Libreoffice-commits] core.git: sal/qa

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Tue Sep 8 12:35:48 UTC 2020


 sal/qa/rtl/strings/test_ostring_concat.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 46964d7bd509b2c75a8a09078d41d71f6523788c
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Tue Sep 8 12:26:27 2020 +0200
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Tue Sep 8 14:35:02 2020 +0200

    Fix typos in comments
    
    Change-Id: I8a8108ae970613559a68d996dddcee485ddc052f
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102235
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

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";


More information about the Libreoffice-commits mailing list