diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-02-24 14:09:52 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-02-24 15:48:51 +0000 |
commit | 3a74745367a73ed9351379fc32bbe9253cdae697 (patch) | |
tree | 0fec3ca84576a0f51e4f48cdda82b67e7282c3ab /sdext | |
parent | c9126dfbabcde1bf8b157942a5f5134ad547b957 (diff) |
vector::data seems more natural than &vector::front
Change-Id: I0ce48075ad186cf1f9bd3e13fa76269fa9819af1
Diffstat (limited to 'sdext')
-rw-r--r-- | sdext/source/presenter/PresenterAccessibility.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sdext/source/presenter/PresenterAccessibility.cxx b/sdext/source/presenter/PresenterAccessibility.cxx index 044d0fc728f5..3dd042d6cc79 100644 --- a/sdext/source/presenter/PresenterAccessibility.cxx +++ b/sdext/source/presenter/PresenterAccessibility.cxx @@ -1289,7 +1289,7 @@ css::uno::Sequence<sal_Int16> SAL_CALL AccessibleStateSet::getStates() for (sal_uInt16 nIndex=0; nIndex<sizeof(mnStateSet)*8; ++nIndex) if ((mnStateSet & GetStateMask(nIndex)) != 0) aStates.push_back(nIndex); - return Sequence<sal_Int16>(&aStates.front(), aStates.size()); + return Sequence<sal_Int16>(aStates.data(), aStates.size()); } //===== AccessibleRelationSet ================================================= |