targeted string re-work
Change-Id: Ia73452f1cc83eff144e692c5ec19048c4ce0ca60
This commit is contained in:
parent
bcce59d5ff
commit
bfa906144f
5 changed files with 7 additions and 7 deletions
|
@ -74,7 +74,7 @@ uno::Reference< media::XPlayer > MediaWindowBaseImpl::createPlayer( const ::rtl:
|
|||
{
|
||||
|
||||
uno::Reference< ::com::sun::star::media::XManager > xManager(
|
||||
xFactory->createInstance( ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( AVMEDIA_MANAGER_SERVICE_NAME )) ),
|
||||
xFactory->createInstance( ::rtl::OUString( AVMEDIA_MANAGER_SERVICE_NAME ) ),
|
||||
uno::UNO_QUERY );
|
||||
|
||||
if( xManager.is() )
|
||||
|
|
|
@ -291,8 +291,8 @@ sal_Bool hasUno( void )
|
|||
}
|
||||
else
|
||||
{
|
||||
Reference< XContentProviderManager > xManager( xSMgr->createInstance( ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM
|
||||
( "com.sun.star.ucb.UniversalContentBroker" )) ), UNO_QUERY );
|
||||
Reference< XContentProviderManager > xManager( xSMgr->createInstance(
|
||||
::rtl::OUString( "com.sun.star.ucb.UniversalContentBroker" ) ), UNO_QUERY );
|
||||
|
||||
if ( !( xManager.is() && xManager->queryContentProvider( ::rtl::OUString("file:///" ) ).is() ) )
|
||||
{
|
||||
|
|
|
@ -111,7 +111,7 @@ namespace connectivity
|
|||
/* Get the length, and make sure that there is actually a string
|
||||
* here.
|
||||
*/
|
||||
if(_originalLabel.indexOf(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("_$!<"))) == 0)
|
||||
if(_originalLabel.indexOf(::rtl::OUString("_$!<")) == 0)
|
||||
{
|
||||
return _originalLabel.copy(4,_originalLabel.getLength()-8);
|
||||
}
|
||||
|
|
|
@ -99,7 +99,7 @@ const sal_Char* getSdbcScheme( SdbcScheme _eScheme )
|
|||
// -----------------------------------------------------------------------------
|
||||
::rtl::OUString OConnection::getDriverImplementationName()
|
||||
{
|
||||
return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(MOZAB_DRIVER_IMPL_NAME));
|
||||
return rtl::OUString(MOZAB_DRIVER_IMPL_NAME);
|
||||
}
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
|
|
|
@ -81,7 +81,7 @@ namespace connectivity
|
|||
|
||||
virtual ::rtl::OUString SAL_CALL getImplementationName( ) throw (staruno::RuntimeException)
|
||||
{
|
||||
return ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.sdbcx.ACollection"));
|
||||
return ::rtl::OUString("com.sun.star.sdbcx.ACollection");
|
||||
}
|
||||
virtual sal_Bool SAL_CALL supportsService( const ::rtl::OUString& _rServiceName ) throw(staruno::RuntimeException)
|
||||
{
|
||||
|
@ -96,7 +96,7 @@ namespace connectivity
|
|||
virtual staruno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames( ) throw(staruno::RuntimeException)
|
||||
{
|
||||
staruno::Sequence< ::rtl::OUString > aSupported(1);
|
||||
aSupported[0] = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.sdbcx.Container"));
|
||||
aSupported[0] = ::rtl::OUString("com.sun.star.sdbcx.Container");
|
||||
return aSupported;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue