diff options
author | Björn Milcke <bm@openoffice.org> | 2001-05-11 17:33:24 +0000 |
---|---|---|
committer | Björn Milcke <bm@openoffice.org> | 2001-05-11 17:33:24 +0000 |
commit | 1a9645840a60895a43f73de46ff1556a9a48240a (patch) | |
tree | 2fc161ecefde9cc1aa384078a1c70ad9d8444331 /xmloff | |
parent | de8080828b9773c59f775b09e65d7fc91af59d26 (diff) |
no special handling any more for DataRowSource
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/chart/PropertyMap.hxx | 6 | ||||
-rw-r--r-- | xmloff/source/chart/PropertyMaps.cxx | 23 |
2 files changed, 5 insertions, 24 deletions
diff --git a/xmloff/source/chart/PropertyMap.hxx b/xmloff/source/chart/PropertyMap.hxx index 927d238dff4e..684103c66806 100644 --- a/xmloff/source/chart/PropertyMap.hxx +++ b/xmloff/source/chart/PropertyMap.hxx @@ -2,9 +2,9 @@ * * $RCSfile: PropertyMap.hxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: bm $ $Date: 2001-05-11 18:17:55 $ + * last change: $Author: bm $ $Date: 2001-05-11 18:33:24 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -167,7 +167,7 @@ const XMLPropertyMapEntry aXMLChartPropMap[] = MAP_ENTRY( "StackedBarsConnected", CHART, connect_bars, XML_TYPE_BOOL ), // plot-area properties - MAP_SPECIAL( "DataRowSource", CHART, series_source, XML_SCH_TYPE_DATAROWSOURCE, DATA_ROW_SOURCE ), + MAP_ENTRY( "DataRowSource", CHART, series_source, XML_SCH_TYPE_DATAROWSOURCE ), // axis properties MAP_ENTRY( "DisplayLabels", CHART, display_label, XML_TYPE_BOOL ), diff --git a/xmloff/source/chart/PropertyMaps.cxx b/xmloff/source/chart/PropertyMaps.cxx index 0ce9d45622e6..669d1e8c298b 100644 --- a/xmloff/source/chart/PropertyMaps.cxx +++ b/xmloff/source/chart/PropertyMaps.cxx @@ -2,9 +2,9 @@ * * $RCSfile: PropertyMaps.cxx,v $ * - * $Revision: 1.20 $ + * $Revision: 1.21 $ * - * last change: $Author: bm $ $Date: 2001-05-11 18:17:55 $ + * last change: $Author: bm $ $Date: 2001-05-11 18:32:30 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -350,15 +350,6 @@ void XMLChartExportPropertyMapper::handleSpecialItem( SvXMLUnitConverter::convertDouble( sValueBuffer, fVal ); } break; - case XML_SCH_CONTEXT_SPECIAL_DATA_ROW_SOURCE: - { - chart::ChartDataRowSource eRowSource; - cppu::any2enum< chart::ChartDataRowSource >( eRowSource, rProperty.maValue ); - SvXMLUnitConverter::convertBool( sValueBuffer, - ( eRowSource == chart::ChartDataRowSource_ROWS )); - } - break; - case XML_SCH_CONTEXT_SPECIAL_DATA_LABEL_NUMBER: { rProperty.maValue >>= nValue; @@ -474,16 +465,6 @@ sal_Bool XMLChartImportPropertyMapper::handleSpecialItem( rProperty.maValue <<= nValue; } break; - case XML_SCH_CONTEXT_SPECIAL_DATA_ROW_SOURCE: - { - SvXMLUnitConverter::convertBool( bValue, rValue ); - if( bValue ) // ie data in rows is true - { - chart::ChartDataRowSource eRowSource( chart::ChartDataRowSource_ROWS ); - rProperty.maValue <<= eRowSource; - } - } - break; case XML_SCH_CONTEXT_SPECIAL_DATA_LABEL_NUMBER: { // modify old value |