diff options
Diffstat (limited to 'sc/source/ui/undo/undoblk3.cxx')
-rw-r--r-- | sc/source/ui/undo/undoblk3.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/undo/undoblk3.cxx b/sc/source/ui/undo/undoblk3.cxx index 3aa7e90eb509..95f466ad6dd4 100644 --- a/sc/source/ui/undo/undoblk3.cxx +++ b/sc/source/ui/undo/undoblk3.cxx @@ -168,7 +168,7 @@ void ScUndoDeleteContents::DoChange( const bool bUndo ) } ScTabViewShell* pViewShell = ScTabViewShell::GetActiveViewShell(); - if ( !( (pViewShell) && pViewShell->AdjustRowHeight( + if ( !( pViewShell && pViewShell->AdjustRowHeight( aRange.aStart.Row(), aRange.aEnd.Row() ) ) ) /*A*/ pDocShell->PostPaint( aRange, PaintPartFlags::Grid | PaintPartFlags::Extras, nExtFlags ); @@ -418,7 +418,7 @@ void ScUndoSelectionAttr::DoChange( const bool bUndo ) } ScTabViewShell* pViewShell = ScTabViewShell::GetActiveViewShell(); - if ( !( (pViewShell) && pViewShell->AdjustBlockHeight() ) ) + if ( !( pViewShell && pViewShell->AdjustBlockHeight() ) ) /*A*/ pDocShell->PostPaint( aEffRange, PaintPartFlags::Grid | PaintPartFlags::Extras, nExtFlags ); ShowTable( aRange ); |