summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2015-03-30 17:51:59 +0200
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2015-03-30 23:20:22 +0200
commit7cb7ced25e656b1edcc4f8be5ee80bf45a2b3264 (patch)
tree589360cc42cf5f933453ac392c7a3edeeff48675 /sw
parent299d90299d70fac0bed00bc63a65b29fc130b44a (diff)
whops, index swap
Change-Id: I2c25952f6f4ac4b67cb02557f3497f203bb503d2
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/unocore/unotbl.cxx2
1 files changed, 1 insertions, 1 deletions
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<OUString>& rColumnD
const OUString* pArray = rColumnDesc.getConstArray();
for(sal_uInt16 i = nStart; i < nColumnCount; i++)
{
- uno::Reference<table::XCell> xCell = getCellByPosition(0, i);
+ uno::Reference<table::XCell> xCell = getCellByPosition(i, 0);
if(!xCell.is())
throw uno::RuntimeException();
uno::Reference<text::XText> xText(xCell, uno::UNO_QUERY);