Tag: cws_oof680_dba221a
User: oj      
Date: 2007/04/04 06:16:00

Modified:
   dba/dbaccess/source/ui/app/AppController.cxx

Log:
 #i75723# replace name now even when a container name was changed

File Changes:

Directory: /dba/dbaccess/source/ui/app/
=======================================

File [changed]: AppController.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/app/AppController.cxx?r1=1.39&r2=1.39.42.1
Delta lines:  +7 -10
--------------------
--- AppController.cxx   13 Dec 2006 16:46:18 -0000      1.39
+++ AppController.cxx   4 Apr 2007 13:15:56 -0000       1.39.42.1
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: AppController.cxx,v $
  *
- *  $Revision: 1.39 $
+ *  $Revision: 1.39.42.1 $
  *
- *  last change: $Author: kz $ $Date: 2006/12/13 16:46:18 $
+ *  last change: $Author: oj $ $Date: 2007/04/04 13:15:56 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -1959,15 +1959,12 @@
 
                                                        
xRename->rename(sNewName);
 
-                                                       if ( !Reference< 
XNameAccess >( xRename, UNO_QUERY ).is() )
-                            {
                                 if ( eType == E_TABLE )
                                 {
                                     Reference<XPropertySet> 
xProp(xRename,UNO_QUERY);
                                     sNewName = ::dbaui::composeTableName( 
m_xMetaData, xProp, ::dbtools::eInDataManipulation, false, false, false );
                                 }
                                                                
getContainer()->elementReplaced( eType , sOldName, sNewName );
-                            }
 
                                                        bTryAgain = sal_False;
                                                }




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

Reply via email to