diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2018-11-18 04:37:02 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2018-11-18 06:16:28 +0100 |
commit | 4bd2e57653ce22044ab984b06c84f22ef287cecf (patch) | |
tree | 8929b58a90c61627e763e46bfd40fbbb7951284d /oox/source | |
parent | 14f83b8a8ec8f2fe1570db285f4527b9fd5d86ea (diff) |
tdf#102186, don't overwrite the deleted flag
Change-Id: I3cc69a0baebc55ad52b64960657e9daa4be8f39d
Reviewed-on: https://gerrit.libreoffice.org/63510
Tested-by: Jenkins
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'oox/source')
-rw-r--r-- | oox/source/drawingml/chart/seriescontext.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/oox/source/drawingml/chart/seriescontext.cxx b/oox/source/drawingml/chart/seriescontext.cxx index a6763ad2fb74..10e3af70108f 100644 --- a/oox/source/drawingml/chart/seriescontext.cxx +++ b/oox/source/drawingml/chart/seriescontext.cxx @@ -93,6 +93,7 @@ void lclDataLabelSharedCharacters( ContextHandler2 const & rContext, const OUStr DataLabelContext::DataLabelContext( ContextHandler2Helper& rParent, DataLabelModel& rModel ) : ContextBase< DataLabelModel >( rParent, rModel ) { + mrModel.mbDeleted = false; } DataLabelContext::~DataLabelContext() @@ -101,7 +102,6 @@ DataLabelContext::~DataLabelContext() ContextHandlerRef DataLabelContext::onCreateContext( sal_Int32 nElement, const AttributeList& rAttribs ) { - mrModel.mbDeleted = false; if( isRootElement() ) switch( nElement ) { case C_TOKEN( idx ): @@ -124,6 +124,7 @@ void DataLabelContext::onCharacters( const OUString& rChars ) DataLabelsContext::DataLabelsContext( ContextHandler2Helper& rParent, DataLabelsModel& rModel ) : ContextBase< DataLabelsModel >( rParent, rModel ) { + mrModel.mbDeleted = false; } DataLabelsContext::~DataLabelsContext() @@ -132,7 +133,6 @@ DataLabelsContext::~DataLabelsContext() ContextHandlerRef DataLabelsContext::onCreateContext( sal_Int32 nElement, const AttributeList& rAttribs ) { - mrModel.mbDeleted = false; bool bMSO2007Doc = getFilter().isMSO2007Document(); if( isRootElement() ) switch( nElement ) { |