From 4358dc795cbd2b49aa87c89795cf63413b82400c Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 9 Mar 2016 15:43:41 +0200 Subject: loplugin:constantparam in sc Change-Id: Ia7bc394fdc0dba720751c2a58d55bfe34b239098 --- sc/source/ui/undo/undoblk.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sc/source/ui/undo/undoblk.cxx') diff --git a/sc/source/ui/undo/undoblk.cxx b/sc/source/ui/undo/undoblk.cxx index 9d5b047c546e..c81cd3b7b66b 100644 --- a/sc/source/ui/undo/undoblk.cxx +++ b/sc/source/ui/undo/undoblk.cxx @@ -816,7 +816,7 @@ void ScUndoCut::Redo() void ScUndoCut::Repeat(SfxRepeatTarget& rTarget) { if (dynamic_cast( &rTarget) != nullptr) - static_cast(rTarget).GetViewShell()->CutToClip( nullptr, true ); + static_cast(rTarget).GetViewShell()->CutToClip( true ); } bool ScUndoCut::CanRepeat(SfxRepeatTarget& rTarget) const -- cgit