diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-06-02 18:45:53 -0500 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-06-02 18:45:53 -0500 |
commit | bfa906144f16324d5bcce9eb742950eff7621702 (patch) | |
tree | 18a135cf8197993f20835dcaa1eef57b459f932f /connectivity | |
parent | bcce59d5ffa3c3b17f0894347d7138e126782952 (diff) |
targeted string re-work
Change-Id: Ia73452f1cc83eff144e692c5ec19048c4ce0ca60
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/macab/macabutilities.hxx | 2 | ||||
-rw-r--r-- | connectivity/source/drivers/mozab/MConnection.cxx | 2 | ||||
-rw-r--r-- | connectivity/source/inc/ado/ACollection.hxx | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/connectivity/source/drivers/macab/macabutilities.hxx b/connectivity/source/drivers/macab/macabutilities.hxx index 97e84c218986..9355cb60ff85 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 89f5bb98b24a..09bad4c9bbb5 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 3dafa36b9b3a..16865b0cad1a 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; } |