summaryrefslogtreecommitdiff
path: root/sc/source/core/data/documen3.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-09-09 15:32:41 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-09-10 11:22:53 +0000
commit78ea29d51a23bf75f5753fae68ab8abe1072bbef (patch)
tree07197f526f98497f893574c5f81eba52adf5135f /sc/source/core/data/documen3.cxx
parent6ebca1d1094d8fd85e485e504e810a1954befcc3 (diff)
loplugin:constantparam in sc
Change-Id: I82c78dd880c98532db407b0183a43705be2de67c Reviewed-on: https://gerrit.libreoffice.org/28777 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sc/source/core/data/documen3.cxx')
-rw-r--r--sc/source/core/data/documen3.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/data/documen3.cxx b/sc/source/core/data/documen3.cxx
index 711212a5e66c..2bfff6a1205b 100644
--- a/sc/source/core/data/documen3.cxx
+++ b/sc/source/core/data/documen3.cxx
@@ -1401,7 +1401,7 @@ void ScDocument::Sort(
}
}
-void ScDocument::Reorder( const sc::ReorderParam& rParam, ScProgress* pProgress )
+void ScDocument::Reorder( const sc::ReorderParam& rParam )
{
ScTable* pTab = FetchTable(rParam.maSortRange.aStart.Tab());
if (!pTab)
@@ -1409,7 +1409,7 @@ void ScDocument::Reorder( const sc::ReorderParam& rParam, ScProgress* pProgress
bool bOldEnableIdle = IsIdleEnabled();
EnableIdle(false);
- pTab->Reorder(rParam, pProgress);
+ pTab->Reorder(rParam, nullptr);
EnableIdle(bOldEnableIdle);
}