Tag: cws_src680_qiq User: fs Date: 06/05/18 02:18:38 Modified: /dba/dbaccess/source/ui/querydesign/ querycontroller.cxx
Log: #i51143# when creating/pasting/saving a table/query, care for name collisions with both tables and queries (usign a DynamicTableOrQueryNameCheck), if the database supports queries in queries File Changes: Directory: /dba/dbaccess/source/ui/querydesign/ =============================================== File [changed]: querycontroller.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/querydesign/querycontroller.cxx?r1=1.103.4.5&r2=1.103.4.6 Delta lines: +3 -3 ------------------- --- querycontroller.cxx 17 May 2006 11:48:47 -0000 1.103.4.5 +++ querycontroller.cxx 18 May 2006 09:18:35 -0000 1.103.4.6 @@ -4,9 +4,9 @@ * * $RCSfile: querycontroller.cxx,v $ * - * $Revision: 1.103.4.5 $ + * $Revision: 1.103.4.6 $ * - * last change: $Author: fs $ $Date: 2006/05/17 11:48:47 $ + * last change: $Author: fs $ $Date: 2006/05/18 09:18:35 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -1270,7 +1270,7 @@ aDefaultName = String(::dbtools::createUniqueName(_xElements,aName)); } - PlainNameCheck aNameChecker( _xElements ); + DynamicTableOrQueryNameCheck aNameChecker( getConnection(), CommandType::QUERY ); OSaveAsDlg aDlg( getView(), m_bCreateView ? CommandType::TABLE : CommandType::QUERY, --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
