winaccessibility/source/service/AccObject.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a148f119c7f6fe758f9bf8905ac12c646d934a52
Author: Niklas Johansson <sleeping.pil...@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 <caol...@redhat.com>
    Tested-by: Caolán McNamara <caol...@redhat.com>
    (cherry picked from commit 55eca9dbb34aec8c435da91c0748453e3e097f1e)
    Reviewed-on: https://gerrit.libreoffice.org/12299
    Reviewed-by: Michael Stahl <mst...@redhat.com>
    Tested-by: Michael Stahl <mst...@redhat.com>

diff --git a/winaccessibility/source/service/AccObject.cxx 
b/winaccessibility/source/service/AccObject.cxx
index 63db986..3f957e1 100644
--- a/winaccessibility/source/service/AccObject.cxx
+++ b/winaccessibility/source/service/AccObject.cxx
@@ -392,6 +392,7 @@ void  AccObject::SetValue( Any pAny )
     case TEXT:
     case PARAGRAPH:
     case HEADING:
+    case TABLE_CELL:
 
         if(pRText.get())
         {
@@ -402,7 +403,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() );
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to