diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-23 11:25:53 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-23 14:59:04 +0200 |
commit | 53d0a6deffc425cdc4fc1382cb1cab2072b4f56b (patch) | |
tree | 90b32da169ad49a48eb6748812f7898286e9a3f4 /sc/source/core/data/documen3.cxx | |
parent | 5b518ab051cc04e672ceb01da42b06625a1a4ce9 (diff) |
loplugin:constparam in sc part2
Change-Id: I4fd18096d7d22d8c146a2437906187d5df1cb268
Reviewed-on: https://gerrit.libreoffice.org/41447
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/core/data/documen3.cxx')
-rw-r--r-- | sc/source/core/data/documen3.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/documen3.cxx b/sc/source/core/data/documen3.cxx index 95cbf6b0c1d1..6bd695c00018 100644 --- a/sc/source/core/data/documen3.cxx +++ b/sc/source/core/data/documen3.cxx @@ -1412,7 +1412,7 @@ void ScDocument::Reorder( const sc::ReorderParam& rParam ) SCSIZE ScDocument::Query(SCTAB nTab, const ScQueryParam& rQueryParam, bool bKeepSub) { if ( ValidTab(nTab) && nTab < static_cast<SCTAB>(maTabs.size()) && maTabs[nTab] ) - return maTabs[nTab]->Query(const_cast<ScQueryParam&>(rQueryParam), bKeepSub); + return maTabs[nTab]->Query(rQueryParam, bKeepSub); OSL_FAIL("missing tab"); return 0; |