chart2/source/controller/sidebar/ChartLinePanel.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
New commits: commit 6a915073f8400fd34274cf311994bbc9bf498ab6 Author: Pranam Lashkari <lpra...@collabora.com> AuthorDate: Tue Sep 1 19:14:37 2020 +0530 Commit: Muhammet Kara <muhammet.k...@collabora.com> CommitDate: Wed Sep 2 10:18:53 2020 +0200 On double click on chart select the chart backgroud Change-Id: I03fa26a6d88f1436bac00fef7867451378efa04a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101865 Tested-by: Jenkins Reviewed-by: Muhammet Kara <muhammet.k...@collabora.com> diff --git a/chart2/source/controller/sidebar/ChartLinePanel.cxx b/chart2/source/controller/sidebar/ChartLinePanel.cxx index 449b3efa278f..8c4ef5e39ca9 100644 --- a/chart2/source/controller/sidebar/ChartLinePanel.cxx +++ b/chart2/source/controller/sidebar/ChartLinePanel.cxx @@ -55,7 +55,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; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits