Kaydet (Commit) 7694719c authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#704086 Unchecked return value

following check is sufficient

Change-Id: Ibcf53293c8e862ab823ed422d1a7a59dcc0977cf
üst 5d78c658
...@@ -361,7 +361,7 @@ Sequence< sal_Bool > ConfigItem::GetReadOnlyStates(const com::sun::star::uno::Se ...@@ -361,7 +361,7 @@ Sequence< sal_Bool > ConfigItem::GetReadOnlyStates(const com::sun::star::uno::Se
OUString sPath; OUString sPath;
OUString sProperty; OUString sProperty;
::utl::splitLastFromConfigurationPath(sName,sPath,sProperty); (void)::utl::splitLastFromConfigurationPath(sName,sPath,sProperty);
if (sPath.isEmpty() && sProperty.isEmpty()) if (sPath.isEmpty() && sProperty.isEmpty())
{ {
OSL_FAIL("ConfigItem::IsReadonly()\nsplitt failed\n"); OSL_FAIL("ConfigItem::IsReadonly()\nsplitt failed\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment