summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2004-02-04 12:20:05 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2004-02-04 12:20:05 +0000
commita28d4a7ea7e167bbc3f8609e32aad96b3e93cf37 (patch)
tree2954be4322d0bff66abf90a7d24de1909638ddbc /svx
parentdb173473cab7aa0b8eda33e3825581263e2b7911 (diff)
INTEGRATION: CWS ooo20031216 (1.13.350); FILE MERGED
2003/12/20 13:02:51 waratah 1.13.350.1: #i22301# correct debug=true for scoping problems
Diffstat (limited to 'svx')
-rw-r--r--svx/source/editeng/editdbg.cxx14
1 files changed, 9 insertions, 5 deletions
diff --git a/svx/source/editeng/editdbg.cxx b/svx/source/editeng/editdbg.cxx
index 21a00d53e22c..ff4f8b1ee416 100644
--- a/svx/source/editeng/editdbg.cxx
+++ b/svx/source/editeng/editdbg.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: editdbg.cxx,v $
*
- * $Revision: 1.13 $
+ * $Revision: 1.14 $
*
- * last change: $Author: vg $ $Date: 2003-04-15 17:29:21 $
+ * last change: $Author: hr $ $Date: 2004-02-04 13:20:05 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -383,7 +383,8 @@ void EditDbg::ShowEditEngineData( EditEngine* pEE, BOOL bInfoBox )
fprintf( fp, "\nZeichenattribute:" );
BOOL bZeroAttr = FALSE;
- for ( USHORT z = 0; z < pPPortion->GetNode()->GetCharAttribs().Count(); z++ )
+ USHORT z;
+ for ( z = 0; z < pPPortion->GetNode()->GetCharAttribs().Count(); z++ )
{
EditCharAttrib* pAttr = pPPortion->GetNode()->GetCharAttribs().GetAttribs().GetObject( z );
ByteString aCharAttribs;
@@ -441,7 +442,8 @@ void EditDbg::ShowEditEngineData( EditEngine* pEE, BOOL bInfoBox )
fprintf( fp, "\n\nZeilen:" );
// Erstmal die Inhalte...
- for ( USHORT nLine = 0; nLine < pPPortion->GetLines().Count(); nLine++ )
+ USHORT nLine;
+ for ( nLine = 0; nLine < pPPortion->GetLines().Count(); nLine++ )
{
EditLine* pLine = pPPortion->GetLines().GetObject( nLine );
@@ -521,11 +523,13 @@ void EditDbg::ShowEditEngineData( EditEngine* pEE, BOOL bInfoBox )
ByteString EditDbg::GetPortionInfo( ParaPortion* pPPortion )
{
+ USHORT z;
+
ByteString aDebStr( "Absatzlaenge = " );
aDebStr += ByteString::CreateFromInt32( pPPortion->GetNode()->Len() );
aDebStr += "\nZeichenattribute:";
- for ( USHORT z = 0; z < pPPortion->GetNode()->GetCharAttribs().Count(); z++ )
+ for ( z = 0; z < pPPortion->GetNode()->GetCharAttribs().Count(); z++ )
{
EditCharAttrib* pAttr = pPPortion->GetNode()->GetCharAttribs().GetAttribs().GetObject( z );
aDebStr += "\n ";