summaryrefslogtreecommitdiff
path: root/sw/source/uibase/uno/unoatxt.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-07-30 17:47:50 +0200
committerStephan Bergmann <sbergman@redhat.com>2019-07-31 12:54:02 +0200
commit39642d415cd70165574f91500801d3b49c65d646 (patch)
treeac78afa2a06066dc9a7c2b53853694eef56926a5 /sw/source/uibase/uno/unoatxt.cxx
parent0f11e746c8ab74f7495c29a9287da361e469689c (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/uibase/uno/unoatxt.cxx')
-rw-r--r--sw/source/uibase/uno/unoatxt.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/uibase/uno/unoatxt.cxx b/sw/source/uibase/uno/unoatxt.cxx
index 9f5af5930f35..37ea804b9f59 100644
--- a/sw/source/uibase/uno/unoatxt.cxx
+++ b/sw/source/uibase/uno/unoatxt.cxx
@@ -197,7 +197,7 @@ void SwXAutoTextContainer::removeByName(const OUString& aGroupName)
OUString SwXAutoTextContainer::getImplementationName()
{
- return OUString("SwXAutoTextContainer" );
+ return "SwXAutoTextContainer";
}
sal_Bool SwXAutoTextContainer::supportsService(const OUString& rServiceName)
@@ -665,7 +665,7 @@ void SwXAutoTextGroup::Invalidate()
OUString SwXAutoTextGroup::getImplementationName()
{
- return OUString("SwXAutoTextGroup");
+ return "SwXAutoTextGroup";
}
sal_Bool SwXAutoTextGroup::supportsService(const OUString& rServiceName)
@@ -939,7 +939,7 @@ void SwXAutoTextEntry::applyTo(const uno::Reference< text::XTextRange > & xTextR
OUString SwXAutoTextEntry::getImplementationName()
{
- return OUString("SwXAutoTextEntry");
+ return "SwXAutoTextEntry";
}
sal_Bool SwXAutoTextEntry::supportsService(const OUString& rServiceName)
@@ -978,7 +978,7 @@ SwAutoTextEventDescriptor::~SwAutoTextEventDescriptor()
OUString SwAutoTextEventDescriptor::getImplementationName()
{
- return OUString("SwAutoTextEventDescriptor");
+ return "SwAutoTextEventDescriptor";
}
void SwAutoTextEventDescriptor::replaceByName(