[Libreoffice-commits] core.git: sax/source

Miklos Vajna vmiklos at collabora.co.uk
Thu Jul 3 06:48:01 PDT 2014


 sax/source/tools/fastserializer.hxx |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 0f6888a25b3d39eca2b7aac596121dc0128c7c6a
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Thu Jul 3 15:35:44 2014 +0200

    FastSaxSerializer: update documentation
    
    Change-Id: I5e374c426a4741a88d43848392fc83e2368dbf92

diff --git a/sax/source/tools/fastserializer.hxx b/sax/source/tools/fastserializer.hxx
index fbbaede..da8c527 100644
--- a/sax/source/tools/fastserializer.hxx
+++ b/sax/source/tools/fastserializer.hxx
@@ -120,20 +120,20 @@ public:
 
         This is to be able to change the order of the data being written.
         If you need to write eg.
-          p, r, rPr, [something], /rPr, t, [text], /r, /p,
+          p, r, rPr, [something], /rPr, t, [text], /t, /r, /p,
         but get it in order
           p, r, t, [text], /t, rPr, [something], /rPr, /r, /p,
         simply do
           p, r, mark(), t, [text], /t, mark(), rPr, [something], /rPr,
-          mergeTopMarks( true ), mergeTopMarks(), /r, /p
+          mergeTopMarks( MERGE_MARKS_PREPEND ), mergeTopMarks( MERGE_MARKS_APPEND ), /r, /p
         and you are done.
      */
     void mark( const Int32Sequence& aOrder = Int32Sequence() );
 
     /** Merge 2 topmost marks.
 
-        There are 3 possibilities - prepend the top before the second top-most
-        mark, append it, or append it later; prepending brings the possibility
+        The possibilities: prepend the top before the second top-most
+        mark, append it, append it later or ignore; prepending brings the possibility
         to switch parts of the output, appending later allows to write some
         output in advance.
 


More information about the Libreoffice-commits mailing list