Kaydet (Commit) 9cd56129 authored tarafından Caolán McNamara's avatar Caolán McNamara

no need to take address

Change-Id: I76e8240b8e2fc731b5b6534eba37134db93ad4ed
üst 89964955
......@@ -2869,10 +2869,10 @@ void DocxAttributeOutput::TableCellProperties( ww8::WW8TableNodeInfoInner::Point
// Horizontal spans
const SwWriteTableRows& aRows = m_xTableWrt->GetRows( );
SwWriteTableRow *pRow = aRows[ nRow ];
const SwWriteTableCells& tableCells = pRow->GetCells();
if (nCell < tableCells.size() )
const SwWriteTableCells rTableCells = pRow->GetCells();
if (nCell < rTableCells.size() )
{
const SwWriteTableCell& rCell = tableCells[nCell];
const SwWriteTableCell& rCell = rTableCells[nCell];
const sal_uInt16 nColSpan = rCell.GetColSpan();
if ( nColSpan > 1 )
m_pSerializer->singleElementNS( XML_w, XML_gridSpan,
......@@ -3617,8 +3617,8 @@ void DocxAttributeOutput::TableVerticalCell( ww8::WW8TableNodeInfoInner::Pointer
const SwWriteTableRows& aRows = m_xTableWrt->GetRows( );
SwWriteTableRow *pRow = aRows[ pTableTextNodeInfoInner->getRow( ) ];
sal_uInt32 nCell = pTableTextNodeInfoInner->getCell();
const SwWriteTableCells *tableCells = &pRow->GetCells();
if (nCell < tableCells->size() )
const SwWriteTableCells& rTableCells = pRow->GetCells();
if (nCell < rTableCells.size() )
{
const SwWriteTableCell *pCell = &pRow->GetCells( )[ nCell ];
switch( pCell->GetVertOri())
......
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