diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-07-27 13:19:03 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-07-27 13:19:03 +0100 |
commit | 0d174c974819d781804026f4c7e916a8092315c5 (patch) | |
tree | 9931ac6db67db694448a3bebe0e609a54752654d /editeng | |
parent | 8bb1726007f641dff2aa17d2e79a089e09fd9770 (diff) |
Resolves: tdf#101003 don't give paras in editeng accessible names
change since...
commit c23ab5eaed57cc3fb5860e26c591c73c5b22687b
Author: Steve Yin <steve_y@apache.org>
Date: Tue Nov 26 14:25:22 2013 +0000
Integrate branch of IAccessible2
keep the accessible description, but drop thea accessible name which
is reportedly an undesirable change.
Change-Id: I8f9c53ef967c4e566fde1829832aa035efce4f23
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/accessibility/AccessibleEditableTextPara.cxx | 11 | ||||
-rw-r--r-- | editeng/source/accessibility/accessibility.src | 5 |
2 files changed, 2 insertions, 14 deletions
diff --git a/editeng/source/accessibility/AccessibleEditableTextPara.cxx b/editeng/source/accessibility/AccessibleEditableTextPara.cxx index a719dbf8d702..709a229f0932 100644 --- a/editeng/source/accessibility/AccessibleEditableTextPara.cxx +++ b/editeng/source/accessibility/AccessibleEditableTextPara.cxx @@ -785,15 +785,8 @@ namespace accessibility OUString SAL_CALL AccessibleEditableTextPara::getAccessibleName() throw (uno::RuntimeException, std::exception) { - SolarMutexGuard aGuard; - - // throws if defunc - sal_Int32 nPara( GetParagraphIndex() ); - - // Get the string from the resource for the specified id. - OUString sStr(EditResId(RID_SVXSTR_A11Y_PARAGRAPH_NAME)); - OUString sParaIndex = OUString::number(nPara); - return sStr.replaceFirst("$(ARG)", sParaIndex); + //See tdf#101003 before implementing a body + return OUString(); } uno::Reference< XAccessibleRelationSet > SAL_CALL AccessibleEditableTextPara::getAccessibleRelationSet() throw (uno::RuntimeException, std::exception) diff --git a/editeng/source/accessibility/accessibility.src b/editeng/source/accessibility/accessibility.src index d66829019a9e..f1ff0daff47f 100644 --- a/editeng/source/accessibility/accessibility.src +++ b/editeng/source/accessibility/accessibility.src @@ -34,9 +34,4 @@ String RID_SVXSTR_A11Y_PARAGRAPH_DESCRIPTION Text [ en-US ] = "Paragraph: $(ARG) " ; }; -String RID_SVXSTR_A11Y_PARAGRAPH_NAME -{ - Text [ en-US ] = "Paragraph $(ARG)" ; -}; - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |