Kaydet (Commit) 73da4c5a authored tarafından Vladimir Glazounov's avatar Vladimir Glazounov

INTEGRATION: CWS dba24 (1.34.14); FILE MERGED

2005/02/09 17:46:39 fs 1.34.14.1: cloneColumns: should loop the columns of the original ...
üst 4e1eeaaf
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: Grid.cxx,v $ * $RCSfile: Grid.cxx,v $
* *
* $Revision: 1.34 $ * $Revision: 1.35 $
* *
* last change: $Author: obo $ $Date: 2005-01-05 12:03:32 $ * last change: $Author: vg $ $Date: 2005-03-10 16:00:40 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -245,8 +245,8 @@ void OGridControlModel::cloneColumns( const OGridControlModel* _pOriginalContain ...@@ -245,8 +245,8 @@ void OGridControlModel::cloneColumns( const OGridControlModel* _pOriginalContain
{ {
Reference< XCloneable > xColCloneable; Reference< XCloneable > xColCloneable;
const OInterfaceArray::const_iterator pColumnStart = m_aItems.begin(); const OInterfaceArray::const_iterator pColumnStart = _pOriginalContainer->m_aItems.begin();
const OInterfaceArray::const_iterator pColumnEnd = m_aItems.end(); const OInterfaceArray::const_iterator pColumnEnd = _pOriginalContainer->m_aItems.end();
for ( OInterfaceArray::const_iterator pColumn = pColumnStart; pColumn != pColumnEnd; ++pColumn ) for ( OInterfaceArray::const_iterator pColumn = pColumnStart; pColumn != pColumnEnd; ++pColumn )
{ {
// ask the col for a factory for the clone // ask the col for a factory for the clone
......
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