diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-02-24 14:09:52 +0000 |
---|---|---|
committer | Ashod Nakashian <ashod.nakashian@collabora.co.uk> | 2017-12-05 08:17:26 -0500 |
commit | 1c5dfa9bd3c24fdeec92e8334461a70d07202f0f (patch) | |
tree | 554d001432abd5518f366eef314a0918a9b6c5e8 /sdext | |
parent | ab087a1254cf8074b2cf14cb8eee1cbdfd1b1f3e (diff) |
vector::data seems more natural than &vector::front
Change-Id: I0ce48075ad186cf1f9bd3e13fa76269fa9819af1
(cherry picked from commit 3a74745367a73ed9351379fc32bbe9253cdae697)
(cherry picked from commit 3437713c11d60f99470fc1d0e2a8e5c56d5a6fe8)
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 48916ebf025a..73ca064d4503 100644 --- a/sdext/source/presenter/PresenterAccessibility.cxx +++ b/sdext/source/presenter/PresenterAccessibility.cxx @@ -1400,7 +1400,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 ================================================= |