[Libreoffice-commits] core.git: winaccessibility/source
Niklas Johansson
sleeping.pillow at gmail.com
Fri Oct 17 02:31:50 PDT 2014
winaccessibility/source/service/AccObject.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 55eca9dbb34aec8c435da91c0748453e3e097f1e
Author: Niklas Johansson <sleeping.pillow at gmail.com>
Date: Thu Oct 16 12:14:15 2014 +0200
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 at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/winaccessibility/source/service/AccObject.cxx b/winaccessibility/source/service/AccObject.cxx
index 47a25a2..180208d 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() );
More information about the Libreoffice-commits
mailing list