Kaydet (Commit) 29be1b06 authored tarafından Jan-Marek Glogowski's avatar Jan-Marek Glogowski

TDE kab: fix dbgutil and clang werror build

Change-Id: I37948ff77d060dc18a583389966b52c06a95bdaf
üst 26f09844
......@@ -31,6 +31,7 @@ $(eval $(call gb_Library_use_libraries,tdeab1,\
dbtools \
sal \
salhelper \
tl \
))
$(eval $(call gb_Library_add_exception_objects,tdeab1,\
......
......@@ -44,10 +44,7 @@ void KabCatalog::refreshTables()
TStringVector aVector;
Sequence< OUString > aTypes { "%" };
Reference< XResultSet > xResult = m_xMetaData->getTables(
Any(),
OUString("%"),
OUString("%"),
aTypes);
Any(), "%", "%", aTypes);
if (xResult.is())
{
......
......@@ -58,17 +58,17 @@ void KabTable::refreshColumns()
if (!isNew())
{
Reference< XResultSet > xResult = m_pConnection->getMetaData()->getColumns(
Any(),
m_SchemaName,
m_Name,
OUString("%"));
Reference< XResultSet > xResult =
m_pConnection->getMetaData()->getColumns(
Any(), m_SchemaName, m_Name, "%");
if (xResult.is())
{
Reference< XRow > xRow(xResult, UNO_QUERY);
while (xResult->next())
Reference< XRow > xRow(xResult, UNO_QUERY);
while (xResult->next())
{
aVector.push_back(xRow->getString(4));
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment