summaryrefslogtreecommitdiff
path: root/connectivity/qa/connectivity
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-12-12 17:51:11 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-12-12 17:51:11 +0100
commitbca00da68640bb052c1628270ce3924b7228d7b8 (patch)
treed03f7763ed89ffd94256e2bf0fb5b352de9b0711 /connectivity/qa/connectivity
parent77d844c9a92fdc1b8ffa043f46ea50bc1cfa7e05 (diff)
connectivity: Use appropriate OUString functions on string constants
Change-Id: I10b2ddf9dcc83219fea8eb55783507eed52702e8
Diffstat (limited to 'connectivity/qa/connectivity')
-rw-r--r--connectivity/qa/connectivity/mork/DriverTest.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/connectivity/qa/connectivity/mork/DriverTest.cxx b/connectivity/qa/connectivity/mork/DriverTest.cxx
index b1c9d9ff923d..ca5ffdcca012 100644
--- a/connectivity/qa/connectivity/mork/DriverTest.cxx
+++ b/connectivity/qa/connectivity/mork/DriverTest.cxx
@@ -149,17 +149,17 @@ void MorkDriverTest::test_select_default_all()
bool result = xResultSet->first();
CPPUNIT_ASSERT_MESSAGE("fetch first row failed!", result);
OUString mail = xDelegatorRow->getString(1);
- CPPUNIT_ASSERT_MESSAGE("first row is not john@doe.org!", mail.equalsAscii("john@doe.org"));
+ CPPUNIT_ASSERT_MESSAGE("first row is not john@doe.org!", mail == "john@doe.org");
result = xResultSet->next();
CPPUNIT_ASSERT_MESSAGE("fetch second row failed!", result);
mail = xDelegatorRow->getString(1);
- CPPUNIT_ASSERT_MESSAGE("second row is not john@doe10.org!", mail.equalsAscii("john@doe10.org"));
+ CPPUNIT_ASSERT_MESSAGE("second row is not john@doe10.org!", mail == "john@doe10.org");
result = xResultSet->last();
CPPUNIT_ASSERT_MESSAGE("fetch last row failed!", result);
mail = xDelegatorRow->getString(1);
- CPPUNIT_ASSERT_MESSAGE("last row is not john@doe9.org!", mail.equalsAscii("john@doe9.org"));
+ CPPUNIT_ASSERT_MESSAGE("last row is not john@doe9.org!", mail == "john@doe9.org");
css::uno::Reference<css::sdbc::XCloseable>(
xStatement, css::uno::UNO_QUERY_THROW)->close();
@@ -189,7 +189,7 @@ void MorkDriverTest::test_select_list_table_joe_doe_5()
bool result = xResultSet->first();
CPPUNIT_ASSERT_MESSAGE("fetch first row failed!", result);
OUString mail = xDelegatorRow->getString(1);
- CPPUNIT_ASSERT_MESSAGE("last row is not john@doe5.org!", mail.equalsAscii("john@doe5.org"));
+ CPPUNIT_ASSERT_MESSAGE("last row is not john@doe5.org!", mail == "john@doe5.org");
css::uno::Reference<css::sdbc::XCloseable>(
xStatement, css::uno::UNO_QUERY_THROW)->close();