summaryrefslogtreecommitdiff
path: root/sc/source/ui/undo/undoblk.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-06-06 13:04:30 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-06-06 16:59:42 +0100
commitc2b8e87e6be5597c5ef7f0d0b5fbd127a2d57009 (patch)
treef5ad1daa8b4e09e42073f1f82ab5bfcc7dd9e1d6 /sc/source/ui/undo/undoblk.cxx
parent440ac656f783a7a5e33431410a1c038b7d04c42e (diff)
2nd arg of ApplySelectionFrame is always not null
Change-Id: I50a5c9c3f0f2b7424fa1b9b27ceeee9ae9348413
Diffstat (limited to 'sc/source/ui/undo/undoblk.cxx')
-rw-r--r--sc/source/ui/undo/undoblk.cxx2
1 files changed, 1 insertions, 1 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 );