diff --git a/sw/source/core/access/accdoc.cxx b/sw/source/core/access/accdoc.cxx index d1bb9d84b150..a1cf511b8bcf 100644 --- a/sw/source/core/access/accdoc.cxx +++ b/sw/source/core/access/accdoc.cxx @@ -52,7 +52,6 @@ #include #include constexpr OUString sServiceName = u"com.sun.star.text.AccessibleTextDocumentView"_ustr; -constexpr OUStringLiteral sImplementationName = u"com.sun.star.comp.Writer.SwAccessibleDocumentView"; using namespace ::com::sun::star; using namespace ::com::sun::star::accessibility; @@ -421,7 +420,7 @@ IMPL_LINK( SwAccessibleDocument, WindowChildEventListener, VclWindowEvent&, rEve OUString SAL_CALL SwAccessibleDocument::getImplementationName() { - return sImplementationName; + return u"com.sun.star.comp.Writer.SwAccessibleDocumentView"_ustr; } sal_Bool SAL_CALL SwAccessibleDocument::supportsService(const OUString& sTestServiceName)