Revert ScAccessibleCellBase::getCurrentValue to reutnr a numeric value again
b413324757
"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 as1cb1dca126
"Revert SwAccessibleCell::getCurrentValue to return a numeric value again" and needs further clarification apparently. Change-Id: Idb725724842ffa1aff811d66066912a22b2f2f6e
This commit is contained in:
@@ -233,8 +233,7 @@ uno::Any SAL_CALL
|
|||||||
uno::Any aAny;
|
uno::Any aAny;
|
||||||
if (mpDoc)
|
if (mpDoc)
|
||||||
{
|
{
|
||||||
OUString valStr(mpDoc->GetString(maCellAddress.Col(),maCellAddress.Row(),maCellAddress.Tab()));
|
aAny <<= mpDoc->GetValue(maCellAddress);
|
||||||
aAny <<= valStr;
|
|
||||||
}
|
}
|
||||||
return aAny;
|
return aAny;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user