summaryrefslogtreecommitdiffstats
path: root/sc/source/ui/undo
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-06-06 12:52:51 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-06-06 17:13:00 +0200
commit44f4ebc0325623ed81a4021ed0d6939bd6c0c41f (patch)
tree80c4ff21799fffa433b7f5274b486563c34f59a7 /sc/source/ui/undo
parenttdf#104450: Use Calibri; let LO to fallback to Carlito (diff)
downloadcore-44f4ebc0325623ed81a4021ed0d6939bd6c0c41f.tar.gz
core-44f4ebc0325623ed81a4021ed0d6939bd6c0c41f.zip
coverity#1412032 ApplyPatternLines always passed non-null 2nd arg
Change-Id: Ibf1754682a0d586a377709b8dacee1260a1f2ee1 Reviewed-on: https://gerrit.libreoffice.org/38445 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/ui/undo')
-rw-r--r--sc/source/ui/undo/undoblk3.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/undo/undoblk3.cxx b/sc/source/ui/undo/undoblk3.cxx
index c3057d7b4bcd..a39ceff96ceb 100644
--- a/sc/source/ui/undo/undoblk3.cxx
+++ b/sc/source/ui/undo/undoblk3.cxx
@@ -470,7 +470,7 @@ void ScUndoSelectionAttr::Repeat(SfxRepeatTarget& rTarget)
{
ScTabViewShell& rViewShell = *static_cast<ScTabViewTarget&>(rTarget).GetViewShell();
if (pLineOuter)
- rViewShell.ApplyPatternLines( *pApplyPattern, pLineOuter, pLineInner );
+ rViewShell.ApplyPatternLines(*pApplyPattern, *pLineOuter, pLineInner);
else
rViewShell.ApplySelectionPattern( *pApplyPattern );
}