diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-06-02 09:42:35 -0500 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-06-02 09:42:47 -0500 |
commit | d6fef33ef731e96ab55979fa6451f1c1d773103d (patch) | |
tree | 3834209533249a173e7446e4c9b7d5c297ccb598 /connectivity/source/drivers/calc/CDriver.cxx | |
parent | 19f38b6fab0072fad2311e76c766790b8e2962b0 (diff) |
targeted string re-work
Change-Id: Iac38f0f2622b1f7ddcc6f91b022c949e7a733c41
Diffstat (limited to 'connectivity/source/drivers/calc/CDriver.cxx')
-rw-r--r-- | connectivity/source/drivers/calc/CDriver.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/drivers/calc/CDriver.cxx b/connectivity/source/drivers/calc/CDriver.cxx index db04060bec24..61d57b5c33c6 100644 --- a/connectivity/source/drivers/calc/CDriver.cxx +++ b/connectivity/source/drivers/calc/CDriver.cxx @@ -47,7 +47,7 @@ using namespace ::com::sun::star::lang; rtl::OUString ODriver::getImplementationName_Static( ) throw(RuntimeException) { - return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.comp.sdbc.calc.ODriver")); + return rtl::OUString("com.sun.star.comp.sdbc.calc.ODriver"); } ::rtl::OUString SAL_CALL ODriver::getImplementationName( ) throw(RuntimeException) @@ -87,7 +87,7 @@ Reference< XConnection > SAL_CALL ODriver::connect( const ::rtl::OUString& url, sal_Bool SAL_CALL ODriver::acceptsURL( const ::rtl::OUString& url ) throw(SQLException, RuntimeException) { - return url.compareTo(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("sdbc:calc:")),10) == 0; + return url.compareTo(::rtl::OUString("sdbc:calc:"),10) == 0; } Sequence< DriverPropertyInfo > SAL_CALL ODriver::getPropertyInfo( const ::rtl::OUString& url, const Sequence< PropertyValue >& /*info*/ ) throw(SQLException, RuntimeException) |