Kaydet (Commit) 7cb7ced2 authored tarafından Bjoern Michaelsen's avatar Bjoern Michaelsen

whops, index swap

Change-Id: I2c25952f6f4ac4b67cb02557f3497f203bb503d2
üst 299d9029
...@@ -4147,7 +4147,7 @@ void SwXCellRange::setColumnDescriptions(const uno::Sequence<OUString>& rColumnD ...@@ -4147,7 +4147,7 @@ void SwXCellRange::setColumnDescriptions(const uno::Sequence<OUString>& rColumnD
const OUString* pArray = rColumnDesc.getConstArray(); const OUString* pArray = rColumnDesc.getConstArray();
for(sal_uInt16 i = nStart; i < nColumnCount; i++) 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()) if(!xCell.is())
throw uno::RuntimeException(); throw uno::RuntimeException();
uno::Reference<text::XText> xText(xCell, uno::UNO_QUERY); uno::Reference<text::XText> xText(xCell, uno::UNO_QUERY);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment