sw/source/core/access/accdoc.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit 1ad81f7e69b545340e340b54f9c9dd387b17cce0 Author: Bogdan B <buzea.bog...@libreoffice.org> AuthorDate: Sun Nov 5 20:59:17 2023 +0100 Commit: Mike Kaganski <mike.kagan...@collabora.com> CommitDate: Sun Nov 5 22:24:47 2023 +0100 tdf#158067 Replace OUStringLiteral in accdoc Change-Id: I88bfdf41137adf34ca5af4e73cf6ca487d8fe5ef Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158899 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com> 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 <dcontact.hxx> #include <svx/svdmark.hxx> 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)