Revert ScAccessibleCellBase::getCurrentValue to reutnr a numeric value again
b41332475783c31136673fb44cf4c411bb0148f8 "Integrate branch of IAccessible2" had changed it to return a string, but that neither matched the documentation of css.accessibility.XAccessibleValue nor did it satisfy JunitTest_sc_unoapi. This is the same underlying issue as 1cb1dca1260da2cea5b6800483e86a6d6b251844 "Revert SwAccessibleCell::getCurrentValue to return a numeric value again" and needs further clarification apparently. Change-Id: Idb725724842ffa1aff811d66066912a22b2f2f6e
This commit is contained in:
parent
44a6eee8e0
commit
e40bae2dc3
@ -233,8 +233,7 @@ uno::Any SAL_CALL
|
||||
uno::Any aAny;
|
||||
if (mpDoc)
|
||||
{
|
||||
OUString valStr(mpDoc->GetString(maCellAddress.Col(),maCellAddress.Row(),maCellAddress.Tab()));
|
||||
aAny <<= valStr;
|
||||
aAny <<= mpDoc->GetValue(maCellAddress);
|
||||
}
|
||||
return aAny;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user