summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-03-17 01:46:05 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-03-18 02:30:15 +0100
commit7b12b4677f658fd2dc9ff40371823da59533fa45 (patch)
treed072bc5ce318747512c1a8dee26cf09ec8f94693 /sc
parenta6d12acda9bb24f2acca45e0bd1aea577e49fbbf (diff)
for internal data providers this makes no sense
Change-Id: Ic2651defd0ec8846dc0b0a81faee5dd6743310fb
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/view/drawvie4.cxx3
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;