From 73a82b425b4dc02ef4ad3946b71c067a6411045c Mon Sep 17 00:00:00 2001 From: Justin Luth Date: Sat, 20 May 2023 11:38:16 -0400 Subject: tdf#138279 Revert "On double click on chart select the chart backgroud" This reverts 7.1 commit 6a915073f8400fd34274cf311994bbc9bf498ab6. The change was simply wrong. There is NOTHING about this context that indicates that a double-click is happening. So whatever this patch was trying to do, it simply was made in a completely wrong way. So best to just revert, and put the onus back on the interested parties to redesign a fix for their double-click issue. Change-Id: Ia209c0552839d6cce1b348432789f0f861ac5703 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152023 Reviewed-by: Justin Luth Tested-by: Jenkins --- chart2/source/controller/sidebar/ChartLinePanel.cxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'chart2') diff --git a/chart2/source/controller/sidebar/ChartLinePanel.cxx b/chart2/source/controller/sidebar/ChartLinePanel.cxx index 9dbcc08ebc04..128718ff6694 100644 --- a/chart2/source/controller/sidebar/ChartLinePanel.cxx +++ b/chart2/source/controller/sidebar/ChartLinePanel.cxx @@ -55,10 +55,7 @@ OUString getCID(const rtl::Reference<::chart::ChartModel>& xModel) css::uno::Any aAny = xSelectionSupplier->getSelection(); if (!aAny.hasValue()) - { - xSelectionSupplier->select(css::uno::Any(OUString("CID/Page="))); - aAny = xSelectionSupplier->getSelection(); - } + return OUString(); OUString aCID; aAny >>= aCID; -- cgit