From dd728444acddddd22ec659e0f9ff607673ead546 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 18 Dec 2014 13:37:12 +0100 Subject: ucb: Use appropriate OUString functions on string constants Change-Id: Ie889b3e74160e9ba121ba8351d9e12f6d273c573 --- ucb/source/cacher/cachedcontentresultset.cxx | 5 ++--- ucb/source/cacher/cachedcontentresultsetstub.cxx | 4 ++-- ucb/source/cacher/cacheddynamicresultset.cxx | 4 ++-- ucb/source/cacher/cacheddynamicresultsetstub.cxx | 4 ++-- 4 files changed, 8 insertions(+), 9 deletions(-) (limited to 'ucb/source/cacher') diff --git a/ucb/source/cacher/cachedcontentresultset.cxx b/ucb/source/cacher/cachedcontentresultset.cxx index eedcc07c641b..fccb5230accd 100644 --- a/ucb/source/cacher/cachedcontentresultset.cxx +++ b/ucb/source/cacher/cachedcontentresultset.cxx @@ -994,8 +994,7 @@ XTYPEPROVIDER_IMPL_11( CachedContentResultSet XSERVICEINFO_NOFACTORY_IMPL_1( CachedContentResultSet, OUString( "com.sun.star.comp.ucb.CachedContentResultSet" ), - OUString( - CACHED_CONTENT_RESULTSET_SERVICE_NAME ) ); + CACHED_CONTENT_RESULTSET_SERVICE_NAME ); // XPropertySet methods. ( inherited ) @@ -2256,7 +2255,7 @@ XTYPEPROVIDER_IMPL_3( CachedContentResultSetFactory, XSERVICEINFO_IMPL_1_CTX( CachedContentResultSetFactory, OUString( "com.sun.star.comp.ucb.CachedContentResultSetFactory" ), - OUString( CACHED_CONTENT_RESULTSET_FACTORY_NAME ) ); + CACHED_CONTENT_RESULTSET_FACTORY_NAME ); // Service factory implementation. diff --git a/ucb/source/cacher/cachedcontentresultsetstub.cxx b/ucb/source/cacher/cachedcontentresultsetstub.cxx index 03f66fc897a3..0a3b4919a656 100644 --- a/ucb/source/cacher/cachedcontentresultsetstub.cxx +++ b/ucb/source/cacher/cachedcontentresultsetstub.cxx @@ -172,7 +172,7 @@ Sequence< Type > SAL_CALL CachedContentResultSetStub XSERVICEINFO_NOFACTORY_IMPL_1( CachedContentResultSetStub, OUString( "com.sun.star.comp.ucb.CachedContentResultSetStub" ), - OUString( CACHED_CRS_STUB_SERVICE_NAME ) ); + CACHED_CRS_STUB_SERVICE_NAME ); // XFetchProvider methods. @@ -544,7 +544,7 @@ XTYPEPROVIDER_IMPL_3( CachedContentResultSetStubFactory, XSERVICEINFO_IMPL_1( CachedContentResultSetStubFactory, OUString( "com.sun.star.comp.ucb.CachedContentResultSetStubFactory" ), - OUString( CACHED_CRS_STUB_FACTORY_NAME ) ); + CACHED_CRS_STUB_FACTORY_NAME ); // Service factory implementation. diff --git a/ucb/source/cacher/cacheddynamicresultset.cxx b/ucb/source/cacher/cacheddynamicresultset.cxx index 50a4414e8b27..fd6d93c9307f 100644 --- a/ucb/source/cacher/cacheddynamicresultset.cxx +++ b/ucb/source/cacher/cacheddynamicresultset.cxx @@ -121,7 +121,7 @@ XTYPEPROVIDER_IMPL_4( CachedDynamicResultSet XSERVICEINFO_NOFACTORY_IMPL_1( CachedDynamicResultSet, OUString( "com.sun.star.comp.ucb.CachedDynamicResultSet" ), - OUString( CACHED_DRS_SERVICE_NAME ) ); + CACHED_DRS_SERVICE_NAME ); // own methds. ( inherited ) @@ -190,7 +190,7 @@ XTYPEPROVIDER_IMPL_3( CachedDynamicResultSetFactory, XSERVICEINFO_IMPL_1_CTX( CachedDynamicResultSetFactory, OUString( "com.sun.star.comp.ucb.CachedDynamicResultSetFactory" ), - OUString( CACHED_DRS_FACTORY_NAME ) ); + CACHED_DRS_FACTORY_NAME ); // Service factory implementation. diff --git a/ucb/source/cacher/cacheddynamicresultsetstub.cxx b/ucb/source/cacher/cacheddynamicresultsetstub.cxx index 2ae7166b8b5d..991f8eaa8d67 100644 --- a/ucb/source/cacher/cacheddynamicresultsetstub.cxx +++ b/ucb/source/cacher/cacheddynamicresultsetstub.cxx @@ -123,7 +123,7 @@ XTYPEPROVIDER_IMPL_5( CachedDynamicResultSetStub XSERVICEINFO_NOFACTORY_IMPL_1( CachedDynamicResultSetStub, OUString( "com.sun.star.comp.ucb.CachedDynamicResultSetStub" ), - OUString( CACHED_DRS_STUB_SERVICE_NAME ) ); + CACHED_DRS_STUB_SERVICE_NAME ); @@ -180,7 +180,7 @@ XTYPEPROVIDER_IMPL_3( CachedDynamicResultSetStubFactory, XSERVICEINFO_IMPL_1_CTX( CachedDynamicResultSetStubFactory, OUString( "com.sun.star.comp.ucb.CachedDynamicResultSetStubFactory" ), - OUString( CACHED_DRS_STUB_FACTORY_NAME ) ); + CACHED_DRS_STUB_FACTORY_NAME ); // Service factory implementation. -- cgit