diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-25 13:10:36 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-25 14:45:42 +0200 |
commit | 407a126af45d93f83eb4dbdc358dd569bea4db6f (patch) | |
tree | dfeba7a3c19f88bcb7c26a31a400489283504e90 /sc/source/ui/undo/undoutil.cxx | |
parent | 001e0e530f42b3838fa882ab77a3bb2b24f69ef7 (diff) |
loplugin:constparam in sc part6
Change-Id: Ifbb921b820b7210e7f9539e45d4852764a1e9cbd
Reviewed-on: https://gerrit.libreoffice.org/41563
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/undo/undoutil.cxx')
-rw-r--r-- | sc/source/ui/undo/undoutil.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/ui/undo/undoutil.cxx b/sc/source/ui/undo/undoutil.cxx index 7aba46f07e3a..41d2caf92e69 100644 --- a/sc/source/ui/undo/undoutil.cxx +++ b/sc/source/ui/undo/undoutil.cxx @@ -28,7 +28,7 @@ #include "global.hxx" #include "markdata.hxx" -void ScUndoUtil::MarkSimpleBlock( ScDocShell* pDocShell, +void ScUndoUtil::MarkSimpleBlock( const ScDocShell* pDocShell, SCCOL nStartX, SCROW nStartY, SCTAB nStartZ, SCCOL nEndX, SCROW nEndY, SCTAB nEndZ ) { @@ -51,7 +51,7 @@ void ScUndoUtil::MarkSimpleBlock( ScDocShell* pDocShell, } } -void ScUndoUtil::MarkSimpleBlock( ScDocShell* pDocShell, +void ScUndoUtil::MarkSimpleBlock( const ScDocShell* pDocShell, const ScAddress& rBlockStart, const ScAddress& rBlockEnd ) { @@ -59,14 +59,14 @@ void ScUndoUtil::MarkSimpleBlock( ScDocShell* pDocShell, rBlockEnd.Col(), rBlockEnd.Row(), rBlockEnd.Tab() ); } -void ScUndoUtil::MarkSimpleBlock( ScDocShell* pDocShell, +void ScUndoUtil::MarkSimpleBlock( const ScDocShell* pDocShell, const ScRange& rRange ) { MarkSimpleBlock( pDocShell, rRange.aStart.Col(), rRange.aStart.Row(), rRange.aStart.Tab(), rRange.aEnd.Col(), rRange.aEnd.Row(), rRange.aEnd.Tab() ); } -ScDBData* ScUndoUtil::GetOldDBData( ScDBData* pUndoData, ScDocument* pDoc, SCTAB nTab, +ScDBData* ScUndoUtil::GetOldDBData( const ScDBData* pUndoData, ScDocument* pDoc, SCTAB nTab, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2 ) { ScDBData* pRet = pDoc->GetDBAtArea( nTab, nCol1, nRow1, nCol2, nRow2 ); |