diff options
author | Noel Grandin <noel@peralex.com> | 2015-11-19 09:14:59 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-11-19 09:33:29 +0200 |
commit | 2554efabb6d7cd2ad9f7cfdddd0712c25cdca1cd (patch) | |
tree | 1b8fd3940910ffcd328e16a53e208c099f67ab21 /chart2/source/controller/chartapiwrapper | |
parent | f7b5f477bfd942e0a1d8880c372635000d724dd7 (diff) |
use comphelper::containerToSequence
in chart2, we remove a local equivalent of the method
Change-Id: I25129a3d1ea1dd724eb9cd38a57be37a78b3d100
Diffstat (limited to 'chart2/source/controller/chartapiwrapper')
11 files changed, 13 insertions, 11 deletions
diff --git a/chart2/source/controller/chartapiwrapper/AreaWrapper.cxx b/chart2/source/controller/chartapiwrapper/AreaWrapper.cxx index 80b551bbcaf9..42f5d7f11b2f 100644 --- a/chart2/source/controller/chartapiwrapper/AreaWrapper.cxx +++ b/chart2/source/controller/chartapiwrapper/AreaWrapper.cxx @@ -62,7 +62,7 @@ private: ::std::sort( aProperties.begin(), aProperties.end(), ::chart::PropertyNameLess() ); - return ::chart::ContainerHelper::ContainerToSequence( aProperties ); + return comphelper::containerToSequence( aProperties ); } }; diff --git a/chart2/source/controller/chartapiwrapper/AxisWrapper.cxx b/chart2/source/controller/chartapiwrapper/AxisWrapper.cxx index a064752aae72..541c722bbfb4 100644 --- a/chart2/source/controller/chartapiwrapper/AxisWrapper.cxx +++ b/chart2/source/controller/chartapiwrapper/AxisWrapper.cxx @@ -389,7 +389,7 @@ private: ::std::sort( aProperties.begin(), aProperties.end(), ::chart::PropertyNameLess() ); - return ::chart::ContainerHelper::ContainerToSequence( aProperties ); + return comphelper::containerToSequence( aProperties ); } }; diff --git a/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx b/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx index 495e8dcd1d58..00611617d01b 100644 --- a/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx +++ b/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx @@ -257,7 +257,7 @@ private: ::std::sort( aProperties.begin(), aProperties.end(), ::chart::PropertyNameLess() ); - return ::chart::ContainerHelper::ContainerToSequence( aProperties ); + return comphelper::containerToSequence( aProperties ); } }; diff --git a/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.cxx b/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.cxx index f48e6ef6b16e..c65defc69b7f 100644 --- a/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.cxx +++ b/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.cxx @@ -228,7 +228,7 @@ uno::Sequence< Property > lcl_GetPropertySequence( DataSeriesPointWrapper::eType ::std::sort( aProperties.begin(), aProperties.end(), ::chart::PropertyNameLess() ); - return ::chart::ContainerHelper::ContainerToSequence( aProperties ); + return comphelper::containerToSequence( aProperties ); } struct StaticSeriesWrapperPropertyArray_Initializer diff --git a/chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx b/chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx index e38aaba322d7..2ae296f4c5ce 100644 --- a/chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx +++ b/chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx @@ -478,7 +478,7 @@ private: ::std::sort( aProperties.begin(), aProperties.end(), ::chart::PropertyNameLess() ); - return ::chart::ContainerHelper::ContainerToSequence( aProperties ); + return comphelper::containerToSequence( aProperties ); } }; diff --git a/chart2/source/controller/chartapiwrapper/GridWrapper.cxx b/chart2/source/controller/chartapiwrapper/GridWrapper.cxx index 5e994e29798c..6ce104f45d76 100644 --- a/chart2/source/controller/chartapiwrapper/GridWrapper.cxx +++ b/chart2/source/controller/chartapiwrapper/GridWrapper.cxx @@ -64,7 +64,7 @@ private: ::std::sort( aProperties.begin(), aProperties.end(), ::chart::PropertyNameLess() ); - return ::chart::ContainerHelper::ContainerToSequence( aProperties ); + return comphelper::containerToSequence( aProperties ); } }; diff --git a/chart2/source/controller/chartapiwrapper/LegendWrapper.cxx b/chart2/source/controller/chartapiwrapper/LegendWrapper.cxx index 4b5b21f61a49..8b77142744a2 100644 --- a/chart2/source/controller/chartapiwrapper/LegendWrapper.cxx +++ b/chart2/source/controller/chartapiwrapper/LegendWrapper.cxx @@ -260,7 +260,7 @@ private: ::std::sort( aProperties.begin(), aProperties.end(), ::chart::PropertyNameLess() ); - return ::chart::ContainerHelper::ContainerToSequence( aProperties ); + return comphelper::containerToSequence( aProperties ); } }; diff --git a/chart2/source/controller/chartapiwrapper/MinMaxLineWrapper.cxx b/chart2/source/controller/chartapiwrapper/MinMaxLineWrapper.cxx index 7483e1429553..23d048f207ef 100644 --- a/chart2/source/controller/chartapiwrapper/MinMaxLineWrapper.cxx +++ b/chart2/source/controller/chartapiwrapper/MinMaxLineWrapper.cxx @@ -27,6 +27,7 @@ #include <com/sun/star/chart2/XChartType.hpp> #include <com/sun/star/chart2/XDataSeriesContainer.hpp> #include <com/sun/star/drawing/LineJoint.hpp> +#include <comphelper/sequence.hxx> #include "LinePropertiesHelper.hxx" #include "UserDefinedProperties.hxx" @@ -82,7 +83,7 @@ private: ::std::sort( aProperties.begin(), aProperties.end(), ::chart::PropertyNameLess() ); - return ::chart::ContainerHelper::ContainerToSequence( aProperties ); + return comphelper::containerToSequence( aProperties ); } }; diff --git a/chart2/source/controller/chartapiwrapper/TitleWrapper.cxx b/chart2/source/controller/chartapiwrapper/TitleWrapper.cxx index 5fd664df52c8..f2c46f53095d 100644 --- a/chart2/source/controller/chartapiwrapper/TitleWrapper.cxx +++ b/chart2/source/controller/chartapiwrapper/TitleWrapper.cxx @@ -184,7 +184,7 @@ private: ::std::sort( aProperties.begin(), aProperties.end(), ::chart::PropertyNameLess() ); - return ::chart::ContainerHelper::ContainerToSequence( aProperties ); + return comphelper::containerToSequence( aProperties ); } }; diff --git a/chart2/source/controller/chartapiwrapper/UpDownBarWrapper.cxx b/chart2/source/controller/chartapiwrapper/UpDownBarWrapper.cxx index 4928e5dd31fa..9921af669504 100644 --- a/chart2/source/controller/chartapiwrapper/UpDownBarWrapper.cxx +++ b/chart2/source/controller/chartapiwrapper/UpDownBarWrapper.cxx @@ -26,6 +26,7 @@ #include <cppuhelper/supportsservice.hxx> #include <com/sun/star/chart2/XChartType.hpp> #include <com/sun/star/chart2/XDataSeriesContainer.hpp> +#include <comphelper/sequence.hxx> #include "LinePropertiesHelper.hxx" #include "FillProperties.hxx" @@ -64,7 +65,7 @@ private: ::std::sort( aProperties.begin(), aProperties.end(), ::chart::PropertyNameLess() ); - return ::chart::ContainerHelper::ContainerToSequence( aProperties ); + return comphelper::containerToSequence( aProperties ); } }; diff --git a/chart2/source/controller/chartapiwrapper/WallFloorWrapper.cxx b/chart2/source/controller/chartapiwrapper/WallFloorWrapper.cxx index 7be9d4eeffc5..5ae15ce5fdd0 100644 --- a/chart2/source/controller/chartapiwrapper/WallFloorWrapper.cxx +++ b/chart2/source/controller/chartapiwrapper/WallFloorWrapper.cxx @@ -66,7 +66,7 @@ private: ::std::sort( aProperties.begin(), aProperties.end(), ::chart::PropertyNameLess() ); - return ::chart::ContainerHelper::ContainerToSequence( aProperties ); + return comphelper::containerToSequence( aProperties ); } }; |