sc/source/ui/view/drawvie4.cxx | 3 +++ 1 file changed, 3 insertions(+)
New commits: commit 34925853dbd32faa5fc49e1f96c2ffb42114974a Author: Markus Mohrhard <[email protected]> Date: Sun Mar 17 01:46:05 2013 +0100 for internal data providers this makes no sense Change-Id: Ic2651defd0ec8846dc0b0a81faee5dd6743310fb (cherry picked from commit 7b12b4677f658fd2dc9ff40371823da59533fa45) Reviewed-on: https://gerrit.libreoffice.org/2819 Reviewed-by: Fridrich Strba <[email protected]> Tested-by: Fridrich Strba <[email protected]> (cherry picked from commit 7b73ff9932f4bd8ab428855ea4fe34898fe74527) Reviewed-on: https://gerrit.libreoffice.org/2983 Reviewed-by: Eike Rathke <[email protected]> Reviewed-by: Petr Mladek <[email protected]> Tested-by: Petr Mladek <[email protected]> diff --git a/sc/source/ui/view/drawvie4.cxx b/sc/source/ui/view/drawvie4.cxx index 651aea2..ceebfbd 100644 --- a/sc/source/ui/view/drawvie4.cxx +++ b/sc/source/ui/view/drawvie4.cxx @@ -169,6 +169,9 @@ void getRangeFromOle2Object(const SdrOle2Obj& rObj, std::vector<OUString>& rRang if (!xChartDoc.is()) return; + if(xChartDoc->hasInternalDataProvider()) + return; + uno::Reference<chart2::data::XDataSource> xDataSource(xChartDoc, uno::UNO_QUERY); if (!xDataSource.is()) return; _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
