[Libreoffice-commits] core.git: connectivity/source
Stephan Bergmann
sbergman at redhat.com
Wed Nov 4 05:33:37 PST 2015
connectivity/source/drivers/macab/MacabCatalog.cxx | 5 +----
connectivity/source/drivers/macab/MacabTable.cxx | 5 +----
2 files changed, 2 insertions(+), 8 deletions(-)
New commits:
commit d69ead98e53cbd0ace8694d5d606e15d5cafeb4e
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed Nov 4 14:27:14 2015 +0100
loplugin:stringconstant
Change-Id: I7602293b21030b255022b49cdb39cf76d9b22112
diff --git a/connectivity/source/drivers/macab/MacabCatalog.cxx b/connectivity/source/drivers/macab/MacabCatalog.cxx
index 62589d7..33a97c8 100644
--- a/connectivity/source/drivers/macab/MacabCatalog.cxx
+++ b/connectivity/source/drivers/macab/MacabCatalog.cxx
@@ -45,10 +45,7 @@ void MacabCatalog::refreshTables()
Sequence< OUString > aTypes(1);
aTypes[0] = "%";
Reference< XResultSet > xResult = m_xMetaData->getTables(
- Any(),
- OUString("%"),
- OUString("%"),
- aTypes);
+ Any(), "%", "%", aTypes);
if (xResult.is())
{
diff --git a/connectivity/source/drivers/macab/MacabTable.cxx b/connectivity/source/drivers/macab/MacabTable.cxx
index f0f4291..24f7a4c 100644
--- a/connectivity/source/drivers/macab/MacabTable.cxx
+++ b/connectivity/source/drivers/macab/MacabTable.cxx
@@ -66,10 +66,7 @@ void MacabTable::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