summaryrefslogtreecommitdiff
path: root/sw/source/ui/dbui/selectdbtabledialog.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/dbui/selectdbtabledialog.cxx')
-rw-r--r--sw/source/ui/dbui/selectdbtabledialog.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/ui/dbui/selectdbtabledialog.cxx b/sw/source/ui/dbui/selectdbtabledialog.cxx
index 1db947e9f3d4..e81e72a214be 100644
--- a/sw/source/ui/dbui/selectdbtabledialog.cxx
+++ b/sw/source/ui/dbui/selectdbtabledialog.cxx
@@ -116,12 +116,12 @@ SwSelectDBTableDialog::SwSelectDBTableDialog(vcl::Window* pParent,
Reference<XTablesSupplier> xTSupplier(m_xConnection, UNO_QUERY);
if (xTSupplier.is())
{
- Reference<XNameAccess> xTbls = xTSupplier->getTables();
- Sequence<OUString> aTbls = xTbls->getElementNames();
- const OUString* pTbls = aTbls.getConstArray();
- for(long i = 0; i < aTbls.getLength(); i++)
+ Reference<XNameAccess> xTables = xTSupplier->getTables();
+ Sequence<OUString> aTables = xTables->getElementNames();
+ const OUString* pTables = aTables.getConstArray();
+ for(long i = 0; i < aTables.getLength(); i++)
{
- OUString sEntry = pTbls[i];
+ OUString sEntry = pTables[i];
sEntry += "\t";
sEntry += m_sTable;
SvTreeListEntry* pEntry = m_pTable->InsertEntry(sEntry);