summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/controller/sidebar/ChartElementsPanel.cxx6
-rw-r--r--chart2/source/controller/sidebar/ChartElementsPanel.hxx2
2 files changed, 2 insertions, 6 deletions
diff --git a/chart2/source/controller/sidebar/ChartElementsPanel.cxx b/chart2/source/controller/sidebar/ChartElementsPanel.cxx
index e073e5fcd92c..528bae3cb036 100644
--- a/chart2/source/controller/sidebar/ChartElementsPanel.cxx
+++ b/chart2/source/controller/sidebar/ChartElementsPanel.cxx
@@ -271,8 +271,8 @@ ChartElementsPanel::ChartElementsPanel(
get(mpCBLegend, "checkbutton_legend");
get(mpCBGridVertical, "checkbutton_gridline_vertical");
get(mpCBGridHorizontal, "checkbutton_gridline_horizontal");
- get(mpCBShowLabel, "checkbutton_label");
- get(mpCBTrendline, "checkbutton_trendline");
+
+ Initialize();
}
ChartElementsPanel::~ChartElementsPanel()
@@ -300,8 +300,6 @@ void ChartElementsPanel::dispose()
mpCBLegend.clear();
mpCBGridVertical.clear();
mpCBGridHorizontal.clear();
- mpCBShowLabel.clear();
- mpCBTrendline.clear();
PanelLayout::dispose();
}
diff --git a/chart2/source/controller/sidebar/ChartElementsPanel.hxx b/chart2/source/controller/sidebar/ChartElementsPanel.hxx
index dd68f79265fc..316eb5dee253 100644
--- a/chart2/source/controller/sidebar/ChartElementsPanel.hxx
+++ b/chart2/source/controller/sidebar/ChartElementsPanel.hxx
@@ -87,8 +87,6 @@ private:
VclPtr<CheckBox> mpCBLegend;
VclPtr<CheckBox> mpCBGridVertical;
VclPtr<CheckBox> mpCBGridHorizontal;
- VclPtr<CheckBox> mpCBShowLabel;
- VclPtr<CheckBox> mpCBTrendline;
css::uno::Reference<css::frame::XFrame> mxFrame;
::sfx2::sidebar::EnumContext maContext;