# HG changeset patch
# User Henning Brinkmann <hbrinkm@openoffice.org>
# Date 1249983010 -7200
# Node ID 0dd3426d08b0b594d7232c2c57d1a05f44dbcf7a
# Parent  a7182165b6db3c4822d860d1ac45b18cff6b600f
#i102420# dbg_out: surround output for SwNodes with <nodes-array>.

diff --git a/sw/source/core/doc/dbgoutsw.cxx b/sw/source/core/doc/dbgoutsw.cxx
--- a/sw/source/core/doc/dbgoutsw.cxx
+++ b/sw/source/core/doc/dbgoutsw.cxx
@@ -777,7 +777,7 @@
 
 String lcl_dbg_out(SwNodes & rNodes)
 {
-    String aStr;
+    String aStr("<nodes-array>", RTL_TEXTENCODING_ASCII_US);
     
     ULONG nIndex = 0;
     ULONG nCount = rNodes.Count();
@@ -786,6 +786,8 @@
     {
         lcl_dbg_nodes_inner(aStr, rNodes, nIndex);
     }
+    
+    aStr += String("</nodes-array>\n", RTL_TEXTENCODING_ASCII_US);
 
     return aStr;
 }
diff --git a/sw/source/filter/rtf/swparrtf.cxx b/sw/source/filter/rtf/swparrtf.cxx
--- a/sw/source/filter/rtf/swparrtf.cxx
+++ b/sw/source/filter/rtf/swparrtf.cxx
@@ -449,7 +449,6 @@
         for (rtfSections::myrDummyIter aI = maSegments.maDummyPageNos.rbegin(); aI != aDEnd; ++aI)
             pDoc->DelPageDesc(*aI);
 
-
         if( aFlyArr.Count() )
             SetFlysInDoc();
 
