summaryrefslogtreecommitdiff
path: root/ucb/source/cacher
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-07-30 17:46:52 +0200
committerStephan Bergmann <sbergman@redhat.com>2019-07-31 12:53:24 +0200
commiteda2eb3014cadbc5f9818c84b9a698682a6061e6 (patch)
tree7edc13d3e550f9412b61e1db6d948d18544bca6c /ucb/source/cacher
parenta8dfa13fe0f99638f21795dbbb6b5050d5f2fb57 (diff)
Improved loplugin:stringconstant (now that GCC 7 supports it): ucb
Change-Id: Id9c3a97bdb3eaa69973d3742ce57257800fa21ae Reviewed-on: https://gerrit.libreoffice.org/76634 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'ucb/source/cacher')
-rw-r--r--ucb/source/cacher/cachedcontentresultset.cxx4
-rw-r--r--ucb/source/cacher/cachedcontentresultsetstub.cxx4
-rw-r--r--ucb/source/cacher/cacheddynamicresultset.cxx4
-rw-r--r--ucb/source/cacher/cacheddynamicresultsetstub.cxx4
4 files changed, 8 insertions, 8 deletions
diff --git a/ucb/source/cacher/cachedcontentresultset.cxx b/ucb/source/cacher/cachedcontentresultset.cxx
index 4b229374b027..01cf15cd183c 100644
--- a/ucb/source/cacher/cachedcontentresultset.cxx
+++ b/ucb/source/cacher/cachedcontentresultset.cxx
@@ -939,7 +939,7 @@ XTYPEPROVIDER_IMPL_11( CachedContentResultSet
OUString SAL_CALL CachedContentResultSet::getImplementationName()
{
- return OUString( "com.sun.star.comp.ucb.CachedContentResultSet" );
+ return "com.sun.star.comp.ucb.CachedContentResultSet";
}
sal_Bool SAL_CALL CachedContentResultSet::supportsService( const OUString& ServiceName )
@@ -2104,7 +2104,7 @@ XTYPEPROVIDER_IMPL_3( CachedContentResultSetFactory,
// CachedContentResultSetFactory XServiceInfo methods.
XSERVICEINFO_COMMOM_IMPL( CachedContentResultSetFactory,
- OUString( "com.sun.star.comp.ucb.CachedContentResultSetFactory" ) )
+ "com.sun.star.comp.ucb.CachedContentResultSetFactory" )
/// @throws css::uno::Exception
static css::uno::Reference< css::uno::XInterface >
CachedContentResultSetFactory_CreateInstance( const css::uno::Reference< css::lang::XMultiServiceFactory> & rSMgr )
diff --git a/ucb/source/cacher/cachedcontentresultsetstub.cxx b/ucb/source/cacher/cachedcontentresultsetstub.cxx
index c410c19dfa68..178a1bb869bf 100644
--- a/ucb/source/cacher/cachedcontentresultsetstub.cxx
+++ b/ucb/source/cacher/cachedcontentresultsetstub.cxx
@@ -161,7 +161,7 @@ Sequence< Type > SAL_CALL CachedContentResultSetStub
OUString SAL_CALL CachedContentResultSetStub::getImplementationName()
{
- return OUString( "com.sun.star.comp.ucb.CachedContentResultSetStub" );
+ return "com.sun.star.comp.ucb.CachedContentResultSetStub";
}
sal_Bool SAL_CALL CachedContentResultSetStub::supportsService( const OUString& ServiceName )
@@ -541,7 +541,7 @@ XTYPEPROVIDER_IMPL_3( CachedContentResultSetStubFactory,
// CachedContentResultSetStubFactory XServiceInfo methods.
XSERVICEINFO_COMMOM_IMPL( CachedContentResultSetStubFactory,
- OUString( "com.sun.star.comp.ucb.CachedContentResultSetStubFactory" ) )
+ "com.sun.star.comp.ucb.CachedContentResultSetStubFactory" )
/// @throws css::uno::Exception
static css::uno::Reference< css::uno::XInterface >
CachedContentResultSetStubFactory_CreateInstance( const css::uno::Reference< css::lang::XMultiServiceFactory> & )
diff --git a/ucb/source/cacher/cacheddynamicresultset.cxx b/ucb/source/cacher/cacheddynamicresultset.cxx
index ba1f72616071..8debcc1ac234 100644
--- a/ucb/source/cacher/cacheddynamicresultset.cxx
+++ b/ucb/source/cacher/cacheddynamicresultset.cxx
@@ -121,7 +121,7 @@ XTYPEPROVIDER_IMPL_4( CachedDynamicResultSet
OUString SAL_CALL CachedDynamicResultSet::getImplementationName()
{
- return OUString( "com.sun.star.comp.ucb.CachedDynamicResultSet" );
+ return "com.sun.star.comp.ucb.CachedDynamicResultSet";
}
sal_Bool SAL_CALL CachedDynamicResultSet::supportsService( const OUString& ServiceName )
@@ -195,7 +195,7 @@ XTYPEPROVIDER_IMPL_3( CachedDynamicResultSetFactory,
// CachedDynamicResultSetFactory XServiceInfo methods.
XSERVICEINFO_COMMOM_IMPL( CachedDynamicResultSetFactory,
- OUString( "com.sun.star.comp.ucb.CachedDynamicResultSetFactory" ) )
+ "com.sun.star.comp.ucb.CachedDynamicResultSetFactory" )
/// @throws css::uno::Exception
static css::uno::Reference< css::uno::XInterface >
CachedDynamicResultSetFactory_CreateInstance( const css::uno::Reference< css::lang::XMultiServiceFactory> & rSMgr )
diff --git a/ucb/source/cacher/cacheddynamicresultsetstub.cxx b/ucb/source/cacher/cacheddynamicresultsetstub.cxx
index 8197a0a6fe15..3e2affa2270f 100644
--- a/ucb/source/cacher/cacheddynamicresultsetstub.cxx
+++ b/ucb/source/cacher/cacheddynamicresultsetstub.cxx
@@ -123,7 +123,7 @@ XTYPEPROVIDER_IMPL_5( CachedDynamicResultSetStub
OUString SAL_CALL CachedDynamicResultSetStub::getImplementationName()
{
- return OUString( "com.sun.star.comp.ucb.CachedDynamicResultSetStub" );
+ return "com.sun.star.comp.ucb.CachedDynamicResultSetStub";
}
sal_Bool SAL_CALL CachedDynamicResultSetStub::supportsService( const OUString& ServiceName )
@@ -187,7 +187,7 @@ XTYPEPROVIDER_IMPL_3( CachedDynamicResultSetStubFactory,
// CachedDynamicResultSetStubFactory XServiceInfo methods.
XSERVICEINFO_COMMOM_IMPL( CachedDynamicResultSetStubFactory,
- OUString( "com.sun.star.comp.ucb.CachedDynamicResultSetStubFactory" ) )
+ "com.sun.star.comp.ucb.CachedDynamicResultSetStubFactory" )
/// @throws css::uno::Exception
static css::uno::Reference< css::uno::XInterface >
CachedDynamicResultSetStubFactory_CreateInstance( const css::uno::Reference< css::lang::XMultiServiceFactory> & rSMgr )