diff options
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/chart/SchXMLRegressionCurveObjectContext.cxx | 4 | ||||
-rw-r--r-- | xmloff/source/chart/XMLErrorIndicatorPropertyHdl.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/draw/ximp3dscene.cxx | 6 | ||||
-rw-r--r-- | xmloff/source/forms/elementimport.cxx | 4 | ||||
-rw-r--r-- | xmloff/source/forms/officeforms.cxx | 2 |
5 files changed, 9 insertions, 9 deletions
diff --git a/xmloff/source/chart/SchXMLRegressionCurveObjectContext.cxx b/xmloff/source/chart/SchXMLRegressionCurveObjectContext.cxx index 885f5336a610..7e06dcebdb7b 100644 --- a/xmloff/source/chart/SchXMLRegressionCurveObjectContext.cxx +++ b/xmloff/source/chart/SchXMLRegressionCurveObjectContext.cxx @@ -153,10 +153,10 @@ void SchXMLEquationContext::StartElement( const uno::Reference< xml::sax::XAttri bHasYPos = true; break; case XML_TOK_REGEQ_DISPLAY_EQUATION: - ::sax::Converter::convertBool(bShowEquation, aValue); + (void)::sax::Converter::convertBool(bShowEquation, aValue); break; case XML_TOK_REGEQ_DISPLAY_R_SQUARE: - ::sax::Converter::convertBool(bShowRSquare, aValue); + (void)::sax::Converter::convertBool(bShowRSquare, aValue); break; case XML_TOK_REGEQ_STYLE_NAME: sAutoStyleName = aValue; diff --git a/xmloff/source/chart/XMLErrorIndicatorPropertyHdl.cxx b/xmloff/source/chart/XMLErrorIndicatorPropertyHdl.cxx index 7b95f63a4099..12ea12f51aaa 100644 --- a/xmloff/source/chart/XMLErrorIndicatorPropertyHdl.cxx +++ b/xmloff/source/chart/XMLErrorIndicatorPropertyHdl.cxx @@ -37,7 +37,7 @@ bool XMLErrorIndicatorPropertyHdl::importXML( const OUString& rStrImpValue, uno::Any& rValue, const SvXMLUnitConverter& /*rUnitConverter*/ ) const { bool bValue(false); - ::sax::Converter::convertBool( bValue, rStrImpValue ); + (void)::sax::Converter::convertBool( bValue, rStrImpValue ); // modify existing value chart::ChartErrorIndicatorType eType = chart::ChartErrorIndicatorType_NONE; diff --git a/xmloff/source/draw/ximp3dscene.cxx b/xmloff/source/draw/ximp3dscene.cxx index 1d294b4b09ea..511b005694ce 100644 --- a/xmloff/source/draw/ximp3dscene.cxx +++ b/xmloff/source/draw/ximp3dscene.cxx @@ -79,12 +79,12 @@ SdXML3DLightContext::SdXML3DLightContext( } case XML_TOK_3DLIGHT_ENABLED: { - ::sax::Converter::convertBool(mbEnabled, sValue); + (void)::sax::Converter::convertBool(mbEnabled, sValue); break; } case XML_TOK_3DLIGHT_SPECULAR: { - ::sax::Converter::convertBool(mbSpecular, sValue); + (void)::sax::Converter::convertBool(mbSpecular, sValue); break; } } @@ -329,7 +329,7 @@ void SdXML3DSceneAttributesHelper::processSceneAttribute( sal_uInt16 nPrefix, co } else if( IsXMLToken( rLocalName, XML_LIGHTING_MODE ) ) { - ::sax::Converter::convertBool(mbLightingMode, rValue); + (void)::sax::Converter::convertBool(mbLightingMode, rValue); return; } } diff --git a/xmloff/source/forms/elementimport.cxx b/xmloff/source/forms/elementimport.cxx index a733993a7e6a..117b99ffd323 100644 --- a/xmloff/source/forms/elementimport.cxx +++ b/xmloff/source/forms/elementimport.cxx @@ -1790,14 +1790,14 @@ namespace xmloff // propagate the selected flag bool bSelected(false); - ::sax::Converter::convertBool(bSelected, + (void)::sax::Converter::convertBool(bSelected, _rxAttrList->getValueByName(sSelectedAttribute)); if (bSelected) m_xListBoxImport->implSelectCurrentItem(); // same for the default selected bool bDefaultSelected(false); - ::sax::Converter::convertBool(bDefaultSelected, + (void)::sax::Converter::convertBool(bDefaultSelected, _rxAttrList->getValueByName(sDefaultSelectedAttribute)); if (bDefaultSelected) m_xListBoxImport->implDefaultSelectCurrentItem(); diff --git a/xmloff/source/forms/officeforms.cxx b/xmloff/source/forms/officeforms.cxx index 74a37ac0be89..eb84c822d0da 100644 --- a/xmloff/source/forms/officeforms.cxx +++ b/xmloff/source/forms/officeforms.cxx @@ -75,7 +75,7 @@ namespace xmloff // get and convert the value OUString sAttributeValue = _rxAttributes->getValueByName(sCompleteAttributeName); bool bValue = _bDefault; - ::sax::Converter::convertBool(bValue, sAttributeValue); + (void)::sax::Converter::convertBool(bValue, sAttributeValue); // set the property if (_rxPropInfo->hasPropertyByName(_rPropName)) |