diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2023-04-04 11:27:54 +0200 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2023-04-04 23:01:56 +0200 |
commit | 1e9f4de320f67d1218c710bcee1969a2324c6888 (patch) | |
tree | d07291eb0d509c443c2c7707fbe68cd173e4f244 /sal | |
parent | c9c463af22d1c7ea75c8af2d7cf5e2c0a152e40f (diff) |
Make O(U)String::boolean also return an O(U)StringNumber
Change-Id: I184fa0e4e45662e0fac86076d1c8733a0465bb56
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149978
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'sal')
-rw-r--r-- | sal/qa/rtl/strings/test_strings_valuex.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sal/qa/rtl/strings/test_strings_valuex.cxx b/sal/qa/rtl/strings/test_strings_valuex.cxx index 6c9c836442e1..953cf8b68efb 100644 --- a/sal/qa/rtl/strings/test_strings_valuex.cxx +++ b/sal/qa/rtl/strings/test_strings_valuex.cxx @@ -42,8 +42,8 @@ namespace { template< typename T > void testBoolean() { - CPPUNIT_ASSERT_EQUAL( T( "false" ), T::boolean( false ) ); - CPPUNIT_ASSERT_EQUAL( T( "true" ), T::boolean( true ) ); + CPPUNIT_ASSERT_EQUAL( T( "false" ), T(T::boolean( false )) ); + CPPUNIT_ASSERT_EQUAL( T( "true" ), T(T::boolean( true )) ); } } |