diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-04 14:34:44 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-04 14:35:02 +0100 |
commit | f8e894a43d7ddf032a627260876e9f3c4ab949ad (patch) | |
tree | 1d16f3387fd6ab9e18501167f5ebbe8984465c47 /connectivity | |
parent | d69ead98e53cbd0ace8694d5d606e15d5cafeb4e (diff) |
loplugin:stringconstant
Change-Id: I5c0c2e3418da9f5cb98c15d5f067924d6a66f747
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/evoab2/NCatalog.cxx | 4 | ||||
-rw-r--r-- | connectivity/source/drivers/evoab2/NTable.cxx | 5 |
2 files changed, 3 insertions, 6 deletions
diff --git a/connectivity/source/drivers/evoab2/NCatalog.cxx b/connectivity/source/drivers/evoab2/NCatalog.cxx index edfab2275fcc..f5c3938630e7 100644 --- a/connectivity/source/drivers/evoab2/NCatalog.cxx +++ b/connectivity/source/drivers/evoab2/NCatalog.cxx @@ -44,8 +44,8 @@ void OEvoabCatalog::refreshTables() TStringVector aVector; Sequence< OUString > aTypes(1); aTypes[0] = "TABLE"; - Reference< XResultSet > xResult = m_xMetaData->getTables(Any(), - OUString("%"),OUString("%"),aTypes); + Reference< XResultSet > xResult = m_xMetaData->getTables( + Any(), "%", "%", aTypes); if(xResult.is()) { diff --git a/connectivity/source/drivers/evoab2/NTable.cxx b/connectivity/source/drivers/evoab2/NTable.cxx index a4ef011779a5..939bb1f1fbca 100644 --- a/connectivity/source/drivers/evoab2/NTable.cxx +++ b/connectivity/source/drivers/evoab2/NTable.cxx @@ -58,10 +58,7 @@ void OEvoabTable::refreshColumns() if (!isNew()) { Reference< XResultSet > xResult = m_pConnection->getMetaData()->getColumns( - Any(), - m_SchemaName, - m_Name, - OUString("%")); + Any(), m_SchemaName, m_Name, "%"); if (xResult.is()) { |