From 5c3f47e44c2a734bddd0c3fb7f1151d5096ac494 Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Tue, 25 Nov 2014 18:45:58 -0500 Subject: Remove ptr_vector header include in favor of forward declaration. Change-Id: I0aed7ec1bd8ac30ef18147b385c8649a413e4e3a --- xmloff/source/style/xmlnumfe.cxx | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'xmloff') 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 #include +#include 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 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; -- cgit