[Libreoffice-commits] .: avmedia/source basic/source connectivity/source
Norbert Thiebaud
nthiebaud at kemper.freedesktop.org
Sat Jun 2 16:46:26 PDT 2012
avmedia/source/viewer/mediawindowbase_impl.cxx | 2 +-
basic/source/runtime/iosys.cxx | 4 ++--
connectivity/source/drivers/macab/macabutilities.hxx | 2 +-
connectivity/source/drivers/mozab/MConnection.cxx | 2 +-
connectivity/source/inc/ado/ACollection.hxx | 4 ++--
5 files changed, 7 insertions(+), 7 deletions(-)
New commits:
commit bfa906144f16324d5bcce9eb742950eff7621702
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date: Sat Jun 2 18:45:53 2012 -0500
targeted string re-work
Change-Id: Ia73452f1cc83eff144e692c5ec19048c4ce0ca60
diff --git a/avmedia/source/viewer/mediawindowbase_impl.cxx b/avmedia/source/viewer/mediawindowbase_impl.cxx
index bea04e6..79e0bdf 100644
--- a/avmedia/source/viewer/mediawindowbase_impl.cxx
+++ b/avmedia/source/viewer/mediawindowbase_impl.cxx
@@ -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() )
diff --git a/basic/source/runtime/iosys.cxx b/basic/source/runtime/iosys.cxx
index 07ba8c0..44d87cd 100644
--- a/basic/source/runtime/iosys.cxx
+++ b/basic/source/runtime/iosys.cxx
@@ -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() ) )
{
diff --git a/connectivity/source/drivers/macab/macabutilities.hxx b/connectivity/source/drivers/macab/macabutilities.hxx
index 97e84c2..9355cb6 100644
--- a/connectivity/source/drivers/macab/macabutilities.hxx
+++ b/connectivity/source/drivers/macab/macabutilities.hxx
@@ -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);
}
diff --git a/connectivity/source/drivers/mozab/MConnection.cxx b/connectivity/source/drivers/mozab/MConnection.cxx
index 89f5bb9..09bad4c 100644
--- a/connectivity/source/drivers/mozab/MConnection.cxx
+++ b/connectivity/source/drivers/mozab/MConnection.cxx
@@ -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);
}
// -----------------------------------------------------------------------------
diff --git a/connectivity/source/inc/ado/ACollection.hxx b/connectivity/source/inc/ado/ACollection.hxx
index 3dafa36..16865b0 100644
--- a/connectivity/source/inc/ado/ACollection.hxx
+++ b/connectivity/source/inc/ado/ACollection.hxx
@@ -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;
}
More information about the Libreoffice-commits
mailing list