[Libreoffice-commits] core.git: sw/source

Jacobo Aragunde Pérez jaragunde at igalia.com
Mon Mar 9 02:31:20 PDT 2015


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

New commits:
commit e697d9694a62b2943fa19b0fcd19e9b3354f6ad7
Author: Jacobo Aragunde Pérez <jaragunde at 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

diff --git a/sw/source/core/access/accpara.cxx b/sw/source/core/access/accpara.cxx
index e2b2829..5fdbacc 100644
--- a/sw/source/core/access/accpara.cxx
+++ b/sw/source/core/access/accpara.cxx
@@ -3877,6 +3877,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;


More information about the Libreoffice-commits mailing list