summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-07-15 21:28:07 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-07-16 08:15:20 +0200
commita40526eb9523e4c4286677bfc3458e8c3c6ef2de (patch)
tree746397fadbbdf2d50dc3803fbf73a5bd8b61a544 /chart2
parent6503c1c9c4fa0c0f07b1890668dab5799187053b (diff)
adapt code to last round of discussions
Change-Id: Id0d2bae2a232f80ebe46cb55602c15c57b074e87
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;