Kaydet (Commit) 923c05d4 authored tarafından Kurt Zenker's avatar Kurt Zenker

INTEGRATION: CWS dba221a_SRC680 (1.39.42); FILE MERGED

2007/04/04 13:15:56 oj 1.39.42.1: #i75723# replace name now even when a container name was changed
üst f716e5b6
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
* *
* $RCSfile: AppController.cxx,v $ * $RCSfile: AppController.cxx,v $
* *
* $Revision: 1.40 $ * $Revision: 1.41 $
* *
* last change: $Author: ihi $ $Date: 2007-04-16 16:26:37 $ * last change: $Author: kz $ $Date: 2007-05-09 13:24:34 $
* *
* The Contents of this file are made available subject to * The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1. * the terms of GNU Lesser General Public License Version 2.1.
...@@ -1959,15 +1959,12 @@ void OApplicationController::renameEntry() ...@@ -1959,15 +1959,12 @@ void OApplicationController::renameEntry()
xRename->rename(sNewName); xRename->rename(sNewName);
if ( !Reference< XNameAccess >( xRename, UNO_QUERY ).is() ) if ( eType == E_TABLE )
{ {
if ( eType == E_TABLE ) Reference<XPropertySet> xProp(xRename,UNO_QUERY);
{ sNewName = ::dbaui::composeTableName( m_xMetaData, xProp, ::dbtools::eInDataManipulation, false, false, false );
Reference<XPropertySet> xProp(xRename,UNO_QUERY);
sNewName = ::dbaui::composeTableName( m_xMetaData, xProp, ::dbtools::eInDataManipulation, false, false, false );
}
getContainer()->elementReplaced( eType , sOldName, sNewName );
} }
getContainer()->elementReplaced( eType , sOldName, sNewName );
bTryAgain = sal_False; bTryAgain = sal_False;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment