diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-01 08:35:38 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-01 08:35:38 +0200 |
commit | 79451a0566e95ba10c749e913cb642cd71d95755 (patch) | |
tree | 48df04627ffdbdb1c15bb64f3b30585a222b5bec /chart2/source/model/template | |
parent | fb088cdd8d6aed2f82b13b03d8ddb6f7901c5ef2 (diff) |
Replace remaining getCppuType et al with cppu::UnoType
Change-Id: I5bc47d62afa9cf43f4f1978e082bba43920eb10d
Diffstat (limited to 'chart2/source/model/template')
7 files changed, 13 insertions, 13 deletions
diff --git a/chart2/source/model/template/CandleStickChartType.cxx b/chart2/source/model/template/CandleStickChartType.cxx index fc6baa6c1225..d92aaf42e8b2 100644 --- a/chart2/source/model/template/CandleStickChartType.cxx +++ b/chart2/source/model/template/CandleStickChartType.cxx @@ -53,7 +53,7 @@ void lcl_AddPropertiesToVector( rOutProperties.push_back( Property( "Japanese", PROP_CANDLESTICKCHARTTYPE_JAPANESE, - ::getBooleanCppuType(), + cppu::UnoType<bool>::get(), beans::PropertyAttribute::BOUND | beans::PropertyAttribute::MAYBEDEFAULT )); @@ -73,13 +73,13 @@ void lcl_AddPropertiesToVector( rOutProperties.push_back( Property( "ShowFirst", PROP_CANDLESTICKCHARTTYPE_SHOW_FIRST, - ::getBooleanCppuType(), + cppu::UnoType<bool>::get(), beans::PropertyAttribute::BOUND | beans::PropertyAttribute::MAYBEDEFAULT )); rOutProperties.push_back( Property( "ShowHighLow", PROP_CANDLESTICKCHARTTYPE_SHOW_HIGH_LOW, - ::getBooleanCppuType(), + cppu::UnoType<bool>::get(), beans::PropertyAttribute::BOUND | beans::PropertyAttribute::MAYBEDEFAULT )); } diff --git a/chart2/source/model/template/ColumnChartType.cxx b/chart2/source/model/template/ColumnChartType.cxx index 4f8734c236e6..3584a3d61aa9 100644 --- a/chart2/source/model/template/ColumnChartType.cxx +++ b/chart2/source/model/template/ColumnChartType.cxx @@ -44,14 +44,14 @@ void lcl_AddPropertiesToVector( rOutProperties.push_back( Property( "OverlapSequence", PROP_BARCHARTTYPE_OVERLAP_SEQUENCE, - ::getCppuType( reinterpret_cast< const Sequence< sal_Int32 > * >(0)), + cppu::UnoType<Sequence< sal_Int32 >>::get(), beans::PropertyAttribute::BOUND | beans::PropertyAttribute::MAYBEDEFAULT )); rOutProperties.push_back( Property( "GapwidthSequence", PROP_BARCHARTTYPE_GAPWIDTH_SEQUENCE, - ::getCppuType( reinterpret_cast< const Sequence< sal_Int32 > * >(0)), + cppu::UnoType<Sequence< sal_Int32 >>::get(), beans::PropertyAttribute::BOUND | beans::PropertyAttribute::MAYBEDEFAULT )); } diff --git a/chart2/source/model/template/GL3DBarChartType.cxx b/chart2/source/model/template/GL3DBarChartType.cxx index 8eda8703fa18..8141359179de 100644 --- a/chart2/source/model/template/GL3DBarChartType.cxx +++ b/chart2/source/model/template/GL3DBarChartType.cxx @@ -63,7 +63,7 @@ struct InfoHelperInitializer aRet[0] = beans::Property( CHART_UNONAME_ROUNDED_EDGE, PROP_GL3DCHARTTYPE_ROUNDED_EDGE, - ::getCppuBooleanType(), + cppu::UnoType<bool>::get(), beans::PropertyAttribute::BOUND | beans::PropertyAttribute::MAYBEDEFAULT); return aRet; diff --git a/chart2/source/model/template/GL3DBarChartTypeTemplate.cxx b/chart2/source/model/template/GL3DBarChartTypeTemplate.cxx index f027fa500cc0..6ea9e6d77740 100644 --- a/chart2/source/model/template/GL3DBarChartTypeTemplate.cxx +++ b/chart2/source/model/template/GL3DBarChartTypeTemplate.cxx @@ -66,7 +66,7 @@ struct InfoHelperInitializer aRet[0] = beans::Property( CHART_UNONAME_ROUNDED_EDGE, PROP_GL3DCHARTTYPE_ROUNDED_EDGE, - ::getCppuBooleanType(), + cppu::UnoType<bool>::get(), beans::PropertyAttribute::BOUND | beans::PropertyAttribute::MAYBEDEFAULT); return aRet; diff --git a/chart2/source/model/template/PieChartType.cxx b/chart2/source/model/template/PieChartType.cxx index a3e9d0b34f67..683d764bd103 100644 --- a/chart2/source/model/template/PieChartType.cxx +++ b/chart2/source/model/template/PieChartType.cxx @@ -52,7 +52,7 @@ static void lcl_AddPropertiesToVector( rOutProperties.push_back( Property( "UseRings", PROP_PIECHARTTYPE_USE_RINGS, - ::getBooleanCppuType(), + cppu::UnoType<bool>::get(), beans::PropertyAttribute::BOUND | beans::PropertyAttribute::MAYBEDEFAULT )); rOutProperties.push_back( diff --git a/chart2/source/model/template/PieChartTypeTemplate.cxx b/chart2/source/model/template/PieChartTypeTemplate.cxx index e49decf1150e..77cd1e85e245 100644 --- a/chart2/source/model/template/PieChartTypeTemplate.cxx +++ b/chart2/source/model/template/PieChartTypeTemplate.cxx @@ -81,7 +81,7 @@ static void lcl_AddPropertiesToVector( rOutProperties.push_back( Property( "UseRings", PROP_PIE_TEMPLATE_USE_RINGS, - ::getBooleanCppuType(), + cppu::UnoType<bool>::get(), beans::PropertyAttribute::BOUND | beans::PropertyAttribute::MAYBEDEFAULT )); } diff --git a/chart2/source/model/template/StockChartTypeTemplate.cxx b/chart2/source/model/template/StockChartTypeTemplate.cxx index dca4cbb99c6a..6177bd67deeb 100644 --- a/chart2/source/model/template/StockChartTypeTemplate.cxx +++ b/chart2/source/model/template/StockChartTypeTemplate.cxx @@ -65,25 +65,25 @@ void lcl_AddPropertiesToVector( rOutProperties.push_back( Property( "Volume", PROP_STOCKCHARTTYPE_TEMPLATE_VOLUME, - ::getBooleanCppuType(), + cppu::UnoType<bool>::get(), beans::PropertyAttribute::BOUND | beans::PropertyAttribute::MAYBEDEFAULT )); rOutProperties.push_back( Property( "Open", PROP_STOCKCHARTTYPE_TEMPLATE_OPEN, - ::getBooleanCppuType(), + cppu::UnoType<bool>::get(), beans::PropertyAttribute::BOUND | beans::PropertyAttribute::MAYBEDEFAULT )); rOutProperties.push_back( Property( "LowHigh", PROP_STOCKCHARTTYPE_TEMPLATE_LOW_HIGH, - ::getBooleanCppuType(), + cppu::UnoType<bool>::get(), beans::PropertyAttribute::BOUND | beans::PropertyAttribute::MAYBEDEFAULT )); rOutProperties.push_back( Property( "Japanese", PROP_STOCKCHARTTYPE_TEMPLATE_JAPANESE, - ::getBooleanCppuType(), + cppu::UnoType<bool>::get(), beans::PropertyAttribute::BOUND | beans::PropertyAttribute::MAYBEDEFAULT )); } |