[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.4' - chart2/source

Pranam Lashkari (via logerrit) logerrit at kemper.freedesktop.org
Wed Sep 2 08:19:02 UTC 2020


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

New commits:
commit b1d4ebc43651c4d091054f6682a8405b99a91fa7
Author:     Pranam Lashkari <lpranam at collabora.com>
AuthorDate: Tue Sep 1 19:14:37 2020 +0530
Commit:     Muhammet Kara <muhammet.kara at collabora.com>
CommitDate: Wed Sep 2 10:18:22 2020 +0200

    On double click on chart select the chart backgroud
    
    Change-Id: I03fa26a6d88f1436bac00fef7867451378efa04a
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101848
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
    Reviewed-by: Muhammet Kara <muhammet.kara at collabora.com>

diff --git a/chart2/source/controller/sidebar/ChartLinePanel.cxx b/chart2/source/controller/sidebar/ChartLinePanel.cxx
index 356bd229fa24..fbec91c8261f 100644
--- a/chart2/source/controller/sidebar/ChartLinePanel.cxx
+++ b/chart2/source/controller/sidebar/ChartLinePanel.cxx
@@ -47,7 +47,10 @@ OUString getCID(const css::uno::Reference<css::frame::XModel>& xModel)
 
     css::uno::Any aAny = xSelectionSupplier->getSelection();
     if (!aAny.hasValue())
-        return OUString();
+    {
+        xSelectionSupplier->select(css::uno::makeAny(OUString("CID/Page=")));
+        aAny = xSelectionSupplier->getSelection();
+    }
 
     OUString aCID;
     aAny >>= aCID;


More information about the Libreoffice-commits mailing list