summaryrefslogtreecommitdiff
path: root/xmlhelp
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-07-30 17:43:59 +0200
committerStephan Bergmann <sbergman@redhat.com>2019-07-31 12:52:08 +0200
commitd0ff2eb331850f69fc105149d986c6ec3e106319 (patch)
tree3f53a7ce99d5959271e933196691152573cbdcfd /xmlhelp
parentad99664931154a2999bef8d0cfd1b1c44f0109ee (diff)
Improved loplugin:stringconstant (now that GCC 7 supports it): xmlhelp
Change-Id: Idd6533cce6e8710c245940b08a7d5fc0abfef84f Reviewed-on: https://gerrit.libreoffice.org/76624 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'xmlhelp')
-rw-r--r--xmlhelp/source/cxxhelp/provider/content.cxx4
-rw-r--r--xmlhelp/source/cxxhelp/provider/provider.cxx2
-rw-r--r--xmlhelp/source/treeview/tvfactory.cxx2
3 files changed, 4 insertions, 4 deletions
diff --git a/xmlhelp/source/cxxhelp/provider/content.cxx b/xmlhelp/source/cxxhelp/provider/content.cxx
index 30c36cbf5414..d9e4813ae3b2 100644
--- a/xmlhelp/source/cxxhelp/provider/content.cxx
+++ b/xmlhelp/source/cxxhelp/provider/content.cxx
@@ -103,7 +103,7 @@ uno::Sequence< uno::Type > SAL_CALL Content::getTypes()
// virtual
OUString SAL_CALL Content::getImplementationName()
{
- return OUString( "CHelpContent" );
+ return "CHelpContent";
}
// virtual
@@ -119,7 +119,7 @@ uno::Sequence< OUString > SAL_CALL Content::getSupportedServiceNames()
// virtual
OUString SAL_CALL Content::getContentType()
{
- return OUString( MYUCP_CONTENT_TYPE );
+ return MYUCP_CONTENT_TYPE;
}
// XCommandProcessor methods.
diff --git a/xmlhelp/source/cxxhelp/provider/provider.cxx b/xmlhelp/source/cxxhelp/provider/provider.cxx
index 2ce009cc8d7d..ff6db4be77a2 100644
--- a/xmlhelp/source/cxxhelp/provider/provider.cxx
+++ b/xmlhelp/source/cxxhelp/provider/provider.cxx
@@ -112,7 +112,7 @@ OUString SAL_CALL ContentProvider::getImplementationName()
OUString ContentProvider::getImplementationName_Static()
{
- return OUString("CHelpContentProvider" );
+ return "CHelpContentProvider";
}
sal_Bool SAL_CALL
diff --git a/xmlhelp/source/treeview/tvfactory.cxx b/xmlhelp/source/treeview/tvfactory.cxx
index 65e624433bf6..16aa313d9333 100644
--- a/xmlhelp/source/treeview/tvfactory.cxx
+++ b/xmlhelp/source/treeview/tvfactory.cxx
@@ -126,7 +126,7 @@ TVFactory::getAvailableServiceNames( )
OUString
TVFactory::getImplementationName_static()
{
- return OUString( "com.sun.star.help.TreeViewImpl" );
+ return "com.sun.star.help.TreeViewImpl";
}
Sequence< OUString >