summaryrefslogtreecommitdiff
path: root/chart2/source/tools/DataSourceHelper.cxx
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/source/tools/DataSourceHelper.cxx
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/source/tools/DataSourceHelper.cxx')
-rw-r--r--chart2/source/tools/DataSourceHelper.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/chart2/source/tools/DataSourceHelper.cxx b/chart2/source/tools/DataSourceHelper.cxx
index d75ad20ce3bf..7ddfd660ec9b 100644
--- a/chart2/source/tools/DataSourceHelper.cxx
+++ b/chart2/source/tools/DataSourceHelper.cxx
@@ -159,13 +159,13 @@ uno::Sequence< beans::PropertyValue > DataSourceHelper::createArguments(
uno::Sequence< beans::PropertyValue > aArguments(3);
aArguments[0] = beans::PropertyValue( "DataRowSource"
- , -1, uno::makeAny( eRowSource )
+ , -1, uno::Any( eRowSource )
, beans::PropertyState_DIRECT_VALUE );
aArguments[1] = beans::PropertyValue( "FirstCellAsLabel"
- , -1, uno::makeAny( bFirstCellAsLabel )
+ , -1, uno::Any( bFirstCellAsLabel )
, beans::PropertyState_DIRECT_VALUE );
aArguments[2] = beans::PropertyValue( "HasCategories"
- , -1, uno::makeAny( bHasCategories )
+ , -1, uno::Any( bHasCategories )
, beans::PropertyState_DIRECT_VALUE );
return aArguments;
@@ -180,14 +180,14 @@ uno::Sequence< beans::PropertyValue > DataSourceHelper::createArguments(
aArguments.realloc( aArguments.getLength() + 1 );
aArguments[aArguments.getLength() - 1] =
beans::PropertyValue( "CellRangeRepresentation"
- , -1, uno::makeAny( rRangeRepresentation )
+ , -1, uno::Any( rRangeRepresentation )
, beans::PropertyState_DIRECT_VALUE );
if( rSequenceMapping.getLength() )
{
aArguments.realloc( aArguments.getLength() + 1 );
aArguments[aArguments.getLength() - 1] =
beans::PropertyValue( "SequenceMapping"
- , -1, uno::makeAny( rSequenceMapping )
+ , -1, uno::Any( rSequenceMapping )
, beans::PropertyState_DIRECT_VALUE );
}
return aArguments;