remove the last changes because the performance would be bad
This commit is contained in:
parent
ab4853d8c4
commit
d28ae0718b
2 changed files with 11 additions and 8 deletions
|
@ -2,9 +2,9 @@
|
|||
*
|
||||
* $RCSfile: xmlexppr.cxx,v $
|
||||
*
|
||||
* $Revision: 1.8 $
|
||||
* $Revision: 1.9 $
|
||||
*
|
||||
* last change: $Author: sab $ $Date: 2000-12-15 11:50:34 $
|
||||
* last change: $Author: sab $ $Date: 2000-12-15 13:52:14 $
|
||||
*
|
||||
* The Contents of this file are made available subject to the terms of
|
||||
* either of the following licenses
|
||||
|
@ -243,14 +243,16 @@ vector< XMLPropertyState > SvXMLExportPropertyMapper::Filter(
|
|||
|
||||
// Call centext-filter
|
||||
ContextFilter( aPropStateArray, xPropSet );
|
||||
vector< XMLPropertyState >::iterator aItr = aPropStateArray.begin();
|
||||
|
||||
// Have to do if we change from a vector to a list or something like that
|
||||
/*vector< XMLPropertyState >::iterator aItr = aPropStateArray.begin();
|
||||
while (aItr != aPropStateArray.end())
|
||||
{
|
||||
if (aItr->mnIndex == -1)
|
||||
aItr = aPropStateArray.erase(aItr);
|
||||
else
|
||||
aItr++;
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
return aPropStateArray;
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
*
|
||||
* $RCSfile: xmlimppr.cxx,v $
|
||||
*
|
||||
* $Revision: 1.9 $
|
||||
* $Revision: 1.10 $
|
||||
*
|
||||
* last change: $Author: sab $ $Date: 2000-12-15 11:50:34 $
|
||||
* last change: $Author: sab $ $Date: 2000-12-15 13:52:14 $
|
||||
*
|
||||
* The Contents of this file are made available subject to the terms of
|
||||
* either of the following licenses
|
||||
|
@ -285,14 +285,15 @@ void SvXMLImportPropertyMapper::importXML(
|
|||
|
||||
finished( rProperties, nStartIdx, nEndIdx );
|
||||
|
||||
std::vector <XMLPropertyState>::iterator aItr = rProperties.begin();
|
||||
// Have to do if we change from a vector to a list or something like that
|
||||
/*std::vector <XMLPropertyState>::iterator aItr = rProperties.begin();
|
||||
while (aItr != rProperties.end())
|
||||
{
|
||||
if (aItr->mnIndex == -1)
|
||||
aItr = rProperties.erase(aItr);
|
||||
else
|
||||
aItr++;
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
/** this method is called for every item that has the MID_FLAG_SPECIAL_ITEM_IMPORT flag set */
|
||||
|
|
Loading…
Reference in a new issue