diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-06-06 13:04:30 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-06-06 16:59:42 +0100 |
commit | c2b8e87e6be5597c5ef7f0d0b5fbd127a2d57009 (patch) | |
tree | f5ad1daa8b4e09e42073f1f82ab5bfcc7dd9e1d6 /sc/source/ui/undo | |
parent | 440ac656f783a7a5e33431410a1c038b7d04c42e (diff) |
2nd arg of ApplySelectionFrame is always not null
Change-Id: I50a5c9c3f0f2b7424fa1b9b27ceeee9ae9348413
Diffstat (limited to 'sc/source/ui/undo')
-rw-r--r-- | sc/source/ui/undo/undoblk.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/undo/undoblk3.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/undo/undoblk.cxx b/sc/source/ui/undo/undoblk.cxx index a13a3a50f1eb..5afa28553b49 100644 --- a/sc/source/ui/undo/undoblk.cxx +++ b/sc/source/ui/undo/undoblk.cxx @@ -2364,7 +2364,7 @@ void ScUndoBorder::Redo() aMark.SetMarkArea( aRange ); aMark.SelectTable( nTab, true ); - rDoc.ApplySelectionFrame(aMark, xOuter.get(), xInner.get()); + rDoc.ApplySelectionFrame(aMark, *xOuter, xInner.get()); } for (size_t i = 0; i < nCount; ++i) pDocShell->PostPaint( *(*xRanges)[i], PaintPartFlags::Grid, SC_PF_LINES | SC_PF_TESTMERGE ); diff --git a/sc/source/ui/undo/undoblk3.cxx b/sc/source/ui/undo/undoblk3.cxx index a39ceff96ceb..35452714d868 100644 --- a/sc/source/ui/undo/undoblk3.cxx +++ b/sc/source/ui/undo/undoblk3.cxx @@ -414,7 +414,7 @@ void ScUndoSelectionAttr::DoChange( const bool bUndo ) aMarkData.MarkToSimple(); if (pLineOuter) - rDoc.ApplySelectionFrame( aMarkData, pLineOuter, pLineInner ); + rDoc.ApplySelectionFrame(aMarkData, *pLineOuter, pLineInner); } ScTabViewShell* pViewShell = ScTabViewShell::GetActiveViewShell(); |