diff options
Diffstat (limited to 'chart2/source/controller/sidebar/ChartLinePanel.cxx')
-rw-r--r-- | chart2/source/controller/sidebar/ChartLinePanel.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/chart2/source/controller/sidebar/ChartLinePanel.cxx b/chart2/source/controller/sidebar/ChartLinePanel.cxx index 8f923bc04103..daf6045b244f 100644 --- a/chart2/source/controller/sidebar/ChartLinePanel.cxx +++ b/chart2/source/controller/sidebar/ChartLinePanel.cxx @@ -46,7 +46,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; |