summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-12-15 21:15:29 +0000
committerCaolán McNamara <caolanm@redhat.com>2016-12-16 01:48:37 +0000
commiteb0e2dabde9d96892929f6902d8d10d722b83c3e (patch)
tree4a802b32f23af48efecb48c4eff52427be59bed4
parent0c565095983b0cc8b96a78012c611b7a03962204 (diff)
coverity#1397200 Unchecked return value
and coverity#1397201 Unchecked return value coverity#1397202 Unchecked return value Change-Id: I73cc6e3b08e6a44b27be2093ba568d46ebe0659a
-rw-r--r--sc/source/filter/xml/xmlcondformat.cxx4
-rw-r--r--sfx2/source/appl/appmisc.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/filter/xml/xmlcondformat.cxx b/sc/source/filter/xml/xmlcondformat.cxx
index 6479f1b580a3..d34c27c07e05 100644
--- a/sc/source/filter/xml/xmlcondformat.cxx
+++ b/sc/source/filter/xml/xmlcondformat.cxx
@@ -266,7 +266,7 @@ ScXMLDataBarFormatContext::ScXMLDataBarFormatContext( ScXMLImport& rImport, sal_
if(!sShowValue.isEmpty())
{
bool bShowValue = true;
- sax::Converter::convertBool( bShowValue, sShowValue );
+ (void)sax::Converter::convertBool( bShowValue, sShowValue );
mpFormatData->mbOnlyBar = !bShowValue;
}
@@ -366,7 +366,7 @@ ScXMLIconSetFormatContext::ScXMLIconSetFormatContext(ScXMLImport& rImport, sal_u
if(!sShowValue.isEmpty())
{
bool bShowValue = true;
- sax::Converter::convertBool( bShowValue, sShowValue );
+ (void)sax::Converter::convertBool( bShowValue, sShowValue );
pIconSetFormatData->mbShowValue = !bShowValue;
}
diff --git a/sfx2/source/appl/appmisc.cxx b/sfx2/source/appl/appmisc.cxx
index bf6a9a151b62..ea712f68548d 100644
--- a/sfx2/source/appl/appmisc.cxx
+++ b/sfx2/source/appl/appmisc.cxx
@@ -218,7 +218,7 @@ BitmapEx SfxApplication::GetApplicationLogo(long nWidth)
{
BitmapEx aBitmap;
SfxApplication::loadBrandSvg("flat_logo", aBitmap, nWidth);
- Application::LoadBrandBitmap ("about", aBitmap);
+ (void)Application::LoadBrandBitmap ("about", aBitmap);
return aBitmap;
}