summaryrefslogtreecommitdiff
path: root/chart2/qa/unit/common_functor_test.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/qa/unit/common_functor_test.cxx')
-rw-r--r--chart2/qa/unit/common_functor_test.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/chart2/qa/unit/common_functor_test.cxx b/chart2/qa/unit/common_functor_test.cxx
index b2e404e13508..a744945e6663 100644
--- a/chart2/qa/unit/common_functor_test.cxx
+++ b/chart2/qa/unit/common_functor_test.cxx
@@ -48,7 +48,7 @@ void CommonFunctorsTest::testAnyToString()
std::vector<OUString> aOutput;
std::transform(aInput.begin(), aInput.end(),
- std::back_inserter(aOutput), chart::CommonFunctors::AnyToString());
+ std::back_inserter(aOutput), chart::CommonFunctors::ToString());
CPPUNIT_ASSERT_EQUAL(OUString("2"), aOutput[0]);
CPPUNIT_ASSERT_EQUAL(OUString("10"), aOutput[1]);
@@ -65,7 +65,7 @@ void CommonFunctorsTest::testDoubleToString()
std::vector<OUString> aOutput;
std::transform(aInput.begin(), aInput.end(),
- std::back_inserter(aOutput), chart::CommonFunctors::DoubleToOUString());
+ std::back_inserter(aOutput), chart::CommonFunctors::ToString());
CPPUNIT_ASSERT_EQUAL(OUString("2"), aOutput[0]);
CPPUNIT_ASSERT_EQUAL(OUString("10"), aOutput[1]);