oox/source/drawingml/chart/titlecontext.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 9a86bf76fe1d8457c12026b9f96c0ce971b29b53
Author: Jean-Tiare Le Bigot <ad...@jtlebi.fr>
Date:   Mon Nov 14 00:15:15 2016 +0100

    chartx: (regression) fix crash on label import
    
    The sparse chart import moved from assuming that the number of elements
    in the list parsed from ooxml is the same as the real number of
    elements. For this, the patch relies on a new member that was not always
    initialized. This patch fixes a missing initialization. According to
    'grep' this should be the last one.
    
    Change-Id: I31d8a653f227100436360deef4a53c9418de9d93
    Reviewed-on: https://gerrit.libreoffice.org/30838
    Tested-by: Jenkins <c...@libreoffice.org>
    Reviewed-by: Caolán McNamara <caol...@redhat.com>
    Tested-by: Caolán McNamara <caol...@redhat.com>

diff --git a/oox/source/drawingml/chart/titlecontext.cxx 
b/oox/source/drawingml/chart/titlecontext.cxx
index 6064178..6bbdf0f 100644
--- a/oox/source/drawingml/chart/titlecontext.cxx
+++ b/oox/source/drawingml/chart/titlecontext.cxx
@@ -78,6 +78,7 @@ void TextContext::onCharacters( const OUString& rChars )
 
         // Also store it as a single element type for non-Excel document.
         mrModel.mxDataSeq->maData[0] <<= rChars;
+        mrModel.mxDataSeq->mnPointCount = 1;
     }
 }
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to