summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
Diffstat (limited to 'oox')
-rw-r--r--oox/source/drawingml/chart/datasourcecontext.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/oox/source/drawingml/chart/datasourcecontext.cxx b/oox/source/drawingml/chart/datasourcecontext.cxx
index 0620b6aef8b8..f4f6b95e0049 100644
--- a/oox/source/drawingml/chart/datasourcecontext.cxx
+++ b/oox/source/drawingml/chart/datasourcecontext.cxx
@@ -96,10 +96,10 @@ void DoubleSequenceContext::onCharacters( const OUString& rChars )
{
/* Import categories as String even though it could
* be values.
+ * n#810508: xVal needs to be imported as double
* TODO: NumberFormat conversion, remove the check then.
*/
- if( isParentElement( C_TOKEN( cat ), 4 ) ||
- isParentElement( C_TOKEN( xVal ), 4 ) )
+ if( isParentElement( C_TOKEN( cat ), 4 ) )
mrModel.maData[ mnPtIndex ] <<= rChars;
else
mrModel.maData[ mnPtIndex ] <<= rChars.toDouble();