summaryrefslogtreecommitdiff
path: root/scripting/source/provider/BrowseNodeFactoryImpl.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-07-30 17:49:19 +0200
committerStephan Bergmann <sbergman@redhat.com>2019-07-31 12:55:24 +0200
commitf5a219c3acbc47be3aaecd50cbdc70debaed5b03 (patch)
treea415306b741c3beb3f345a92ffaaf37b4cc3f2b9 /scripting/source/provider/BrowseNodeFactoryImpl.cxx
parent680fb734cd7c0121cc1ba5d45e1d3f0153907fe3 (diff)
Improved loplugin:stringconstant (now that GCC 7 supports it): scripting
Change-Id: I60519d5f0663ab244468f10cbc79a8fc80771726 Reviewed-on: https://gerrit.libreoffice.org/76651 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'scripting/source/provider/BrowseNodeFactoryImpl.cxx')
-rw-r--r--scripting/source/provider/BrowseNodeFactoryImpl.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripting/source/provider/BrowseNodeFactoryImpl.cxx b/scripting/source/provider/BrowseNodeFactoryImpl.cxx
index c7a7829d900f..3e3bf6b57e20 100644
--- a/scripting/source/provider/BrowseNodeFactoryImpl.cxx
+++ b/scripting/source/provider/BrowseNodeFactoryImpl.cxx
@@ -544,7 +544,7 @@ public:
virtual OUString SAL_CALL getName() override
{
- return OUString("Root");
+ return "Root";
}
virtual Sequence< Reference< browse::XBrowseNode > > SAL_CALL
@@ -632,8 +632,8 @@ bnf_getSupportedServiceNames( )
OUString
bnf_getImplementationName( )
{
- return OUString(
- "com.sun.star.script.browse.BrowseNodeFactory" );
+ return
+ "com.sun.star.script.browse.BrowseNodeFactory";
}
Reference< XInterface >