Tag: cws_src680_dba202e User: fs Date: 05/12/08 05:37:28 Modified: /dba/connectivity/source/commontools/ dbtools.cxx
Log: #114920# recognize empty source/dest set File Changes: Directory: /dba/connectivity/source/commontools/ ================================================ File [changed]: dbtools.cxx Url: http://dba.openoffice.org/source/browse/dba/connectivity/source/commontools/dbtools.cxx?r1=1.57&r2=1.57.38.1 Delta lines: +7 -3 ------------------- --- dbtools.cxx 23 Sep 2005 11:36:41 -0000 1.57 +++ dbtools.cxx 8 Dec 2005 13:37:24 -0000 1.57.38.1 @@ -4,9 +4,9 @@ * * $RCSfile: dbtools.cxx,v $ * - * $Revision: 1.57 $ + * $Revision: 1.57.38.1 $ * - * last change: $Author: hr $ $Date: 2005/09/23 11:36:41 $ + * last change: $Author: fs $ $Date: 2005/12/08 13:37:24 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -939,6 +939,10 @@ { try { + OSL_ENSURE( xOldProps.is() && xNewProps.is(), "TransferFormComponentProperties: invalid source/dest!" ); + if ( !xOldProps.is() || !xNewProps.is() ) + return; + // kopieren wir erst mal alle Props, die in Quelle und Ziel vorhanden sind und identische Beschreibungen haben Reference< XPropertySetInfo> xOldInfo( xOldProps->getPropertySetInfo()); Reference< XPropertySetInfo> xNewInfo( xNewProps->getPropertySetInfo()); --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
