[PATCH libreoffice-4-0] for internal data providers this makes no sense

Markus Mohrhard (via Code Review) gerrit at gerrit.libreoffice.org
Mon Mar 18 11:18:38 PDT 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/2819

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/19/2819/1

for internal data providers this makes no sense

Change-Id: Ic2651defd0ec8846dc0b0a81faee5dd6743310fb
(cherry picked from commit 7b12b4677f658fd2dc9ff40371823da59533fa45)
---
M sc/source/ui/view/drawvie4.cxx
1 file changed, 3 insertions(+), 0 deletions(-)



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 @@
     if (!xChartDoc.is())
         return;
 
+    if(xChartDoc->hasInternalDataProvider())
+        return;
+
     uno::Reference<chart2::data::XDataSource> xDataSource(xChartDoc, uno::UNO_QUERY);
     if (!xDataSource.is())
         return;

-- 
To view, visit https://gerrit.libreoffice.org/2819
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic2651defd0ec8846dc0b0a81faee5dd6743310fb
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: libreoffice-4-0
Gerrit-Owner: Markus Mohrhard <markus.mohrhard at googlemail.com>



More information about the LibreOffice mailing list