summaryrefslogtreecommitdiff
path: root/chart2/source/controller/sidebar/ChartAxisPanel.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/controller/sidebar/ChartAxisPanel.cxx')
-rw-r--r--chart2/source/controller/sidebar/ChartAxisPanel.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/controller/sidebar/ChartAxisPanel.cxx b/chart2/source/controller/sidebar/ChartAxisPanel.cxx
index c1d9a4e62871..aca063e84575 100644
--- a/chart2/source/controller/sidebar/ChartAxisPanel.cxx
+++ b/chart2/source/controller/sidebar/ChartAxisPanel.cxx
@@ -338,7 +338,7 @@ void ChartAxisPanel::updateModel(
css::uno::Reference<css::view::XSelectionSupplier> oldSelectionSupplier(
mxModel->getCurrentController(), css::uno::UNO_QUERY);
if (oldSelectionSupplier.is()) {
- oldSelectionSupplier->removeSelectionChangeListener(mxSelectionListener.get());
+ oldSelectionSupplier->removeSelectionChangeListener(mxSelectionListener);
}
mxModel = xModel;