From b50f1343fb51baf244761c424f3bb64be8125e42 Mon Sep 17 00:00:00 2001
From: Kohei Yoshida <kohei.yoshida@collabora.com>
Date: Tue, 29 Jul 2014 17:19:28 -0400
Subject: [PATCH 071/137] fdo#80846: Get the parameter order right.
It's column, row, tab in this order, not tab, column row.
Change-Id: I32e69a403feaf18532c7ac241fa2a98fc65a4ba7
(cherry picked from commit 1fcc30503549b47046c84333af542ed739f685ba)
Reviewed-on: https://gerrit.libreoffice.org/10633
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
---
sc/source/ui/undo/undobase.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sc/source/ui/undo/undobase.cxx b/sc/source/ui/undo/undobase.cxx
index 6342910..bc7a5e3 100644
--- a/sc/source/ui/undo/undobase.cxx
+++ b/sc/source/ui/undo/undobase.cxx
@@ -170,7 +170,7 @@ public:
if (!bVal)
return;
- ScRange aRange(mnCurTab, mnCurCol, nRow1, mnCurTab, mnCurCol, nRow2);
+ ScRange aRange(mnCurCol, nRow1, mnCurTab, mnCurCol, nRow2, mnCurTab);
mrDoc.BroadcastCells(aRange, SC_HINT_DATACHANGED);
};
};
--
1.9.3