From b4b7703e4335460cf48bfd6440f116359994c8ff Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 14 Oct 2015 02:51:05 +0200 Subject: cppcheck:variableScope Change-Id: I9b671637fbe0f32e695d22b74bfb40a39a9fe884 Reviewed-on: https://gerrit.libreoffice.org/19364 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- testtools/source/bridgetest/bridgetest.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testtools/source') diff --git a/testtools/source/bridgetest/bridgetest.cxx b/testtools/source/bridgetest/bridgetest.cxx index 570a6f64dca9..6eb89778ff92 100644 --- a/testtools/source/bridgetest/bridgetest.cxx +++ b/testtools/source/bridgetest/bridgetest.cxx @@ -653,8 +653,6 @@ static bool performTest( static_cast< sal_Int64 >(SAL_CONST_INT64(0x8000000000000000)), 1, SAL_CONST_INT64(0x7FFFFFFFFFFFFFFF) }; sal_uInt64 _arUHyper[] = { 0, 1, SAL_CONST_UINT64(0xFFFFFFFFFFFFFFFF) }; - float _arFloat[] = { 1.1f, 2.2f, 3.3f }; - double _arDouble[] = { 1.11, 2.22, 3.33 }; OUString _arString[] = { OUString("String 1"), OUString("String 2"), @@ -691,6 +689,8 @@ static bool performTest( TestEnum_CHECK, STRING_TEST_CONSTANT, _arObj[2], Any(&_arObj[2], cppu::UnoType::get())); { + float _arFloat[] = { 1.1f, 2.2f, 3.3f }; + double _arDouble[] = { 1.11, 2.22, 3.33 }; Sequence arBool(_arBool, 3); Sequence arChar( _arChar, 3); Sequence arByte(_arByte, 3); -- cgit