INTEGRATION: CWS dbo510 (1.7.20); FILE MERGED
2006/02/15 10:53:50 dbo 1.7.20.1: #i59034# making Sequence construction robust for non-pro
This commit is contained in:
@@ -4,9 +4,9 @@
|
|||||||
*
|
*
|
||||||
* $RCSfile: permissions.cxx,v $
|
* $RCSfile: permissions.cxx,v $
|
||||||
*
|
*
|
||||||
* $Revision: 1.7 $
|
* $Revision: 1.8 $
|
||||||
*
|
*
|
||||||
* last change: $Author: rt $ $Date: 2005-09-08 08:10:31 $
|
* last change: $Author: rt $ $Date: 2006-03-06 10:12:00 $
|
||||||
*
|
*
|
||||||
* The Contents of this file are made available subject to
|
* The Contents of this file are made available subject to
|
||||||
* the terms of GNU Lesser General Public License Version 2.1.
|
* the terms of GNU Lesser General Public License Version 2.1.
|
||||||
@@ -556,7 +556,8 @@ Sequence< OUString > PermissionCollection::toStrings() const SAL_THROW( () )
|
|||||||
{
|
{
|
||||||
strings.push_back( perm->toString() );
|
strings.push_back( perm->toString() );
|
||||||
}
|
}
|
||||||
return Sequence< OUString >( &strings[ 0 ], strings.size() );
|
return Sequence< OUString >(
|
||||||
|
strings.empty() ? 0 : &strings[ 0 ], strings.size() );
|
||||||
}
|
}
|
||||||
//__________________________________________________________________________________________________
|
//__________________________________________________________________________________________________
|
||||||
inline static bool __implies(
|
inline static bool __implies(
|
||||||
|
Reference in New Issue
Block a user