From e40bae2dc347ae6c7e3a9133fcdd78c62192a016 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 3 Dec 2013 09:30:25 +0100 Subject: [PATCH] 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 --- sc/source/ui/Accessibility/AccessibleCellBase.cxx | 3 +-- 1 file changed, 1 insertion(+), 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; }