Kaydet (Commit) 89077c79 authored tarafından Michael Stahl's avatar Michael Stahl

sw: convert boost::ptr_vector to std::vector<std::unique_ptr>

Change-Id: I846180641279b19f6bd4ac14c3e840e0bec4ded5
üst d290ae11
...@@ -22,8 +22,7 @@ ...@@ -22,8 +22,7 @@
#include <xmloff/XMLTextTableContext.hxx> #include <xmloff/XMLTextTableContext.hxx>
// STL include #include <memory>
#include <boost/ptr_container/ptr_vector.hpp>
#include <unordered_map> #include <unordered_map>
#include <vector> #include <vector>
...@@ -36,7 +35,7 @@ class SwTableBoxFormat; ...@@ -36,7 +35,7 @@ class SwTableBoxFormat;
class SwTableLineFormat; class SwTableLineFormat;
class SwXMLTableCell_Impl; class SwXMLTableCell_Impl;
class SwXMLTableRow_Impl; class SwXMLTableRow_Impl;
typedef boost::ptr_vector<SwXMLTableRow_Impl> SwXMLTableRows_Impl; typedef std::vector<std::unique_ptr<SwXMLTableRow_Impl>> SwXMLTableRows_Impl;
class SwXMLDDETableContext_Impl; class SwXMLDDETableContext_Impl;
class TableBoxIndexHasher; class TableBoxIndexHasher;
class TableBoxIndex; class TableBoxIndex;
...@@ -65,7 +64,7 @@ class SwXMLTableContext : public XMLTextTableContext ...@@ -65,7 +64,7 @@ class SwXMLTableContext : public XMLTextTableContext
::com::sun::star::uno::Reference < ::com::sun::star::uno::Reference <
::com::sun::star::text::XTextContent > xTextContent; ::com::sun::star::text::XTextContent > xTextContent;
SwXMLTableRows_Impl *pRows; SwXMLTableRows_Impl * m_pRows;
SwTableNode *pTableNode; SwTableNode *pTableNode;
SwTableBox *pBox1; SwTableBox *pBox1;
......
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