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:
Caolán McNamara
2024-05-19 16:34:30 +02:00
parent 7e36bbd142
commit 445ee505b6
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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))
+1 -1
View File
@@ -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;