Kaydet (Commit) 5b981e1d authored tarafından Markus Mohrhard's avatar Markus Mohrhard

add the missing type information for the parsed string

Change-Id: I4e2567ba2a9000763c54b7d38ab4ba66a13a77f4
üst 08fe6f08
...@@ -358,7 +358,10 @@ ScInputStringType ScStringUtil::parseInputString( ...@@ -358,7 +358,10 @@ ScInputStringType ScStringUtil::parseInputString(
sal_uInt32 nNumFormat = rFormatter.GetStandardIndex(eLang); sal_uInt32 nNumFormat = rFormatter.GetStandardIndex(eLang);
if (rFormatter.IsNumberFormat(rStr, nNumFormat, aRet.mfValue)) if (rFormatter.IsNumberFormat(rStr, nNumFormat, aRet.mfValue))
{
aRet.meType = ScInputStringType::Number;
aRet.mnFormatType = rFormatter.GetType(nNumFormat); aRet.mnFormatType = rFormatter.GetType(nNumFormat);
}
else if (!rStr.isEmpty()) else if (!rStr.isEmpty())
aRet.meType = ScInputStringType::Text; aRet.meType = ScInputStringType::Text;
......
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