diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 20:26:37 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 20:26:37 +0000 |
commit | daa1488b9042cd8f46fa2fa291221bfc940a4995 (patch) | |
tree | d68acc90924e0dc871cddb8b3d7ecca4d79f215c /svtools | |
parent | 5878e0edfbf9203323cdb679500234144181c29c (diff) |
INTEGRATION: CWS warnings01 (1.20.62); FILE MERGED
2005/10/26 13:41:58 pl 1.20.62.2: #i55991# removed warnings for linux platform
2005/10/25 15:07:42 pl 1.20.62.1: #i55991# removed warnings for linux platform
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/svrtf/parrtf.cxx | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/svtools/source/svrtf/parrtf.cxx b/svtools/source/svrtf/parrtf.cxx index 83dce71605d2..18aa46006413 100644 --- a/svtools/source/svrtf/parrtf.cxx +++ b/svtools/source/svrtf/parrtf.cxx @@ -4,9 +4,9 @@ * * $RCSfile: parrtf.cxx,v $ * - * $Revision: 1.20 $ + * $Revision: 1.21 $ * - * last change: $Author: rt $ $Date: 2005-09-08 16:48:45 $ + * last change: $Author: hr $ $Date: 2006-06-19 21:26:37 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -364,7 +364,7 @@ void SvRTFParser::ScanText( const sal_Unicode cBreak ) aByteString.Append((char)GetHexValue()); bool bBreak = false; - sal_Char nSlash; + sal_Char nSlash = '\\'; while (!bBreak) { wchar_t __next=GetNextChar(); @@ -439,7 +439,10 @@ void SvRTFParser::ScanText( const sal_Unicode cBreak ) String sSave( aToken ); nNextCh = '\\'; - int nToken = _GetNextToken(); + #ifdef DBG_UTIL + int nToken = + #endif + _GetNextToken(); DBG_ASSERT( RTF_U == nToken, "doch kein UNI-Code Zeichen" ); // dont convert symbol chars aStrBuffer.Append( |