Kaydet (Commit) 38e5096b authored tarafından Muthu Subramanian's avatar Muthu Subramanian

n#810508: Fixes import of Scatternet and Bubble charts.

xVal needs to be imported as double and not as strings.
üst 0b0f2231
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment