summaryrefslogtreecommitdiff
path: root/sw/source/core/access/accpara.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/access/accpara.cxx')
-rw-r--r--sw/source/core/access/accpara.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/sw/source/core/access/accpara.cxx b/sw/source/core/access/accpara.cxx
index b834d11c7920..335f06e86452 100644
--- a/sw/source/core/access/accpara.cxx
+++ b/sw/source/core/access/accpara.cxx
@@ -3470,10 +3470,12 @@ uno::Any SAL_CALL SwAccessibleParagraph::getExtendedAttributes()
OUString strHeading("heading-level:");
if( m_nHeadingLevel >= 0 )
strHeading += OUString::number(m_nHeadingLevel);
+ // tdf#84102: expose the same attribute with the name "level"
+ strHeading += ";level:";
+ if( m_nHeadingLevel >= 0 )
+ strHeading += OUString::number(m_nHeadingLevel);
strHeading += ";";
- strHeading += strHeading.copy(8); // tdf#84102: expose the same attribute with the name "level"
-
Ret <<= strHeading;
return Ret;