summaryrefslogtreecommitdiff
path: root/xmloff/source/chart/PropertyMaps.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-12-12 08:59:57 +0000
committerCaolán McNamara <caolanm@redhat.com>2016-12-12 09:01:07 +0000
commit111858d6c64e5c3790ec23853df564584f4c3f99 (patch)
tree437cf9d9320244a3d8bb90d05d4f068ab5d45db6 /xmloff/source/chart/PropertyMaps.cxx
parent13cba3505f3af25b640e9d3fa8e24ccdf1378c68 (diff)
coverity#704108 Unchecked return value
Change-Id: I5bd58f94fbea3d59849f60f2096e5191dbb0d810
Diffstat (limited to 'xmloff/source/chart/PropertyMaps.cxx')
-rw-r--r--xmloff/source/chart/PropertyMaps.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/xmloff/source/chart/PropertyMaps.cxx b/xmloff/source/chart/PropertyMaps.cxx
index 30ff2a6d1160..a5059516ec39 100644
--- a/xmloff/source/chart/PropertyMaps.cxx
+++ b/xmloff/source/chart/PropertyMaps.cxx
@@ -564,7 +564,7 @@ bool XMLChartImportPropertyMapper::handleSpecialItem(
{
case XML_SCH_CONTEXT_SPECIAL_TICKS_MAJ_INNER:
case XML_SCH_CONTEXT_SPECIAL_TICKS_MIN_INNER:
- ::sax::Converter::convertBool( bValue, rValue );
+ (void)::sax::Converter::convertBool( bValue, rValue );
// modify old value
rProperty.maValue >>= nValue;
if( bValue )
@@ -575,7 +575,7 @@ bool XMLChartImportPropertyMapper::handleSpecialItem(
break;
case XML_SCH_CONTEXT_SPECIAL_TICKS_MAJ_OUTER:
case XML_SCH_CONTEXT_SPECIAL_TICKS_MIN_OUTER:
- ::sax::Converter::convertBool( bValue, rValue );
+ (void)::sax::Converter::convertBool( bValue, rValue );
// modify old value
rProperty.maValue >>= nValue;
if( bValue )
@@ -610,7 +610,7 @@ bool XMLChartImportPropertyMapper::handleSpecialItem(
break;
case XML_SCH_CONTEXT_SPECIAL_DATA_LABEL_TEXT:
rProperty.maValue >>= nValue;
- ::sax::Converter::convertBool( bValue, rValue );
+ (void)::sax::Converter::convertBool( bValue, rValue );
if( bValue )
SCH_XML_SETFLAG( nValue, chart::ChartDataCaption::TEXT );
else
@@ -619,7 +619,7 @@ bool XMLChartImportPropertyMapper::handleSpecialItem(
break;
case XML_SCH_CONTEXT_SPECIAL_DATA_LABEL_SYMBOL:
rProperty.maValue >>= nValue;
- ::sax::Converter::convertBool( bValue, rValue );
+ (void)::sax::Converter::convertBool( bValue, rValue );
if( bValue )
SCH_XML_SETFLAG( nValue, chart::ChartDataCaption::SYMBOL );
else