diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-07-18 11:55:08 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-07-19 11:41:24 +0200 |
commit | 6dfc659c5e468ad969291ad39085b9c3ec53bcac (patch) | |
tree | bb99efc7194a3719dec32d4b9079e62d09e0afc4 /oox | |
parent | 836c40904f4424a5b7ae708171a7aab53141761a (diff) |
cid#1448264 silence Out-of-bounds access
Change-Id: I12267e8709d8f36acbbd6c70bfdb80a2a500e5d3
Reviewed-on: https://gerrit.libreoffice.org/75910
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/export/ColorPropertySet.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/oox/source/export/ColorPropertySet.cxx b/oox/source/export/ColorPropertySet.cxx index 8c48022c4288..e1a861d52ff6 100644 --- a/oox/source/export/ColorPropertySet.cxx +++ b/oox/source/export/ColorPropertySet.cxx @@ -158,7 +158,8 @@ PropertyState SAL_CALL ColorPropertySet::getPropertyState( const OUString& /* Pr Sequence< PropertyState > SAL_CALL ColorPropertySet::getPropertyStates( const Sequence< OUString >& /* aPropertyName */ ) { PropertyState aState = PropertyState_DIRECT_VALUE; - return Sequence< PropertyState >( & aState, 1 ); + // coverity[overrun-buffer-arg : FALSE] - coverity has difficulty with css::uno::Sequence + return Sequence<PropertyState>(&aState, 1); } void SAL_CALL ColorPropertySet::setPropertyToDefault( const OUString& PropertyName ) |