summaryrefslogtreecommitdiff
path: root/stoc/source/security/permissions.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'stoc/source/security/permissions.cxx')
-rw-r--r--stoc/source/security/permissions.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/stoc/source/security/permissions.cxx b/stoc/source/security/permissions.cxx
index 28b207abc093..85f8e02c503e 100644
--- a/stoc/source/security/permissions.cxx
+++ b/stoc/source/security/permissions.cxx
@@ -528,8 +528,7 @@ Sequence< OUString > PermissionCollection::toStrings() const
{
strings.push_back( perm->toString() );
}
- return Sequence< OUString >(
- strings.empty() ? 0 : &strings[ 0 ], strings.size() );
+ return Sequence< OUString >( strings.data(), strings.size() );
}
#endif