summaryrefslogtreecommitdiff
path: root/chart2/qa
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-02-03 08:54:47 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-02-03 08:50:50 +0000
commit83721f4365d234b62f9e3517345c8d3fda19f2c6 (patch)
treeaf77c202dbdf0b969559441c724020e5d7a9da92 /chart2/qa
parent9007cc7bcaa8bc1b38c54f167349f71373f02dec (diff)
makeAny->Any in basctl..chart2
Change-Id: Ief1cdffbfc59ab4e35ac945d020772ff84c50d61 Reviewed-on: https://gerrit.libreoffice.org/33867 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/qa')
-rw-r--r--chart2/qa/extras/charttest.hxx2
-rw-r--r--chart2/qa/unit/common_functor_test.cxx14
2 files changed, 8 insertions, 8 deletions
diff --git a/chart2/qa/extras/charttest.hxx b/chart2/qa/extras/charttest.hxx
index aaa46cb4fa79..17ab82d1c718 100644
--- a/chart2/qa/extras/charttest.hxx
+++ b/chart2/qa/extras/charttest.hxx
@@ -122,7 +122,7 @@ std::shared_ptr<utl::TempFile> ChartTest::save(const OUString& rFilterName)
{
uno::Reference<frame::XStorable> xStorable(mxComponent, uno::UNO_QUERY);
auto aArgs(::comphelper::InitPropertySequence({
- { "FilterName", makeAny(rFilterName) }
+ { "FilterName", Any(rFilterName) }
}));
std::shared_ptr<utl::TempFile> pTempFile = std::make_shared<utl::TempFile>();
pTempFile->EnableKillingFile();
diff --git a/chart2/qa/unit/common_functor_test.cxx b/chart2/qa/unit/common_functor_test.cxx
index ecc4f487cf4a..c630455b4ad8 100644
--- a/chart2/qa/unit/common_functor_test.cxx
+++ b/chart2/qa/unit/common_functor_test.cxx
@@ -38,13 +38,13 @@ private:
void CommonFunctorsTest::testAnyToString()
{
std::vector<css::uno::Any> aInput;
- aInput.push_back(css::uno::makeAny(2.0));
- aInput.push_back(css::uno::makeAny(10.0));
- aInput.push_back(css::uno::makeAny(12.0));
- aInput.push_back(css::uno::makeAny(15.0));
- aInput.push_back(css::uno::makeAny(25.234));
- aInput.push_back(css::uno::makeAny(123.456));
- aInput.push_back(css::uno::makeAny(0.123450));
+ aInput.push_back(css::uno::Any(2.0));
+ aInput.push_back(css::uno::Any(10.0));
+ aInput.push_back(css::uno::Any(12.0));
+ aInput.push_back(css::uno::Any(15.0));
+ aInput.push_back(css::uno::Any(25.234));
+ aInput.push_back(css::uno::Any(123.456));
+ aInput.push_back(css::uno::Any(0.123450));
std::vector<OUString> aOutput;
std::transform(aInput.begin(), aInput.end(),