summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chart2/source/controller/main/ChartController_Properties.cxx18
1 files changed, 4 insertions, 14 deletions
diff --git a/chart2/source/controller/main/ChartController_Properties.cxx b/chart2/source/controller/main/ChartController_Properties.cxx
index 7ff6db70e922..304af1d07dc6 100644
--- a/chart2/source/controller/main/ChartController_Properties.cxx
+++ b/chart2/source/controller/main/ChartController_Properties.cxx
@@ -102,6 +102,10 @@ wrapper::ItemConverter* createItemConverter(
//create itemconverter for a single object
switch(eObjectType)
{
+ case OBJECTTYPE_DATA_STOCK_LOSS:
+ case OBJECTTYPE_DATA_STOCK_GAIN:
+ case OBJECTTYPE_DIAGRAM_WALL:
+ case OBJECTTYPE_DIAGRAM_FLOOR:
case OBJECTTYPE_PAGE:
pItemConverter = new wrapper::GraphicPropertyItemConverter(
xObjectProperties, rDrawModel.GetItemPool(),
@@ -136,13 +140,6 @@ wrapper::ItemConverter* createItemConverter(
break;
case OBJECTTYPE_DIAGRAM:
break;
- case OBJECTTYPE_DIAGRAM_WALL:
- case OBJECTTYPE_DIAGRAM_FLOOR:
- pItemConverter = new wrapper::GraphicPropertyItemConverter(
- xObjectProperties, rDrawModel.GetItemPool(),
- rDrawModel, xChartModel,
- wrapper::GraphicObjectType::LineAndFillProperties );
- break;
case OBJECTTYPE_AXIS:
{
std::optional<awt::Size> pRefSize;
@@ -283,13 +280,6 @@ wrapper::ItemConverter* createItemConverter(
}
case OBJECTTYPE_DATA_STOCK_RANGE:
break;
- case OBJECTTYPE_DATA_STOCK_LOSS:
- case OBJECTTYPE_DATA_STOCK_GAIN:
- pItemConverter = new wrapper::GraphicPropertyItemConverter(
- xObjectProperties, rDrawModel.GetItemPool(),
- rDrawModel, xChartModel,
- wrapper::GraphicObjectType::LineAndFillProperties );
- break;
case OBJECTTYPE_DATA_TABLE:
{
pItemConverter = new wrapper::DataTableItemConverter(