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

Markus Mohrhard markus.mohrhard at googlemail.com
Tue Mar 19 01:35:37 PDT 2013


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

New commits:
commit 7b73ff9932f4bd8ab428855ea4fe34898fe74527
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>

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