[Libreoffice-commits] core.git: connectivity/source
Stephan Bergmann
sbergman at redhat.com
Wed Nov 4 05:35:25 PST 2015
connectivity/source/drivers/evoab2/NCatalog.cxx | 4 ++--
connectivity/source/drivers/evoab2/NTable.cxx | 5 +----
2 files changed, 3 insertions(+), 6 deletions(-)
New commits:
commit f8e894a43d7ddf032a627260876e9f3c4ab949ad
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed Nov 4 14:34:44 2015 +0100
loplugin:stringconstant
Change-Id: I5c0c2e3418da9f5cb98c15d5f067924d6a66f747
diff --git a/connectivity/source/drivers/evoab2/NCatalog.cxx b/connectivity/source/drivers/evoab2/NCatalog.cxx
index edfab22..f5c3938 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 a4ef0117..939bb1f 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())
{
More information about the Libreoffice-commits
mailing list