[ooo-build-commit] Branch 'ooo-build-3-1-1' - patches/dev300

Radek Doulík rodo at kemper.freedesktop.org
Mon Aug 24 08:42:41 PDT 2009


 patches/dev300/apply                             |    2 ++
 patches/dev300/oox-fix-create-data-sequence.diff |   12 ++++++++++++
 2 files changed, 14 insertions(+)

New commits:
commit b5f9376fd953c915c7dfe581f2697a84f3980cbd
Author: Radek Doulik <rodo at rychlik.lounovice>
Date:   Mon Aug 24 17:09:39 2009 +0200

    fix data sequence creation, fixes partially n#500175
    
    * patches/dev300/apply:
    * patches/dev300/oox-fix-create-data-sequence.diff:
    
    assign the newly created data sequence to returning reference. this fixes the bug only partially, but fixes a broken import in sc, which code derives from oox

diff --git a/patches/dev300/apply b/patches/dev300/apply
index d86bfae..55183b2 100644
--- a/patches/dev300/apply
+++ b/patches/dev300/apply
@@ -3409,6 +3409,8 @@ xmloff-layoutcode.diff, cocofan
 
 [ Fixes ]
 avoid-too-long-filenames.diff
+oox-fix-create-data-sequence.diff, n#500175, rodo
+
 [ Fixes < ooo310-m19 ]
 svx-gfx-lost-fix.diff, n#531221, i#104146, thorsten
 drawinglayer-textbounds-fix.diff, n#523603, thorsten
diff --git a/patches/dev300/oox-fix-create-data-sequence.diff b/patches/dev300/oox-fix-create-data-sequence.diff
new file mode 100644
index 0000000..6c91f5d
--- /dev/null
+++ b/patches/dev300/oox-fix-create-data-sequence.diff
@@ -0,0 +1,12 @@
+diff -rup ../../build-bak/ooo310-m17/oox/source/drawingml/chart/datasourceconverter.cxx oox/source/drawingml/chart/datasourceconverter.cxx
+--- ../../build-bak/ooo310-m17/oox/source/drawingml/chart/datasourceconverter.cxx	2009-08-24 16:45:12.000000000 +0200
++++ oox/source/drawingml/chart/datasourceconverter.cxx	2009-08-24 16:58:03.000000000 +0200
+@@ -59,7 +59,7 @@ Reference< XDataSequence > DataSequenceC
+     Reference< XDataSequence > xDataSeq;
+     if( getChartConverter() )
+     {
+-        getChartConverter()->createDataSequence( getChartDocument()->getDataProvider(), mrModel );
++        xDataSeq = getChartConverter()->createDataSequence( getChartDocument()->getDataProvider(), mrModel );
+ 
+         // set sequence role
+         PropertySet aSeqProp( xDataSeq );


More information about the ooo-build-commit mailing list