From 8ac2bdfd797f9aad21c866fa5ca224bf82356c1f Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 2 Sep 2016 09:54:26 +0100 Subject: coverity#704000 silence Unchecked return value Change-Id: Ie4a00562377a346df2edcd62468372a1091802a1 --- sc/source/ui/unoobj/cellsuno.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sc') diff --git a/sc/source/ui/unoobj/cellsuno.cxx b/sc/source/ui/unoobj/cellsuno.cxx index a234b54f90b9..d4f2318ffb88 100644 --- a/sc/source/ui/unoobj/cellsuno.cxx +++ b/sc/source/ui/unoobj/cellsuno.cxx @@ -7215,7 +7215,7 @@ void SAL_CALL ScTableSheetObj::insertCells( const table::CellRangeAddress& rRang OSL_ENSURE( rRangeAddress.Sheet == GetTab_Impl(), "falsche Tabelle in CellRangeAddress" ); ScRange aScRange; ScUnoConversion::FillScRange( aScRange, rRangeAddress ); - pDocSh->GetDocFunc().InsertCells( aScRange, nullptr, eCmd, true, true ); + (void)pDocSh->GetDocFunc().InsertCells( aScRange, nullptr, eCmd, true, true ); } } } @@ -7246,7 +7246,7 @@ void SAL_CALL ScTableSheetObj::removeRange( const table::CellRangeAddress& rRang OSL_ENSURE( rRangeAddress.Sheet == GetTab_Impl(), "falsche Tabelle in CellRangeAddress" ); ScRange aScRange; ScUnoConversion::FillScRange( aScRange, rRangeAddress ); - pDocSh->GetDocFunc().DeleteCells( aScRange, nullptr, eCmd, true ); + (void)pDocSh->GetDocFunc().DeleteCells( aScRange, nullptr, eCmd, true ); } } } @@ -7263,7 +7263,7 @@ void SAL_CALL ScTableSheetObj::moveRange( const table::CellAddress& aDestination ScRange aSourceRange; ScUnoConversion::FillScRange( aSourceRange, aSource ); ScAddress aDestPos( (SCCOL)aDestination.Column, (SCROW)aDestination.Row, aDestination.Sheet ); - pDocSh->GetDocFunc().MoveBlock( aSourceRange, aDestPos, true, true, true, true ); + (void)pDocSh->GetDocFunc().MoveBlock( aSourceRange, aDestPos, true, true, true, true ); } } @@ -7279,7 +7279,7 @@ void SAL_CALL ScTableSheetObj::copyRange( const table::CellAddress& aDestination ScRange aSourceRange; ScUnoConversion::FillScRange( aSourceRange, aSource ); ScAddress aDestPos( (SCCOL)aDestination.Column, (SCROW)aDestination.Row, aDestination.Sheet ); - pDocSh->GetDocFunc().MoveBlock( aSourceRange, aDestPos, false, true, true, true ); + (void)pDocSh->GetDocFunc().MoveBlock( aSourceRange, aDestPos, false, true, true, true ); } } -- cgit