diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-10-28 12:11:06 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-10-28 15:06:33 +0000 |
commit | 7694719ce21718975099bbeff3335b279fb3ec49 (patch) | |
tree | 2eed1cf224107809d8f42a8dc7a2b3402fcb5679 /unotools | |
parent | coverity#704085 Unchecked return value (diff) | |
download | core-7694719ce21718975099bbeff3335b279fb3ec49.tar.gz core-7694719ce21718975099bbeff3335b279fb3ec49.zip |
coverity#704086 Unchecked return value
following check is sufficient
Change-Id: Ibcf53293c8e862ab823ed422d1a7a59dcc0977cf
Diffstat (limited to 'unotools')
-rw-r--r-- | unotools/source/config/configitem.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unotools/source/config/configitem.cxx b/unotools/source/config/configitem.cxx index 854ad9ffcc90..3b6aa88c2bcf 100644 --- a/unotools/source/config/configitem.cxx +++ b/unotools/source/config/configitem.cxx @@ -361,7 +361,7 @@ Sequence< sal_Bool > ConfigItem::GetReadOnlyStates(const com::sun::star::uno::Se OUString sPath; OUString sProperty; - ::utl::splitLastFromConfigurationPath(sName,sPath,sProperty); + (void)::utl::splitLastFromConfigurationPath(sName,sPath,sProperty); if (sPath.isEmpty() && sProperty.isEmpty()) { OSL_FAIL("ConfigItem::IsReadonly()\nsplitt failed\n"); |