summaryrefslogtreecommitdiff
path: root/sc/source/ui/docshell/dbdocfun.cxx
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2022-05-12 12:05:44 +0200
committerLuboš Luňák <l.lunak@collabora.com>2022-05-12 16:38:38 +0200
commit1e990a5ab399a1bb15d4002ca30f13611ba6edbc (patch)
treee19a35998d7dcf6962cb05635de777f9f8663652 /sc/source/ui/docshell/dbdocfun.cxx
parentd9b072cd077cbb515e5aef584d98cb5deda48776 (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/docshell/dbdocfun.cxx')
-rw-r--r--sc/source/ui/docshell/dbdocfun.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/docshell/dbdocfun.cxx b/sc/source/ui/docshell/dbdocfun.cxx
index 3f6b1b804978..ee59f36232ae 100644
--- a/sc/source/ui/docshell/dbdocfun.cxx
+++ b/sc/source/ui/docshell/dbdocfun.cxx
@@ -1553,8 +1553,8 @@ bool ScDBDocFunc::CreatePivotTable(const ScDPObject& rDPObj, bool bRecord, bool
if (!bApi)
{
bool bEmpty = rDoc.IsBlockEmpty(
- aNewOut.aStart.Tab(), aNewOut.aStart.Col(), aNewOut.aStart.Row(),
- aNewOut.aEnd.Col(), aNewOut.aEnd.Row());
+ aNewOut.aStart.Col(), aNewOut.aStart.Row(),
+ aNewOut.aEnd.Col(), aNewOut.aEnd.Row(), aNewOut.aStart.Tab() );
if (!bEmpty)
{