summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-04-01 19:13:55 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-04-01 19:51:19 +0100
commit68273aaae40b054b7b7e80b472450a5f64196971 (patch)
tree54a8bee3305d9bb818dbb4d4cdf7766cdc836445 /xmloff
parentf050faebabec8a0c2d63fe63a1195bb845ea4443 (diff)
coverity#1403657 Unchecked return value
and coverity#1403656 Unchecked return value Change-Id: I41660df2685b1a07c5ec8f363f6b9c4c581d7c83
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/text/XMLFootnoteConfigurationImportContext.cxx4
-rw-r--r--xmloff/source/text/XMLLineNumberingImportContext.cxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/xmloff/source/text/XMLFootnoteConfigurationImportContext.cxx b/xmloff/source/text/XMLFootnoteConfigurationImportContext.cxx
index 3ea9582dc344..667660a92df2 100644
--- a/xmloff/source/text/XMLFootnoteConfigurationImportContext.cxx
+++ b/xmloff/source/text/XMLFootnoteConfigurationImportContext.cxx
@@ -264,8 +264,8 @@ void XMLFootnoteConfigurationImportContext::StartElement(
break;
case XML_TOK_FTNCONFIG_START_AT:
{
- SvXMLUnitConverter::convertEnum(nNumbering, sValue,
- aFootnoteNumberingMap);
+ (void)SvXMLUnitConverter::convertEnum(nNumbering, sValue,
+ aFootnoteNumberingMap);
break;
}
case XML_TOK_FTNCONFIG_POSITION:
diff --git a/xmloff/source/text/XMLLineNumberingImportContext.cxx b/xmloff/source/text/XMLLineNumberingImportContext.cxx
index ce2d059dc4f9..e70cd6db2bd1 100644
--- a/xmloff/source/text/XMLLineNumberingImportContext.cxx
+++ b/xmloff/source/text/XMLLineNumberingImportContext.cxx
@@ -190,8 +190,8 @@ void XMLLineNumberingImportContext::ProcessAttribute(
{ XML_TOKEN_INVALID, 0 }
};
- SvXMLUnitConverter::convertEnum(nNumberPosition, sValue,
- aLineNumberPositionMap);
+ (void)SvXMLUnitConverter::convertEnum(nNumberPosition, sValue,
+ aLineNumberPositionMap);
break;
}