summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-08-16 06:52:16 +0200
committerMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-08-16 06:52:16 +0200
commita772be514e783e232b13c9ff7cde93fb0529c278 (patch)
tree7455adc0974041c5be3740eeac2731fa21f2d06b
parent61294d454d8c03887aa5113884035700110b609a (diff)
just use a typedef, don't inherit from boost::ptr_container
Change-Id: I1a63802dfeb702f6f6e9506339fd299b98fd8604
-rw-r--r--include/xmloff/xmlnumfe.hxx4
-rw-r--r--xmloff/source/style/xmlnumfe.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/include/xmloff/xmlnumfe.hxx b/include/xmloff/xmlnumfe.hxx
index e14ebcc01f7b..c6ff37050d65 100644
--- a/include/xmloff/xmlnumfe.hxx
+++ b/include/xmloff/xmlnumfe.hxx
@@ -38,7 +38,9 @@ class SvXMLAttributeList;
class SvNumberFormatter;
class SvNumberformat;
class SvXMLNumUsedList_Impl;
-class SvXMLEmbeddedTextEntryArr;
+
+struct SvXMLEmbeddedTextEntry;
+typedef boost::ptr_vector<SvXMLEmbeddedTextEntry> SvXMLEmbeddedTextEntryArr;
class XMLOFF_DLLPUBLIC SvXMLNumFmtExport
{
diff --git a/xmloff/source/style/xmlnumfe.cxx b/xmloff/source/style/xmlnumfe.cxx
index 0cfb0cd73588..f24693a72e33 100644
--- a/xmloff/source/style/xmlnumfe.cxx
+++ b/xmloff/source/style/xmlnumfe.cxx
@@ -98,8 +98,6 @@ struct SvXMLEmbeddedTextEntry
nSourcePos(nSP), nFormatPos(nFP), aText(rT) {}
};
-class SvXMLEmbeddedTextEntryArr : public boost::ptr_vector<SvXMLEmbeddedTextEntry> {};
-
//! SvXMLNumUsedList_Impl should be optimized!
SvXMLNumUsedList_Impl::SvXMLNumUsedList_Impl() :