cid#1598293 silence Unchecked return value
and cid#1598292 Unchecked return value Change-Id: I9880932b8fb2340ec122c907aea0374881238283 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167843 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
This commit is contained in:
@@ -1607,7 +1607,7 @@ SwXTextSection::getPropertyDefault(const OUString& rPropertyName)
|
||||
case FN_UNO_ANCHOR_TYPES:
|
||||
case FN_UNO_TEXT_WRAP:
|
||||
case FN_UNO_ANCHOR_TYPE:
|
||||
::sw::GetDefaultTextContentValue(aRet, u"", pEntry->nWID);
|
||||
(void)::sw::GetDefaultTextContentValue(aRet, u"", pEntry->nWID);
|
||||
break;
|
||||
default:
|
||||
if(pFormat && SfxItemPool::IsWhich(pEntry->nWID))
|
||||
|
||||
@@ -2713,7 +2713,7 @@ uno::Any SwXTextTable::getPropertyValue(const OUString& rPropertyName)
|
||||
case FN_UNO_ANCHOR_TYPES:
|
||||
case FN_UNO_TEXT_WRAP:
|
||||
case FN_UNO_ANCHOR_TYPE:
|
||||
::sw::GetDefaultTextContentValue(
|
||||
(void)::sw::GetDefaultTextContentValue(
|
||||
aRet, u"", pEntry->nWID);
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user