diff options
author | Ocke Janssen <oj@openoffice.org> | 2002-10-07 12:09:48 +0000 |
---|---|---|
committer | Ocke Janssen <oj@openoffice.org> | 2002-10-07 12:09:48 +0000 |
commit | 4cd221a0fa5dc9208c29939abf669a392f3baaeb (patch) | |
tree | 9aafac8251d534931d9970c038e5085536dd29fd /forms | |
parent | e0b0e69062fe17e0f2668f0712ebc7c4ad0497b7 (diff) |
#i3289# correct table name quoting so that in every situation the correct schema, catalog is used
Diffstat (limited to 'forms')
-rw-r--r-- | forms/source/component/ComboBox.cxx | 6 | ||||
-rw-r--r-- | forms/source/component/ListBox.cxx | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/forms/source/component/ComboBox.cxx b/forms/source/component/ComboBox.cxx index b7ba26a27296..eb0bb18b096d 100644 --- a/forms/source/component/ComboBox.cxx +++ b/forms/source/component/ComboBox.cxx @@ -2,9 +2,9 @@ * * $RCSfile: ComboBox.cxx,v $ * - * $Revision: 1.16 $ + * $Revision: 1.17 $ * - * last change: $Author: fs $ $Date: 2002-06-05 09:53:34 $ + * last change: $Author: oj $ $Date: 2002-10-07 13:08:07 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -566,7 +566,7 @@ void OComboBoxModel::loadData() aStatement += quoteName(aQuote, aFieldName); aStatement += ::rtl::OUString::createFromAscii(" FROM "); - aStatement += quoteTableName(xMeta, m_aListSource); + aStatement += quoteTableName(xMeta, m_aListSource,::dbtools::eInDataManipulation); xStmt = xConnection->createStatement(); xListCursor = xStmt->executeQuery(aStatement); diff --git a/forms/source/component/ListBox.cxx b/forms/source/component/ListBox.cxx index c5e5a376c3be..9119bc28efd8 100644 --- a/forms/source/component/ListBox.cxx +++ b/forms/source/component/ListBox.cxx @@ -2,9 +2,9 @@ * * $RCSfile: ListBox.cxx,v $ * - * $Revision: 1.24 $ + * $Revision: 1.25 $ * - * last change: $Author: fs $ $Date: 2002-06-05 09:54:34 $ + * last change: $Author: oj $ $Date: 2002-10-07 13:08:07 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -726,7 +726,7 @@ void OListBoxModel::loadData() aStatement += quoteName(aQuote, aBoundFieldName); } aStatement += ::rtl::OUString::createFromAscii(" FROM "); - aStatement += quoteTableName(xMeta, sListSource); + aStatement += quoteTableName(xMeta, sListSource,::dbtools::eInDataManipulation); xContentSetProperties->setPropertyValue(PROPERTY_COMMAND, makeAny(aStatement)); bExecute = sal_True; |