From 7c15ffd4e3bf002c3d4edd758bb3af27b1f6a34e Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 22 Nov 2022 13:09:17 +0000 Subject: Related: rhbz#2136459 use a value which is exactly representable as a float MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 20 builds in a row with the old value all succeeded for me on F38 anyway, so if the problem still exists this almost certainly doesn't do anything. But it's nice for debugging to use something that is printed the same by a debugger as seen in the source. also see: tdf#125978 Change-Id: I42dc5f18c22acc006bffb57578bacb65dbc16013 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143116 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- stoc/test/testiadapter.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stoc') diff --git a/stoc/test/testiadapter.cxx b/stoc/test/testiadapter.cxx index d9fd9560c13a..ca5afc4029f4 100644 --- a/stoc/test/testiadapter.cxx +++ b/stoc/test/testiadapter.cxx @@ -750,7 +750,7 @@ sal_Bool performTest( const Reference & xLBT ) sal_True, '@', 17, 0x1234, 0xfedc, 0x12345678, 0xfedcba98, SAL_CONST_INT64(0x123456789abcdef0), SAL_CONST_UINT64(0xfedcba9876543210), - (float)17.0815, M_PI, TestEnum_LOLA, OUString("dumdidum"), xI, + (float)17.03125, M_PI, TestEnum_LOLA, OUString("dumdidum"), xI, Any( &xI, cppu::UnoType::get()) ); OSL_ENSURE( aData.Any == xI, "### unexpected any!" ); -- cgit