summaryrefslogtreecommitdiff
path: root/stoc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-11-22 13:09:17 +0000
committerCaolán McNamara <caolanm@redhat.com>2023-01-20 21:04:33 +0000
commit7c15ffd4e3bf002c3d4edd758bb3af27b1f6a34e (patch)
tree0db7a8525068c88f0814757c370fba28bd98f506 /stoc
parent0f98e004706439057bfeef23514598c40cfef11b (diff)
Related: rhbz#2136459 use a value which is exactly representable as a float
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 <caolanm@redhat.com>
Diffstat (limited to 'stoc')
-rw-r--r--stoc/test/testiadapter.cxx2
1 files changed, 1 insertions, 1 deletions
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<XLanguageBindingTest > & 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<XInterface>::get()) );
OSL_ENSURE( aData.Any == xI, "### unexpected any!" );