INTEGRATION: CWS ooo20040704 (1.12.186); FILE MERGED

2004/06/28 13:54:17 cmc 1.12.186.1: #i30801# allow using system stl if possible
This commit is contained in:
Rüdiger Timm 2004-09-08 15:20:42 +00:00
parent dd31086324
commit 547019d27e

View file

@ -2,9 +2,9 @@
*
* $RCSfile: FCatalog.cxx,v $
*
* $Revision: 1.12 $
* $Revision: 1.13 $
*
* last change: $Author: oj $ $Date: 2002-11-15 13:35:55 $
* last change: $Author: rt $ $Date: 2004-09-08 16:20:42 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@ -151,7 +151,8 @@ Sequence< Type > SAL_CALL OFileCatalog::getTypes( ) throw(RuntimeException)
aOwnTypes.push_back(*pBegin);
}
}
return Sequence< Type >(aOwnTypes.begin(),aOwnTypes.size());
const Type *pTypes = aOwnTypes.empty() ? 0 : &aOwnTypes[0];
return Sequence< Type >(pTypes, aOwnTypes.size());
}
// -----------------------------------------------------------------------------