summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/viewfun3.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-03-09 15:43:41 +0200
committerNoel Grandin <noel@peralex.com>2016-03-10 10:09:59 +0200
commit4358dc795cbd2b49aa87c89795cf63413b82400c (patch)
treeb112046a74791f03b7971d1c22a0d2cb9aa39955 /sc/source/ui/view/viewfun3.cxx
parentf946e905c6c6bb041ae580b14b711c6964af97bd (diff)
loplugin:constantparam in sc
Change-Id: Ia7bc394fdc0dba720751c2a58d55bfe34b239098
Diffstat (limited to 'sc/source/ui/view/viewfun3.cxx')
-rw-r--r--sc/source/ui/view/viewfun3.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/view/viewfun3.cxx b/sc/source/ui/view/viewfun3.cxx
index 77b0fad9e999..24b91a9b739b 100644
--- a/sc/source/ui/view/viewfun3.cxx
+++ b/sc/source/ui/view/viewfun3.cxx
@@ -75,7 +75,7 @@ using namespace com::sun::star;
// C U T
-void ScViewFunc::CutToClip( ScDocument* pClipDoc, bool bIncludeObjects )
+void ScViewFunc::CutToClip( bool bIncludeObjects )
{
UpdateInputLine();
@@ -104,7 +104,7 @@ void ScViewFunc::CutToClip( ScDocument* pClipDoc, bool bIncludeObjects )
MarkDataChanged();
}
- CopyToClip( pClipDoc, true, false, bIncludeObjects ); // copy to clipboard
+ CopyToClip( nullptr, true, false, bIncludeObjects ); // copy to clipboard
ScAddress aOldEnd( aRange.aEnd ); // combined cells in this range?
pDoc->ExtendMerge( aRange, true );