summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacobo Aragunde Pérez <jaragunde@igalia.com>2015-03-06 16:58:57 +0100
committerJacobo Aragunde Pérez <jaragunde@igalia.com>2015-03-09 10:28:54 +0100
commite697d9694a62b2943fa19b0fcd19e9b3354f6ad7 (patch)
treef99ad5278c8f20933d12852e237d40483cc75f25
parent8c7a68ef4201dac712ef489762a119b745f64988 (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
-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 e2b282911c0c..5fdbaccf01d8 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;