From d5228dea6e1a0958be9c5bd924eaa7955e33514e Mon Sep 17 00:00:00 2001 From: RĂ¼diger Timm Date: Thu, 4 May 2006 07:45:10 +0000 Subject: INTEGRATION: CWS dba203c (1.42.48); FILE MERGED 2006/04/27 06:29:34 oj 1.42.48.3: duplicate method 2006/04/24 13:45:38 oj 1.42.48.2: RESYNC: (1.42-1.43); FILE MERGED 2006/04/13 13:55:20 oj 1.42.48.1: #i62797# format regconition corrected --- dbaccess/source/ui/misc/WCopyTable.cxx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'dbaccess/source/ui/misc/WCopyTable.cxx') diff --git a/dbaccess/source/ui/misc/WCopyTable.cxx b/dbaccess/source/ui/misc/WCopyTable.cxx index 6c18e328a420..2d1c2aaade3c 100644 --- a/dbaccess/source/ui/misc/WCopyTable.cxx +++ b/dbaccess/source/ui/misc/WCopyTable.cxx @@ -4,9 +4,9 @@ * * $RCSfile: WCopyTable.cxx,v $ * - * $Revision: 1.43 $ + * $Revision: 1.44 $ * - * last change: $Author: hr $ $Date: 2006-04-19 13:23:48 $ + * last change: $Author: rt $ $Date: 2006-05-04 08:45:10 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -782,8 +782,9 @@ void OCopyTableWizard::appendColumns(Reference& _rxColSup,cons // now only the settings are missing if(xColumns->hasByName(pField->GetName())) { - xColumns->getByName(pField->GetName()) >>= xColumn; - if(xColumn.is()) + xColumn.set(xColumns->getByName(pField->GetName()),UNO_QUERY); + OSL_ENSURE(xColumn.is(),"OCopyTableWizard::appendColumns: Column is NULL!"); + if ( xColumn.is() ) dbaui::setColumnUiProperties(xColumn,pField); } else @@ -1202,3 +1203,4 @@ void OCopyTableWizard::showColumnTypeNotSupported(const ::rtl::OUString& _rColum aMsg.Execute(); } // ----------------------------------------------------------------------------- + -- cgit