diff options
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/core/access/acccell.cxx | 4 | ||||
-rw-r--r-- | sw/source/core/access/accembedded.cxx | 4 | ||||
-rw-r--r-- | sw/source/core/access/accfootnote.cxx | 9 |
3 files changed, 4 insertions, 13 deletions
diff --git a/sw/source/core/access/acccell.cxx b/sw/source/core/access/acccell.cxx index 8b15fa095545..0cffe02d1e04 100644 --- a/sw/source/core/access/acccell.cxx +++ b/sw/source/core/access/acccell.cxx @@ -48,8 +48,6 @@ using namespace ::com::sun::star; using namespace ::com::sun::star::accessibility; using namespace sw::access; -constexpr OUStringLiteral sImplementationName = u"com.sun.star.comp.Writer.SwAccessibleCellView"; - bool SwAccessibleCell::IsSelected() { bool bRet = false; @@ -240,7 +238,7 @@ OUString SAL_CALL SwAccessibleCell::getAccessibleDescription() OUString SAL_CALL SwAccessibleCell::getImplementationName() { - return sImplementationName; + return u"com.sun.star.comp.Writer.SwAccessibleCellView"_ustr; } sal_Bool SAL_CALL SwAccessibleCell::supportsService(const OUString& sTestServiceName) diff --git a/sw/source/core/access/accembedded.cxx b/sw/source/core/access/accembedded.cxx index 1eb54cf25878..7d4a5415bdcf 100644 --- a/sw/source/core/access/accembedded.cxx +++ b/sw/source/core/access/accembedded.cxx @@ -31,8 +31,6 @@ using namespace ::com::sun::star; using namespace ::com::sun::star::lang; using namespace ::com::sun::star::accessibility; -constexpr OUStringLiteral sImplementationName = u"com.sun.star.comp.Writer.SwAccessibleEmbeddedObject"; - SwAccessibleEmbeddedObject::SwAccessibleEmbeddedObject( std::shared_ptr<SwAccessibleMap> const& pInitMap, const SwFlyFrame* pFlyFrame ) : @@ -71,7 +69,7 @@ void SAL_CALL OUString SAL_CALL SwAccessibleEmbeddedObject::getImplementationName() { - return sImplementationName; + return u"com.sun.star.comp.Writer.SwAccessibleEmbeddedObject"_ustr; } sal_Bool SAL_CALL SwAccessibleEmbeddedObject::supportsService(const OUString& sTestServiceName) diff --git a/sw/source/core/access/accfootnote.cxx b/sw/source/core/access/accfootnote.cxx index 6fb7ebca864c..9fc265c53bc1 100644 --- a/sw/source/core/access/accfootnote.cxx +++ b/sw/source/core/access/accfootnote.cxx @@ -33,11 +33,6 @@ using namespace ::com::sun::star::uno; using namespace ::com::sun::star::lang; using namespace ::com::sun::star::accessibility; -constexpr OUStringLiteral sImplementationNameFootnote - = u"com.sun.star.comp.Writer.SwAccessibleFootnoteView"; -constexpr OUStringLiteral sImplementationNameEndnote - = u"com.sun.star.comp.Writer.SwAccessibleEndnoteView"; - SwAccessibleFootnote::SwAccessibleFootnote( std::shared_ptr<SwAccessibleMap> const& pInitMap, bool bIsEndnote, @@ -90,9 +85,9 @@ OUString SAL_CALL SwAccessibleFootnote::getAccessibleDescription() OUString SAL_CALL SwAccessibleFootnote::getImplementationName() { if( AccessibleRole::END_NOTE == GetRole() ) - return sImplementationNameEndnote; + return u"com.sun.star.comp.Writer.SwAccessibleEndnoteView"_ustr; else - return sImplementationNameFootnote; + return u"com.sun.star.comp.Writer.SwAccessibleFootnoteView"_ustr; } sal_Bool SAL_CALL SwAccessibleFootnote::supportsService(const OUString& sTestServiceName) |