diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-03-17 01:46:05 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-03-18 02:30:15 +0100 |
commit | 7b12b4677f658fd2dc9ff40371823da59533fa45 (patch) | |
tree | d072bc5ce318747512c1a8dee26cf09ec8f94693 /sc | |
parent | a6d12acda9bb24f2acca45e0bd1aea577e49fbbf (diff) |
for internal data providers this makes no sense
Change-Id: Ic2651defd0ec8846dc0b0a81faee5dd6743310fb
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/view/drawvie4.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/source/ui/view/drawvie4.cxx b/sc/source/ui/view/drawvie4.cxx index a6289d0b9aa7..82e70f7c19c3 100644 --- a/sc/source/ui/view/drawvie4.cxx +++ b/sc/source/ui/view/drawvie4.cxx @@ -159,6 +159,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; |