summaryrefslogtreecommitdiff
path: root/comphelper
diff options
context:
space:
mode:
authorCédric Bosdonnat <cedricbosdo@openoffice.org>2010-11-10 09:45:11 +0100
committerCédric Bosdonnat <cedricbosdo@openoffice.org>2010-11-15 10:11:51 +0100
commitb35a7344eda5eaa1e0dcf916b48d8cf089db5562 (patch)
tree2715beeb0286574f5db35b22904aa5e5f5d9d0b0 /comphelper
parent43bc8a24deb65f24be2ecdc826fd07a0d14fdd34 (diff)
Docx Export: fixed some elements ordering problem
Nested elements that weren't in the order sequence weren't appended to the parent... and then skipped.
Diffstat (limited to 'comphelper')
-rw-r--r--comphelper/inc/comphelper/sequenceasvector.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/comphelper/inc/comphelper/sequenceasvector.hxx b/comphelper/inc/comphelper/sequenceasvector.hxx
index 6fb303f0d36f..a68fa2093116 100644
--- a/comphelper/inc/comphelper/sequenceasvector.hxx
+++ b/comphelper/inc/comphelper/sequenceasvector.hxx
@@ -68,6 +68,11 @@ class SequenceAsVector : public ::std::vector< TElementType >
types from the base! */
typedef typename ::std::vector< TElementType >::const_iterator const_iterator;
+ //---------------------------------------
+ /** @short When inheriting from a template using typename is generally required when using
+ types from the base! */
+ typedef typename ::std::vector< TElementType >::iterator iterator;
+
//-------------------------------------------
// interface
public: