From 317e9a13b01893cb21fe4376d382f9d8e4a21f6f Mon Sep 17 00:00:00 2001 From: Oliver Bolte Date: Thu, 25 Jan 2007 11:00:51 +0000 Subject: INTEGRATION: CWS dba22c (1.22.48); FILE MERGED 2007/01/04 13:34:48 oj 1.22.48.1: #141483# access iter after changing the map --- dbaccess/source/ui/misc/WColumnSelect.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'dbaccess/source/ui/misc/WColumnSelect.cxx') diff --git a/dbaccess/source/ui/misc/WColumnSelect.cxx b/dbaccess/source/ui/misc/WColumnSelect.cxx index 46e459b7baeb..a98d34a04e5a 100644 --- a/dbaccess/source/ui/misc/WColumnSelect.cxx +++ b/dbaccess/source/ui/misc/WColumnSelect.cxx @@ -4,9 +4,9 @@ * * $RCSfile: WColumnSelect.cxx,v $ * - * $Revision: 1.22 $ + * $Revision: 1.23 $ * - * last change: $Author: obo $ $Date: 2006-10-12 13:40:49 $ + * last change: $Author: obo $ $Date: 2007-01-25 12:00:51 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -392,7 +392,6 @@ void OWizColumnSelect::moveColumn( ListBox* _pRight, ODatabaseExport::TColumnVector::const_iterator aPos = ::std::find(pSrcVector->begin(),pSrcVector->end(),aSrcIter); OSL_ENSURE( aPos != pSrcVector->end(),"Invalid position for the iterator here!"); ODatabaseExport::TColumnVector::size_type nPos = (aPos - pSrcVector->begin()) - adjustColumnPosition(_pLeft, _sColumnName, (aPos - pSrcVector->begin()), _aCase); - m_pParent->removeColumnNameFromNameMap(_sColumnName); _pRight->SetEntryData( _pRight->InsertEntry( (*aIter).first, sal::static_int_cast< USHORT >(nPos)),aSrcIter->second ); _rRightColumns.push_back((*aIter).first); -- cgit