Kaydet (Commit) 5c3f47e4 authored tarafından Kohei Yoshida's avatar Kohei Yoshida

Remove ptr_vector header include in favor of forward declaration.

Change-Id: I0aed7ec1bd8ac30ef18147b385c8649a413e4e3a
üst 9ba1f8e1
......@@ -26,7 +26,6 @@
#include <com/sun/star/util/XNumberFormatsSupplier.hpp>
#include <com/sun/star/uno/Sequence.h>
#include <rtl/ustrbuf.hxx>
#include <boost/ptr_container/ptr_vector.hpp>
#define XML_WRITTENNUMBERSTYLES "WrittenNumberStyles"
......@@ -41,7 +40,7 @@ class SvNumberformat;
class SvXMLNumUsedList_Impl;
struct SvXMLEmbeddedTextEntry;
typedef boost::ptr_vector<SvXMLEmbeddedTextEntry> SvXMLEmbeddedTextEntryArr;
class SvXMLEmbeddedTextEntryArr;
class XMLOFF_DLLPUBLIC SvXMLNumFmtExport
{
......
......@@ -46,6 +46,7 @@
#include <xmloff/xmlexp.hxx>
#include <set>
#include <boost/ptr_container/ptr_vector.hpp>
using namespace ::com::sun::star;
using namespace ::xmloff::token;
......@@ -63,6 +64,29 @@ struct LessuInt32
typedef std::set< sal_uInt32, LessuInt32 > SvXMLuInt32Set;
class SvXMLEmbeddedTextEntryArr
{
typedef boost::ptr_vector<SvXMLEmbeddedTextEntry> DataType;
DataType maData;
public:
void push_back( SvXMLEmbeddedTextEntry* p )
{
maData.push_back(p);
}
const SvXMLEmbeddedTextEntry& operator[] ( size_t i ) const
{
return maData[i];
}
size_t size() const
{
return maData.size();
}
};
class SvXMLNumUsedList_Impl
{
SvXMLuInt32Set aUsed;
......
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