summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-12-03 09:30:25 +0100
committerMichael Meeks <michael.meeks@collabora.com>2014-06-10 16:33:50 +0100
commitada340a051dfa3e62d82c18b9739ff25584260dd (patch)
tree8c78ff44c76758f32cd1c00f69b28083b3e3a673 /sc
parent6e80364dffb281d9a2e2b03aba93ac199f024478 (diff)
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
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/Accessibility/AccessibleCellBase.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/ui/Accessibility/AccessibleCellBase.cxx b/sc/source/ui/Accessibility/AccessibleCellBase.cxx
index d021dbd90ccb..d1817b361521 100644
--- a/sc/source/ui/Accessibility/AccessibleCellBase.cxx
+++ b/sc/source/ui/Accessibility/AccessibleCellBase.cxx
@@ -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;
}