summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/evoab2
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-11-04 13:51:21 +0200
committerNoel Grandin <noel@peralex.com>2013-11-11 11:21:25 +0200
commit1bdb2b6f06c556b9af91dba4f29f3ac73190b09e (patch)
tree1d941e17952cd891f5309fd862215dd09a84b001 /connectivity/source/drivers/evoab2
parent2f2416ff060c780ad87b4d3979112f52da2ae902 (diff)
remove unnecessary use of OUString constructor in CONNECTIVITY module
Change-Id: Ie32d03920d996db2793ead9940fc90668cde03dd
Diffstat (limited to 'connectivity/source/drivers/evoab2')
-rw-r--r--connectivity/source/drivers/evoab2/NCatalog.cxx2
-rw-r--r--connectivity/source/drivers/evoab2/NDriver.cxx2
-rw-r--r--connectivity/source/drivers/evoab2/NResultSet.cxx2
-rw-r--r--connectivity/source/drivers/evoab2/NTables.cxx2
4 files changed, 4 insertions, 4 deletions
diff --git a/connectivity/source/drivers/evoab2/NCatalog.cxx b/connectivity/source/drivers/evoab2/NCatalog.cxx
index 06be9242db79..95ce61830f5a 100644
--- a/connectivity/source/drivers/evoab2/NCatalog.cxx
+++ b/connectivity/source/drivers/evoab2/NCatalog.cxx
@@ -43,7 +43,7 @@ void OEvoabCatalog::refreshTables()
{
TStringVector aVector;
Sequence< OUString > aTypes(1);
- aTypes[0] = OUString("TABLE");
+ aTypes[0] = "TABLE";
Reference< XResultSet > xResult = m_xMetaData->getTables(Any(),
OUString("%"),OUString("%"),aTypes);
diff --git a/connectivity/source/drivers/evoab2/NDriver.cxx b/connectivity/source/drivers/evoab2/NDriver.cxx
index 366ea73df94b..af4d24d6a3fc 100644
--- a/connectivity/source/drivers/evoab2/NDriver.cxx
+++ b/connectivity/source/drivers/evoab2/NDriver.cxx
@@ -92,7 +92,7 @@ Sequence< OUString > OEvoabDriver::getSupportedServiceNames_Static( ) throw (Ru
// which service is supported
// for more information @see com.sun.star.sdbc.Driver
Sequence< OUString > aSNS( 1 );
- aSNS[0] = OUString("com.sun.star.sdbc.Driver");
+ aSNS[0] = "com.sun.star.sdbc.Driver";
return aSNS;
}
//------------------------------------------------------------------
diff --git a/connectivity/source/drivers/evoab2/NResultSet.cxx b/connectivity/source/drivers/evoab2/NResultSet.cxx
index 75743e68a123..4bff96debd98 100644
--- a/connectivity/source/drivers/evoab2/NResultSet.cxx
+++ b/connectivity/source/drivers/evoab2/NResultSet.cxx
@@ -72,7 +72,7 @@ OUString SAL_CALL OEvoabResultSet::getImplementationName( ) throw ( RuntimeExce
Sequence< OUString > SAL_CALL OEvoabResultSet::getSupportedServiceNames( ) throw( RuntimeException)
{
Sequence< OUString > aSupported(1);
- aSupported[0] = OUString("com.sun.star.sdbc.ResultSet");
+ aSupported[0] = "com.sun.star.sdbc.ResultSet";
return aSupported;
}
diff --git a/connectivity/source/drivers/evoab2/NTables.cxx b/connectivity/source/drivers/evoab2/NTables.cxx
index c756cb6dfdcb..208cb6b83c0d 100644
--- a/connectivity/source/drivers/evoab2/NTables.cxx
+++ b/connectivity/source/drivers/evoab2/NTables.cxx
@@ -50,7 +50,7 @@ ObjectType OEvoabTables::createObject(const OUString& aName)
OUString aSchema( "%" );
Sequence< OUString > aTypes(1);
- aTypes[0] = OUString("TABLE");
+ aTypes[0] = "TABLE";
OUString sEmpty;
Reference< XResultSet > xResult = m_xMetaData->getTables(Any(),aSchema,aName,aTypes);