summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacobo Aragunde PĂ©rez <jaragunde@igalia.com>2015-03-06 16:58:57 +0100
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2015-03-10 14:59:19 +0000
commitac1d20096f31899db10f86742e422f8e960223d5 (patch)
tree0d294e057d8093490ad8f074b818dcf970f8dc22
parent09669c4f89ad5c4c012ba114811b49f7805e3801 (diff)
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@googlemail.com> Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
-rw-r--r--sw/source/core/access/accpara.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/core/access/accpara.cxx b/sw/source/core/access/accpara.cxx
index 2a0a67a66287..7f4652ca375d 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;