diff options
Diffstat (limited to 'chart2/qa/unit')
-rw-r--r-- | chart2/qa/unit/common_functor_test.cxx | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/chart2/qa/unit/common_functor_test.cxx b/chart2/qa/unit/common_functor_test.cxx index eaa5a29fc08a..b2e404e13508 100644 --- a/chart2/qa/unit/common_functor_test.cxx +++ b/chart2/qa/unit/common_functor_test.cxx @@ -61,14 +61,7 @@ void CommonFunctorsTest::testAnyToString() void CommonFunctorsTest::testDoubleToString() { - std::vector<double> aInput; - aInput.push_back(2.0); - aInput.push_back(10.0); - aInput.push_back(12.0); - aInput.push_back(15.0); - aInput.push_back(25.234); - aInput.push_back(123.456); - aInput.push_back(0.123450); + std::vector<double> aInput { 2.0, 10.0, 12.0, 15.0, 25.234, 123.456, 0.123450 }; std::vector<OUString> aOutput; std::transform(aInput.begin(), aInput.end(), |