summaryrefslogtreecommitdiff
path: root/sw/source/filter/html
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-10-28 14:29:19 +0100
committerMichael Stahl <mstahl@redhat.com>2015-10-28 14:47:18 +0100
commit34b5da1c701144d2d957d523d79e2547cbf40ece (patch)
treefb9a92e4ade328dcc78a30a46ff400bc9b678972 /sw/source/filter/html
parent9092f96c63c05833ee5319935da1078afe216b55 (diff)
sw: replace boost::ptr_vector with std::vector<std::unique_ptr>
Change-Id: I1d9aa200734d264e3bc65ea39f8c2a2d03782f7b
Diffstat (limited to 'sw/source/filter/html')
-rw-r--r--sw/source/filter/html/htmltabw.cxx10
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