diff options
author | Caolán McNamara <caolanm@redhat.com> | 2022-08-08 12:50:46 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2022-08-09 10:02:13 +0200 |
commit | 0c9c3f75d7f0d44efc4fe1d6320a07de8c04b36e (patch) | |
tree | 50b18b4e8c0dbc4b9afa41d561ba0b5abd91071e /sc/source/ui/undo/undoblk2.cxx | |
parent | 813ad0b0e1b5b8708c900c58d8a974770a2bd73a (diff) |
cid#1507857 Big parameter passed by value
and
cid#1507854 Big parameter passed by value
cid#1507853 Big parameter passed by value
cid#1507848 Big parameter passed by value
cid#1507846 Big parameter passed by value
cid#1507844 Big parameter passed by value
cid#1507843 Big parameter passed by value
cid#1507842 Big parameter passed by value
cid#1507845 Big parameter passed by value
cid#1507847 Big parameter passed by value
cid#1507849 Big parameter passed by value
cid#1507855 Big parameter passed by value
cid#1507850 Big parameter passed by value
cid#1507852 Big parameter passed by value
Change-Id: I03138b93d0936fe5e62453651227f3925a7b4b83
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137981
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/ui/undo/undoblk2.cxx')
-rw-r--r-- | sc/source/ui/undo/undoblk2.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sc/source/ui/undo/undoblk2.cxx b/sc/source/ui/undo/undoblk2.cxx index c296d0b811c1..52ee421cc3de 100644 --- a/sc/source/ui/undo/undoblk2.cxx +++ b/sc/source/ui/undo/undoblk2.cxx @@ -31,17 +31,16 @@ #include <undoolk.hxx> #include <svx/svdundo.hxx> -#include <utility> /** Change column widths or row heights */ ScUndoWidthOrHeight::ScUndoWidthOrHeight( ScDocShell* pNewDocShell, - ScMarkData aMark, + const ScMarkData& rMark, SCCOLROW nNewStart, SCTAB nNewStartTab, SCCOLROW nNewEnd, SCTAB nNewEndTab, ScDocumentUniquePtr pNewUndoDoc, std::vector<sc::ColRowSpan>&& rRanges, std::unique_ptr<ScOutlineTable> pNewUndoTab, ScSizeMode eNewMode, sal_uInt16 nNewSizeTwips, bool bNewWidth ) : ScSimpleUndo( pNewDocShell ), - aMarkData(std::move( aMark )), + aMarkData( rMark ), nStart( nNewStart ), nEnd( nNewEnd ), nStartTab( nNewStartTab ), |