diff options
author | Muthu Subramanian <sumuthu@suse.com> | 2013-03-28 20:12:54 +0530 |
---|---|---|
committer | Muthu Subramanian <sumuthu@suse.com> | 2013-03-28 20:14:25 +0530 |
commit | 38e5096b1c3d21a2b4d7588f3c846f1f45a7a3e0 (patch) | |
tree | 5e9ed8f3526a1861ad32863b1035cbaea0ed6a14 /oox | |
parent | 0b0f22311b0cf24e795d3f8eb12f19c357485fed (diff) |
n#810508: Fixes import of Scatternet and Bubble charts.
xVal needs to be imported as double and not as strings.
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/drawingml/chart/datasourcecontext.cxx | 4 |
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(); |