chart2/source/controller/sidebar/ChartLinePanel.cxx |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

New commits:
commit 73a82b425b4dc02ef4ad3946b71c067a6411045c
Author:     Justin Luth <jl...@mail.com>
AuthorDate: Sat May 20 11:38:16 2023 -0400
Commit:     Justin Luth <jl...@mail.com>
CommitDate: Wed May 24 23:29:58 2023 +0200

    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 <jl...@mail.com>
    Tested-by: Jenkins

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;

Reply via email to