diff options
author | Rüdiger Timm <rt@openoffice.org> | 2004-09-08 15:20:30 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2004-09-08 15:20:30 +0000 |
commit | dd31086324bceef29ae64fc9563731c3312e2c8b (patch) | |
tree | 39ead24574fd70437bcee41788c23f21c206864b /connectivity/source/drivers/evoab/LTable.cxx | |
parent | 15e5c0fe960bb51e7d0de983d670d5dfa384a465 (diff) |
INTEGRATION: CWS ooo20040704 (1.5.50); FILE MERGED
2004/06/28 13:54:16 cmc 1.5.50.1: #i30801# allow using system stl if possible
Diffstat (limited to 'connectivity/source/drivers/evoab/LTable.cxx')
-rw-r--r-- | connectivity/source/drivers/evoab/LTable.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/connectivity/source/drivers/evoab/LTable.cxx b/connectivity/source/drivers/evoab/LTable.cxx index 535b0d95979f..390e932f880b 100644 --- a/connectivity/source/drivers/evoab/LTable.cxx +++ b/connectivity/source/drivers/evoab/LTable.cxx @@ -2,9 +2,9 @@ * * $RCSfile: LTable.cxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: hr $ $Date: 2004-08-02 17:01:54 $ + * last change: $Author: rt $ $Date: 2004-09-08 16:20:30 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -551,7 +551,8 @@ Sequence< Type > SAL_CALL OEvoabTable::getTypes( ) throw(RuntimeException) aOwnTypes.push_back(*pBegin); } } - return Sequence< Type >(aOwnTypes.begin(),aOwnTypes.size()); + Type *pTypes = aOwnTypes.empty() ? 0 : &aOwnTypes[0]; + return Sequence< Type >(pTypes, aOwnTypes.size()); } // ------------------------------------------------------------------------- |