Kaydet (Commit) eb0e2dab authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1397200 Unchecked return value

and

coverity#1397201 Unchecked return value
coverity#1397202 Unchecked return value

Change-Id: I73cc6e3b08e6a44b27be2093ba568d46ebe0659a
üst 0c565095
...@@ -266,7 +266,7 @@ ScXMLDataBarFormatContext::ScXMLDataBarFormatContext( ScXMLImport& rImport, sal_ ...@@ -266,7 +266,7 @@ ScXMLDataBarFormatContext::ScXMLDataBarFormatContext( ScXMLImport& rImport, sal_
if(!sShowValue.isEmpty()) if(!sShowValue.isEmpty())
{ {
bool bShowValue = true; bool bShowValue = true;
sax::Converter::convertBool( bShowValue, sShowValue ); (void)sax::Converter::convertBool( bShowValue, sShowValue );
mpFormatData->mbOnlyBar = !bShowValue; mpFormatData->mbOnlyBar = !bShowValue;
} }
...@@ -366,7 +366,7 @@ ScXMLIconSetFormatContext::ScXMLIconSetFormatContext(ScXMLImport& rImport, sal_u ...@@ -366,7 +366,7 @@ ScXMLIconSetFormatContext::ScXMLIconSetFormatContext(ScXMLImport& rImport, sal_u
if(!sShowValue.isEmpty()) if(!sShowValue.isEmpty())
{ {
bool bShowValue = true; bool bShowValue = true;
sax::Converter::convertBool( bShowValue, sShowValue ); (void)sax::Converter::convertBool( bShowValue, sShowValue );
pIconSetFormatData->mbShowValue = !bShowValue; pIconSetFormatData->mbShowValue = !bShowValue;
} }
......
...@@ -218,7 +218,7 @@ BitmapEx SfxApplication::GetApplicationLogo(long nWidth) ...@@ -218,7 +218,7 @@ BitmapEx SfxApplication::GetApplicationLogo(long nWidth)
{ {
BitmapEx aBitmap; BitmapEx aBitmap;
SfxApplication::loadBrandSvg("flat_logo", aBitmap, nWidth); SfxApplication::loadBrandSvg("flat_logo", aBitmap, nWidth);
Application::LoadBrandBitmap ("about", aBitmap); (void)Application::LoadBrandBitmap ("about", aBitmap);
return aBitmap; return aBitmap;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment