diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-07-30 17:47:50 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-07-31 12:54:02 +0200 |
commit | 39642d415cd70165574f91500801d3b49c65d646 (patch) | |
tree | ac78afa2a06066dc9a7c2b53853694eef56926a5 /sw/source/core/unocore/unoidx.cxx | |
parent | 0f11e746c8ab74f7495c29a9287da361e469689c (diff) |
Improved loplugin:stringconstant (now that GCC 7 supports it): sw
Change-Id: I135d01abc52ab5e97b4b360763c8a7e3ddaf0d2d
Reviewed-on: https://gerrit.libreoffice.org/76639
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sw/source/core/unocore/unoidx.cxx')
-rw-r--r-- | sw/source/core/unocore/unoidx.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/core/unocore/unoidx.cxx b/sw/source/core/unocore/unoidx.cxx index d8c0f3a538c2..83a521bd03e6 100644 --- a/sw/source/core/unocore/unoidx.cxx +++ b/sw/source/core/unocore/unoidx.cxx @@ -444,7 +444,7 @@ SwXDocumentIndex::getSomething(const uno::Sequence< sal_Int8 >& rId) OUString SAL_CALL SwXDocumentIndex::getImplementationName() { - return OUString("SwXDocumentIndex"); + return "SwXDocumentIndex"; } sal_Bool SAL_CALL @@ -1672,7 +1672,7 @@ SwXDocumentIndexMark::getSomething(const uno::Sequence< sal_Int8 >& rId) OUString SAL_CALL SwXDocumentIndexMark::getImplementationName() { - return OUString("SwXDocumentIndexMark"); + return "SwXDocumentIndexMark"; } sal_Bool SAL_CALL SwXDocumentIndexMark::supportsService(const OUString& rServiceName) @@ -2331,7 +2331,7 @@ SwXDocumentIndexes::~SwXDocumentIndexes() OUString SAL_CALL SwXDocumentIndexes::getImplementationName() { - return OUString("SwXDocumentIndexes"); + return "SwXDocumentIndexes"; } sal_Bool SAL_CALL SwXDocumentIndexes::supportsService(const OUString& rServiceName) @@ -2510,7 +2510,7 @@ SwXDocumentIndex::StyleAccess_Impl::~StyleAccess_Impl() OUString SAL_CALL SwXDocumentIndex::StyleAccess_Impl::getImplementationName() { - return OUString("SwXDocumentIndex::StyleAccess_Impl"); + return "SwXDocumentIndex::StyleAccess_Impl"; } sal_Bool SAL_CALL @@ -2623,7 +2623,7 @@ SwXDocumentIndex::TokenAccess_Impl::~TokenAccess_Impl() OUString SAL_CALL SwXDocumentIndex::TokenAccess_Impl::getImplementationName() { - return OUString("SwXDocumentIndex::TokenAccess_Impl"); + return "SwXDocumentIndex::TokenAccess_Impl"; } sal_Bool SAL_CALL SwXDocumentIndex::TokenAccess_Impl::supportsService( |