diff options
Diffstat (limited to 'xmloff/source/style/xmlnumfe.cxx')
-rw-r--r-- | xmloff/source/style/xmlnumfe.cxx | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/xmloff/source/style/xmlnumfe.cxx b/xmloff/source/style/xmlnumfe.cxx index d0f46fc4dcbf..f848293832a2 100644 --- a/xmloff/source/style/xmlnumfe.cxx +++ b/xmloff/source/style/xmlnumfe.cxx @@ -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; |