summaryrefslogtreecommitdiff
path: root/chart2/source
diff options
context:
space:
mode:
authorJustin Luth <jluth@mail.com>2023-05-20 11:38:16 -0400
committerJustin Luth <jluth@mail.com>2023-05-24 23:29:58 +0200
commit73a82b425b4dc02ef4ad3946b71c067a6411045c (patch)
treec01f9d96c8d0b2b26b057d00af0af33e225fe87d /chart2/source
parentb0e2b60fa45f236f6a993cc1295a7afddabb5098 (diff)
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 <jluth@mail.com> Tested-by: Jenkins
Diffstat (limited to 'chart2/source')
-rw-r--r--chart2/source/controller/sidebar/ChartLinePanel.cxx5
1 files changed, 1 insertions, 4 deletions
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;