[Libreoffice-commits] core.git: Branch 'libreoffice-4-0-2' - sc/source

Markus Mohrhard markus.mohrhard at googlemail.com
Mon Mar 25 06:25:22 PDT 2013


 sc/source/ui/view/drawvie4.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 34925853dbd32faa5fc49e1f96c2ffb42114974a
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
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 <fridrich at documentfoundation.org>
    Tested-by: Fridrich Strba <fridrich at documentfoundation.org>
    (cherry picked from commit 7b73ff9932f4bd8ab428855ea4fe34898fe74527)
    Reviewed-on: https://gerrit.libreoffice.org/2983
    Reviewed-by: Eike Rathke <erack at redhat.com>
    Reviewed-by: Petr Mladek <pmladek at suse.cz>
    Tested-by: Petr Mladek <pmladek at suse.cz>

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;


More information about the Libreoffice-commits mailing list