diff options
-rw-r--r-- | editeng/source/accessibility/AccessibleEditableTextPara.cxx | 11 | ||||
-rw-r--r-- | editeng/source/accessibility/accessibility.src | 5 | ||||
-rw-r--r-- | include/editeng/editrids.hrc | 2 |
3 files changed, 3 insertions, 15 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: */ diff --git a/include/editeng/editrids.hrc b/include/editeng/editrids.hrc index ab43df9a3b61..cff44d40c234 100644 --- a/include/editeng/editrids.hrc +++ b/include/editeng/editrids.hrc @@ -383,7 +383,7 @@ #define RID_SVXITEMS_JUSTMETHOD_DISTRIBUTE (RID_EDIT_START + 327) #define RID_SVXSTR_A11Y_PARAGRAPH_DESCRIPTION (RID_EDIT_START + 328) -#define RID_SVXSTR_A11Y_PARAGRAPH_NAME (RID_EDIT_START + 329) +// unused (RID_EDIT_START + 329) // Border lines (continued) #define RID_DASH_DOT (RID_EDIT_START + 330) |