[ooo-build-commit] scratch/writer

Cédric Bosdonnat cbosdo at kemper.freedesktop.org
Fri Oct 23 03:35:42 PDT 2009


 scratch/writer/gdbinit-cbosdo |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit a7ac8ae4e6d76ea87b277fc24da4b480917157df
Author: Cédric Bosdonnat <cedricbosdo at openoffice.org>
Date:   Fri Oct 23 12:36:24 2009 +0200

    fixed gdbinit pnodesarr method
    
    * scratch/writer/gdbinit-cbosdo: Adapted to writer refactorings

diff --git a/scratch/writer/gdbinit-cbosdo b/scratch/writer/gdbinit-cbosdo
index d65cfb3..378582a 100644
--- a/scratch/writer/gdbinit-cbosdo
+++ b/scratch/writer/gdbinit-cbosdo
@@ -132,14 +132,14 @@ define pnodesarr
     pNodeType
 #    printf "- SoS: %d", $sw_node->pStartOfSection->nOffset
 
-    if ( $sw_node->nNodeType == 2 || $sw_node->nNodeType == 6 )
+    if ( $sw_node->nNodeType == 2 || $sw_node->nNodeType == 6 || $sw_node->nNodeType == 0x42 )
         printf ", EoS: %d", $sw_node->GetStartNode( )->pEndOfSection->nOffset
         set $indent = $indent + 1
     end
     
     if ( $sw_node->IsTxtNode( ) )
         printf ", Text: "
-        set $sw_txt = $sw_node->GetTxtNode( )->aText
+        set $sw_txt = $sw_node->GetTxtNode( )->GetTxt()
         ptu $sw_txt
     else
         printf "\n"


More information about the ooo-build-commit mailing list