diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-10-28 14:29:19 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-10-28 14:47:18 +0100 |
commit | 34b5da1c701144d2d957d523d79e2547cbf40ece (patch) | |
tree | fb9a92e4ade328dcc78a30a46ff400bc9b678972 /sw/source/filter/html/htmltabw.cxx | |
parent | 9092f96c63c05833ee5319935da1078afe216b55 (diff) |
sw: replace boost::ptr_vector with std::vector<std::unique_ptr>
Change-Id: I1d9aa200734d264e3bc65ea39f8c2a2d03782f7b
Diffstat (limited to 'sw/source/filter/html/htmltabw.cxx')
-rw-r--r-- | sw/source/filter/html/htmltabw.cxx | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/sw/source/filter/html/htmltabw.cxx b/sw/source/filter/html/htmltabw.cxx index 5926b067f0c4..afdd8bbdc23d 100644 --- a/sw/source/filter/html/htmltabw.cxx +++ b/sw/source/filter/html/htmltabw.cxx @@ -513,9 +513,9 @@ void SwHTMLWrtTable::OutTableCells( SwHTMLWriter& rWrt, sal_Int16 eRowVertOri = text::VertOrientation::NONE; if( rCells.size() > 1 ) { - for( SwWriteTableCells::size_type nCell = 0; nCell<rCells.size(); ++nCell ) + for (SwWriteTableCells::size_type nCell = 0; nCell < rCells.size(); ++nCell) { - sal_Int16 eCellVertOri = rCells[nCell].GetVertOri(); + sal_Int16 eCellVertOri = rCells[nCell]->GetVertOri(); if( 0==nCell ) { eRowVertOri = eCellVertOri; @@ -553,8 +553,10 @@ void SwHTMLWrtTable::OutTableCells( SwHTMLWriter& rWrt, rWrt.IncIndentLevel(); // Inhalt von <TR>...</TR> einruecken - for( const auto &rCell : rCells ) - OutTableCell( rWrt, &rCell, text::VertOrientation::NONE==eRowVertOri ); + for (const auto &rpCell : rCells) + { + OutTableCell(rWrt, rpCell.get(), text::VertOrientation::NONE == eRowVertOri); + } rWrt.DecIndentLevel(); // Inhalt von <TR>...</TR> einruecken |