summaryrefslogtreecommitdiff
path: root/include/sax
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-07-17 23:27:20 +0200
committerMichael Stahl <mstahl@redhat.com>2015-07-18 22:51:47 +0200
commit2842c5cfb99d41b36dba52db01ca6cd37d2ef4b0 (patch)
treec74e2e8a37f57d6610684d9abbbf21386bd24194 /include/sax
parent7352a7c17875e5adcc4226c45f4a03e11c44ff49 (diff)
sax, sw: try to make that maMarkStack easier to understand
In DocxAttributeOutput it's not at all obvious which mark() is supposed to be ended by which mergeTopMarks(), so add an extra parameter to the FastSaxSerializer functions and verify with an assertion that a LIFO order is maintained. Change-Id: I5a421e2fb11f15343147417fe0b9b23642c70721
Diffstat (limited to 'include/sax')
-rw-r--r--include/sax/fshelper.hxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/sax/fshelper.hxx b/include/sax/fshelper.hxx
index b86e9de5a190..52d53995b84b 100644
--- a/include/sax/fshelper.hxx
+++ b/include/sax/fshelper.hxx
@@ -137,9 +137,11 @@ public:
static FastAttributeList *createAttrList();
- void mark( const ::com::sun::star::uno::Sequence< sal_Int32 >& aOrder =
+ void mark(sal_Int32 nTag,
+ const ::com::sun::star::uno::Sequence< sal_Int32 >& rOrder =
::com::sun::star::uno::Sequence< sal_Int32 >() );
- void mergeTopMarks( MergeMarksEnum eMergeType = MERGE_MARKS_APPEND );
+ void mergeTopMarks(sal_Int32 nTag,
+ MergeMarksEnum eMergeType = MERGE_MARKS_APPEND );
/*
Now create all the overloads in a typesafe way (i.e. without varargs) by creating a number of overloads