Tag: cws_src680_lobeta2
User: mba     
Date: 05/02/24 13:17:12

Modified:
 /dba/dbaccess/source/filter/migration/
  cfgimport.cxx

Log:
 #i43232#: avoid exception on when inserting existing table

File Changes:

Directory: /dba/dbaccess/source/filter/migration/
=================================================

File [changed]: cfgimport.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/filter/migration/cfgimport.cxx?r1=1.4&r2=1.4.48.1
Delta lines:  +61 -60
---------------------
--- cfgimport.cxx       15 Nov 2004 15:17:53 -0000      1.4
+++ cfgimport.cxx       24 Feb 2005 21:17:09 -0000      1.4.48.1
@@ -2,9 +2,9 @@
  *
  *  $RCSfile: cfgimport.cxx,v $
  *
- *  $Revision: 1.4 $
+ *  $Revision: 1.4.48.1 $
  *
- *  last change: $Author: obo $ $Date: 2004/11/15 15:17:53 $
+ *  last change: $Author: mba $ $Date: 2005/02/24 21:17:09 $
  *
  *  The Contents of this file are made available subject to the terms of
  *  either of the following licenses
@@ -861,6 +861,7 @@
                                        Reference<XNameContainer> 
xTables(xSupplier->getTables(),UNO_QUERY);
                                        ::rtl::OUString sName;
                                        
m_xCurrentObject->getPropertyValue(PROPERTY_NAME) >>= sName;
+                    if ( !xTables->hasByName(sName) )
                                        
xTables->insertByName(sName,makeAny(m_xCurrentObject));
                                        m_xCurrentObject = NULL;
                                }




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to