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

Markus Mohrhard (via Code Review) gerrit at gerrit.libreoffice.org
Mon Mar 25 02:52:32 PDT 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/2983

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/83/2983/1

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 <fridrich at documentfoundation.org>
Tested-by: Fridrich Strba <fridrich at documentfoundation.org>
(cherry picked from commit 7b73ff9932f4bd8ab428855ea4fe34898fe74527)
---
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/2983
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-2
Gerrit-Owner: Markus Mohrhard <markus.mohrhard at googlemail.com>
Gerrit-Reviewer: Fridrich Strba <fridrich at documentfoundation.org>



More information about the LibreOffice mailing list