diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-07-17 23:27:20 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-07-18 22:51:47 +0200 |
commit | 2842c5cfb99d41b36dba52db01ca6cd37d2ef4b0 (patch) | |
tree | c74e2e8a37f57d6610684d9abbbf21386bd24194 /include/sax | |
parent | Convert SdTbxControl to the generic controller (diff) | |
download | core-2842c5cfb99d41b36dba52db01ca6cd37d2ef4b0.tar.gz core-2842c5cfb99d41b36dba52db01ca6cd37d2ef4b0.zip |
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.hxx | 6 |
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 |