diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2003-07-23 07:49:13 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2003-07-23 07:49:13 +0000 |
commit | 9400515bf86178cbdf695095ae60f385721ad357 (patch) | |
tree | 364f5b7aaecd3a6674bc16861e06f95cafbc7f73 /transex3/source/export.cxx | |
parent | 5d47da1a16cba73e76ed7ff17408cd35e208c004 (diff) |
INTEGRATION: CWS ivo02 (1.33.10); FILE MERGED
2003/07/18 10:22:43 ihi 1.33.10.1: #i15711# #i16453# core dump charAt( -1 )
Diffstat (limited to 'transex3/source/export.cxx')
-rw-r--r-- | transex3/source/export.cxx | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/transex3/source/export.cxx b/transex3/source/export.cxx index 9b4d35e154ac..812560c9b4cd 100644 --- a/transex3/source/export.cxx +++ b/transex3/source/export.cxx @@ -2,9 +2,9 @@ * * $RCSfile: export.cxx,v $ * - * $Revision: 1.33 $ + * $Revision: 1.34 $ * - * last change: $Author: hr $ $Date: 2003-06-13 11:40:45 $ + * last change: $Author: vg $ $Date: 2003-07-23 08:49:13 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -585,8 +585,10 @@ int Export::Execute( int nToken, char * pToken ) // cur. line has macro line end ByteString sTmpLine( sToken ); sTmpLine.EraseAllChars( '\t' ); sTmpLine.EraseAllChars( ' ' ); - if ( sTmpLine.GetChar(( USHORT )( sTmpLine.Len() - 1 )) != '\\' ) - bNextMustBeDefineEOL = TRUE; + if( sTmpLine.Len() < 0 ){ + if ( sTmpLine.GetChar(( USHORT )( sTmpLine.Len() - 1 )) != '\\' ) + bNextMustBeDefineEOL = TRUE; + } } } } |