diff options
author | Jean-Tiare Le Bigot <admin@jtlebi.fr> | 2016-11-14 00:15:15 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-11-14 16:28:51 +0000 |
commit | 9a86bf76fe1d8457c12026b9f96c0ce971b29b53 (patch) | |
tree | 53f5d2fae7a03a4541463dc09ceef47cac4a5f9e /oox/source/drawingml | |
parent | 2fdbe655bb63dd40fda9b684c5715f21fd5ab639 (diff) |
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 <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'oox/source/drawingml')
-rw-r--r-- | oox/source/drawingml/chart/titlecontext.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/oox/source/drawingml/chart/titlecontext.cxx b/oox/source/drawingml/chart/titlecontext.cxx index 6064178a80d2..6bbdf0f2b121 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; } } |