summaryrefslogtreecommitdiff
path: root/winaccessibility
diff options
context:
space:
mode:
authorNiklas Johansson <sleeping.pillow@gmail.com>2014-10-16 12:14:15 +0200
committerCaolán McNamara <caolanm@redhat.com>2014-10-17 09:31:28 +0000
commit55eca9dbb34aec8c435da91c0748453e3e097f1e (patch)
treefd5650b12e0970a8626fb28748b148ea8d781e9e /winaccessibility
parent42d5cd314a351e325b6099dd523bbef2e4e4317a (diff)
fdo#74441 [Accessiblity] Don't expose 0 for empty cells in Calc
At the moment non numercial cells in Calc is exposed to AT tools (screen readers etc) as the value 0. It makes more sence to present the string value of the cell which basically is what a sighted user will see. This small patch should be a good start into making Calc more accessible on Windows. Change-Id: Ide76f2dc044c98f32aa78836049f12f2251522eb Reviewed-on: https://gerrit.libreoffice.org/11996 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'winaccessibility')
-rw-r--r--winaccessibility/source/service/AccObject.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/winaccessibility/source/service/AccObject.cxx b/winaccessibility/source/service/AccObject.cxx
index 47a25a2c74bc..180208d1f02b 100644
--- a/winaccessibility/source/service/AccObject.cxx
+++ b/winaccessibility/source/service/AccObject.cxx
@@ -390,6 +390,7 @@ void AccObject::SetValue( Any pAny )
case TEXT:
case PARAGRAPH:
case HEADING:
+ case TABLE_CELL:
if(pRText.get())
{
@@ -400,7 +401,6 @@ void AccObject::SetValue( Any pAny )
case TREE_ITEM:
//case CHECK_BOX: //Commented by Li Xing to disable the value for general checkbox
case COMBO_BOX:
- case TABLE_CELL:
case NOTE:
case SCROLL_BAR:
m_pIMAcc->Put_XAccValue( GetMAccessibleValueFromAny(pAny).getStr() );