diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-06-06 12:52:51 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-06-06 17:13:00 +0200 |
commit | 44f4ebc0325623ed81a4021ed0d6939bd6c0c41f (patch) | |
tree | 80c4ff21799fffa433b7f5274b486563c34f59a7 /sc/source/ui/undo | |
parent | dd1ba90f6069b41e3f2c301809afefc6f63da710 (diff) |
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.cxx | 2 |
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 ); } |