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/undotab.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/undotab.cxx')
-rw-r--r-- | sc/source/ui/undo/undotab.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/undo/undotab.cxx b/sc/source/ui/undo/undotab.cxx index b7224b805423..0b41b3d460e0 100644 --- a/sc/source/ui/undo/undotab.cxx +++ b/sc/source/ui/undo/undotab.cxx @@ -153,7 +153,7 @@ bool ScUndoInsertTab::CanRepeat(SfxRepeatTarget& rTarget) const ScUndoInsertTables::ScUndoInsertTables( ScDocShell* pNewDocShell, SCTAB nTabNum, - std::vector<OUString>& newNameList) : + const std::vector<OUString>& newNameList) : ScSimpleUndo( pNewDocShell ), pDrawUndo( nullptr ), aNameList( newNameList ), @@ -284,7 +284,7 @@ void ScUndoDeleteTab::SetChangeTrack() nStartChangeAction = nEndChangeAction = 0; } -static SCTAB lcl_GetVisibleTabBefore( ScDocument& rDoc, SCTAB nTab ) +static SCTAB lcl_GetVisibleTabBefore( const ScDocument& rDoc, SCTAB nTab ) { while ( nTab > 0 && !rDoc.IsVisible( nTab ) ) --nTab; |