diff options
author | RĂ¼diger Timm <rt@openoffice.org> | 2003-12-01 15:11:55 +0000 |
---|---|---|
committer | RĂ¼diger Timm <rt@openoffice.org> | 2003-12-01 15:11:55 +0000 |
commit | 87ac7baf3fae75f96cf1305c52f14f7194a81cba (patch) | |
tree | 55861c5f67cee31fff66973a491e11e71f243ea0 /autodoc/source/parser/cpp/cx_c_pp.cxx | |
parent | INTEGRATION: CWS ooo20031110 (1.1.56); FILE MERGED (diff) | |
download | core-87ac7baf3fae75f96cf1305c52f14f7194a81cba.tar.gz core-87ac7baf3fae75f96cf1305c52f14f7194a81cba.zip |
INTEGRATION: CWS ooo20031110 (1.2.36); FILE MERGED
2003/11/10 10:37:14 waratah 1.2.36.1: #i22301# resolve for scope issues
Diffstat (limited to 'autodoc/source/parser/cpp/cx_c_pp.cxx')
-rw-r--r-- | autodoc/source/parser/cpp/cx_c_pp.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/autodoc/source/parser/cpp/cx_c_pp.cxx b/autodoc/source/parser/cpp/cx_c_pp.cxx index e384df0a00d6..08c11e4d3e45 100644 --- a/autodoc/source/parser/cpp/cx_c_pp.cxx +++ b/autodoc/source/parser/cpp/cx_c_pp.cxx @@ -2,9 +2,9 @@ * * $RCSfile: cx_c_pp.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: hr $ $Date: 2003-03-18 14:11:41 $ + * last change: $Author: rt $ $Date: 2003-12-01 16:11:55 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -175,6 +175,8 @@ Context_PP_MacroParams::Context_PP_MacroParams( Cx_Base & i_rFollowUpContext ) void Context_PP_MacroParams::ReadCharChain( CharacterSource & io_rText ) { + uintt nLen; + jumpOverWhite( io_rText ); // KORR_FUTURE Handling line breaks within macro parameters: char cSeparator = jumpTo( io_rText, ',', ')' ); @@ -183,7 +185,7 @@ Context_PP_MacroParams::ReadCharChain( CharacterSource & io_rText ) static char cBuf[500]; // KORR_FUTURE, make it still safer, here: strcpy( cBuf, io_rText.CutToken() ); // SAFE STRCPY (#100211# - checked) - for ( uintt nLen = strlen(cBuf); + for ( nLen = strlen(cBuf); nLen > 0 AND cBuf[nLen-1] < 33; --nLen ) { } |