diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-05 08:34:22 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-05 09:22:51 +0200 |
commit | 17a2c9e8e2361de27013a25e51f3a3ca729f1b31 (patch) | |
tree | 1c89bc104e5630fb71ff0a5b12c464ca2aceebc3 /sc/source/ui/undo | |
parent | avmedia : Simplify Window::Window (diff) | |
download | core-17a2c9e8e2361de27013a25e51f3a3ca729f1b31.tar.gz core-17a2c9e8e2361de27013a25e51f3a3ca729f1b31.zip |
clang-tidy performance-unnecessary-value-param
Change-Id: I6ed8c54c7c45931d91709cc818f2483c70197192
Reviewed-on: https://gerrit.libreoffice.org/38400
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/undo')
-rw-r--r-- | sc/source/ui/undo/undoblk.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/undo/undoblk.cxx b/sc/source/ui/undo/undoblk.cxx index 1c2757c40897..a13a3a50f1eb 100644 --- a/sc/source/ui/undo/undoblk.cxx +++ b/sc/source/ui/undo/undoblk.cxx @@ -740,7 +740,7 @@ bool ScUndoDeleteMulti::CanRepeat(SfxRepeatTarget& rTarget) const } ScUndoCut::ScUndoCut( ScDocShell* pNewDocShell, - ScRange aRange, ScAddress aOldEnd, const ScMarkData& rMark, + ScRange aRange, const ScAddress& aOldEnd, const ScMarkData& rMark, ScDocument* pNewUndoDoc ) : ScBlockUndo( pNewDocShell, ScRange(aRange.aStart, aOldEnd), SC_UNDO_AUTOHEIGHT ), aMarkData( rMark ), @@ -1112,7 +1112,7 @@ bool ScUndoPaste::CanRepeat(SfxRepeatTarget& rTarget) const } ScUndoDragDrop::ScUndoDragDrop( ScDocShell* pNewDocShell, - const ScRange& rRange, ScAddress aNewDestPos, bool bNewCut, + const ScRange& rRange, const ScAddress& aNewDestPos, bool bNewCut, ScDocument* pUndoDocument, bool bScenario ) : ScMoveUndo( pNewDocShell, pUndoDocument, nullptr, SC_UNDO_REFLAST ), mnPaintExtFlags( 0 ), |