[Libreoffice-commits] core.git: Branch 'libreoffice-4-4' - sw/source

Jacobo Aragunde Pérez jaragunde at igalia.com
Tue Mar 10 08:00:29 PDT 2015


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

New commits:
commit ac1d20096f31899db10f86742e422f8e960223d5
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
    (cherry picked from commit e697d9694a62b2943fa19b0fcd19e9b3354f6ad7)
    Reviewed-on: https://gerrit.libreoffice.org/14808
    Tested-by: Christian Lohmaier <lohmaier+LibreOffice at googlemail.com>
    Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice at 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;


More information about the Libreoffice-commits mailing list