diff options
author | Noel Grandin <noel@peralex.com> | 2013-11-04 13:51:21 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-11-11 11:21:25 +0200 |
commit | 1bdb2b6f06c556b9af91dba4f29f3ac73190b09e (patch) | |
tree | 1d941e17952cd891f5309fd862215dd09a84b001 /connectivity/qa | |
parent | 2f2416ff060c780ad87b4d3979112f52da2ae902 (diff) |
remove unnecessary use of OUString constructor in CONNECTIVITY module
Change-Id: Ie32d03920d996db2793ead9940fc90668cde03dd
Diffstat (limited to 'connectivity/qa')
-rw-r--r-- | connectivity/qa/connectivity/ado/DriverTest.cxx | 2 | ||||
-rw-r--r-- | connectivity/qa/connectivity/mork/DriverTest.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/qa/connectivity/ado/DriverTest.cxx b/connectivity/qa/connectivity/ado/DriverTest.cxx index ee96eebd2fa5..82c63b698515 100644 --- a/connectivity/qa/connectivity/ado/DriverTest.cxx +++ b/connectivity/qa/connectivity/ado/DriverTest.cxx @@ -65,7 +65,7 @@ void AdoDriverTest::setUp() m_xAdoComponent = getMultiServiceFactory()->createInstance("com.sun.star.comp.sdbc.ado.ODriver"); CPPUNIT_ASSERT_MESSAGE("no ado component!", m_xAdoComponent.is()); - OUString url = OUString("sdbc:ado:access:PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA SOURCE=") + + OUString url = "sdbc:ado:access:PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA SOURCE=" + getPathFromWorkdir("/CppunitTest/TS001018407.mdb"); Sequence< PropertyValue > info; diff --git a/connectivity/qa/connectivity/mork/DriverTest.cxx b/connectivity/qa/connectivity/mork/DriverTest.cxx index 33720ac4b2d8..95962fdca769 100644 --- a/connectivity/qa/connectivity/mork/DriverTest.cxx +++ b/connectivity/qa/connectivity/mork/DriverTest.cxx @@ -64,7 +64,7 @@ void MorkDriverTest::setUp() // is this the best way to pass test file through URL? // may be take a custom Sequence< PropertyValue > route? - OUString url = OUString("sdbc:address:thunderbird:unittest:") + + OUString url = "sdbc:address:thunderbird:unittest:" + getPathFromSrc("/connectivity/qa/connectivity/mork/abook_10_john_does.mab"); Sequence< PropertyValue > info; |