From 7cb7ced25e656b1edcc4f8be5ee80bf45a2b3264 Mon Sep 17 00:00:00 2001 From: Bjoern Michaelsen Date: Mon, 30 Mar 2015 17:51:59 +0200 Subject: whops, index swap Change-Id: I2c25952f6f4ac4b67cb02557f3497f203bb503d2 --- sw/source/core/unocore/unotbl.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sw/source/core/unocore/unotbl.cxx b/sw/source/core/unocore/unotbl.cxx index 38b2d0577ea0..e98982ef8072 100644 --- a/sw/source/core/unocore/unotbl.cxx +++ b/sw/source/core/unocore/unotbl.cxx @@ -4147,7 +4147,7 @@ void SwXCellRange::setColumnDescriptions(const uno::Sequence& rColumnD const OUString* pArray = rColumnDesc.getConstArray(); for(sal_uInt16 i = nStart; i < nColumnCount; i++) { - uno::Reference xCell = getCellByPosition(0, i); + uno::Reference xCell = getCellByPosition(i, 0); if(!xCell.is()) throw uno::RuntimeException(); uno::Reference xText(xCell, uno::UNO_QUERY); -- cgit