diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2022-05-12 12:05:44 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2022-05-12 16:38:38 +0200 |
commit | 1e990a5ab399a1bb15d4002ca30f13611ba6edbc (patch) | |
tree | e19a35998d7dcf6962cb05635de777f9f8663652 /sc/source/ui/view/cellsh2.cxx | |
parent | d9b072cd077cbb515e5aef584d98cb5deda48776 (diff) |
fix up order of some ScDocument functions
For better or worse the usual order of arguments in Calc is
SCCOL, SCROW, SCTAB, so make this consistent.
Change-Id: Ie63c75f5ae92f82cb757c0873f7ff569f331e0df
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134229
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'sc/source/ui/view/cellsh2.cxx')
-rw-r--r-- | sc/source/ui/view/cellsh2.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/view/cellsh2.cxx b/sc/source/ui/view/cellsh2.cxx index 5d8a94e889fb..bc9dc416b1d5 100644 --- a/sc/source/ui/view/cellsh2.cxx +++ b/sc/source/ui/view/cellsh2.cxx @@ -99,9 +99,9 @@ static bool lcl_GetTextToColumnsRange( const ScViewData& rData, ScRange& rRange, if ( bDoEmptyCheckOnly ) { - if ( bRet && rDoc.IsBlockEmpty( rRange.aStart.Tab(), rRange.aStart.Col(), - rRange.aStart.Row(), rRange.aEnd.Col(), - rRange.aEnd.Row() ) ) + if ( bRet && rDoc.IsBlockEmpty( rRange.aStart.Col(), rRange.aStart.Row(), + rRange.aEnd.Col(), rRange.aEnd.Row(), + rRange.aStart.Tab() ) ) { bRet = false; } |