diff options
author | RĂ¼diger Timm <rt@openoffice.org> | 2003-04-23 15:55:41 +0000 |
---|---|---|
committer | RĂ¼diger Timm <rt@openoffice.org> | 2003-04-23 15:55:41 +0000 |
commit | 762183207fc8262a1fb0414f61b4e5fc75c28425 (patch) | |
tree | 15d1a36a800fee0712154fb6ceb8cd8b0c203b04 /basic/source/classes/disas.cxx | |
parent | e41c183a106e4cfe6f1f4808f454bc38c74e37c8 (diff) |
INTEGRATION: CWS uno2 (1.6.6); FILE MERGED
2003/04/11 14:20:42 ab 1.6.6.1: #108672# Basic Modules > 64K
Diffstat (limited to 'basic/source/classes/disas.cxx')
-rw-r--r-- | basic/source/classes/disas.cxx | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/basic/source/classes/disas.cxx b/basic/source/classes/disas.cxx index 77ad1cf76ba1..62e539150784 100644 --- a/basic/source/classes/disas.cxx +++ b/basic/source/classes/disas.cxx @@ -2,9 +2,9 @@ * * $RCSfile: disas.cxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: hr $ $Date: 2003-03-18 16:28:29 $ + * last change: $Author: rt $ $Date: 2003-04-23 16:55:41 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -416,18 +416,19 @@ BOOL SbiDisas::DisasLine( String& rText ) if( eOp == _STMNT && (short) nOp1 != nLine ) { // Zeile raussuchen + String aSource = rImg.aOUSource; USHORT n = 0, l = nLine = nOp1; while( --l ) { - n = rImg.aSource.SearchAscii( "\n", n ); + n = aSource.SearchAscii( "\n", n ); if( n == STRING_NOTFOUND ) break; else n++; } // Stelle anzeigen if( n != STRING_NOTFOUND ) { - USHORT n2 = rImg.aSource.SearchAscii( "\n", n ); - if( n2 == STRING_NOTFOUND ) n2 = rImg.aSource.Len() - n; - String s( rImg.aSource.Copy( n, n2 - n + 1 ) ); + USHORT n2 = aSource.SearchAscii( "\n", n ); + if( n2 == STRING_NOTFOUND ) n2 = aSource.Len() - n; + String s( aSource.Copy( n, n2 - n + 1 ) ); BOOL bDone; do { bDone = TRUE; |