sw/source/core/access/accpara.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit ac1d20096f31899db10f86742e422f8e960223d5
Author: Jacobo Aragunde Pérez <jaragu...@igalia.com>
Date:   Fri Mar 6 16:58:57 2015 +0100

    tdf#84102: Expose duplicated "level" accessible attribute.
    
    There is no standard for this so some ATs will expect "level" and
    others "heading-level"; we will expose both.
    
    Change-Id: Ia935f7efdea11dc9be66fd9a54e1df0432c74662
    (cherry picked from commit e697d9694a62b2943fa19b0fcd19e9b3354f6ad7)
    Reviewed-on: https://gerrit.libreoffice.org/14808
    Tested-by: Christian Lohmaier <lohmaier+libreoff...@googlemail.com>
    Reviewed-by: Christian Lohmaier <lohmaier+libreoff...@googlemail.com>

diff --git a/sw/source/core/access/accpara.cxx 
b/sw/source/core/access/accpara.cxx
index 2a0a67a..7f4652c 100644
--- a/sw/source/core/access/accpara.cxx
+++ b/sw/source/core/access/accpara.cxx
@@ -3905,6 +3905,8 @@ uno::Any SAL_CALL 
SwAccessibleParagraph::getExtendedAttributes()
         strHeading += OUString::number(nHeadingLevel, 10);
     strHeading += ";";
 
+    strHeading += strHeading.copy(8); // tdf#84102: expose the same attribute 
with the name "level"
+
     Ret <<= strHeading;
 
     return Ret;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to