diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2007-01-15 13:37:28 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2007-01-15 13:37:28 +0000 |
commit | bbef9d3d60d05658cc9640a345e26e0d83642b78 (patch) | |
tree | 62270255af276a1c4b2122c5fabae1b878ba03b9 /dbaccess/source/ui/tabledesign/TableController.cxx | |
parent | 3f3e693cb0021d5a438a8b54467ee0586b0c64ef (diff) |
INTEGRATION: CWS dba22b (1.109.6); FILE MERGED
2006/12/09 21:49:55 fs 1.109.6.1: #i72428# NamedValueCollection API changes
Diffstat (limited to 'dbaccess/source/ui/tabledesign/TableController.cxx')
-rw-r--r-- | dbaccess/source/ui/tabledesign/TableController.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/dbaccess/source/ui/tabledesign/TableController.cxx b/dbaccess/source/ui/tabledesign/TableController.cxx index a5be9207ccfb..e04817f26372 100644 --- a/dbaccess/source/ui/tabledesign/TableController.cxx +++ b/dbaccess/source/ui/tabledesign/TableController.cxx @@ -4,9 +4,9 @@ * * $RCSfile: TableController.cxx,v $ * - * $Revision: 1.109 $ + * $Revision: 1.110 $ * - * last change: $Author: vg $ $Date: 2006-11-21 17:17:16 $ + * last change: $Author: vg $ $Date: 2007-01-15 14:37:28 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -621,8 +621,7 @@ void OTableController::impl_initialize() if ( xConnection.is() ) initializeConnection( xConnection ); - if ( !rArguments.getIfExists_ensureType( (::rtl::OUString)PROPERTY_CURRENTTABLE, m_sName ) ) - throw Exception(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Invalid argument type for CurrentTable.")),*this); + rArguments.get_ensureType( (::rtl::OUString)PROPERTY_CURRENTTABLE, m_sName ); // read autoincrement value set in the datasource ::dbaui::fillAutoIncrementValue(getDataSource(),m_bAllowAutoIncrementValue,m_sAutoIncrementValue); |