summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-11-25 18:45:58 -0500
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-11-25 18:55:15 -0500
commit5c3f47e44c2a734bddd0c3fb7f1151d5096ac494 (patch)
tree9d63357e2011eb21a99fe31c08c9080ac6f1faea /xmloff
parent9ba1f8e19efd208cb791bc3c51731d9287074b54 (diff)
Remove ptr_vector header include in favor of forward declaration.
Change-Id: I0aed7ec1bd8ac30ef18147b385c8649a413e4e3a
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/style/xmlnumfe.cxx24
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;