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