diff --git a/svtools/source/svrtf/svparser.cxx b/svtools/source/svrtf/svparser.cxx index 1286851169eb..1fc8fde3b91a 100644 --- a/svtools/source/svrtf/svparser.cxx +++ b/svtools/source/svrtf/svparser.cxx @@ -59,11 +59,14 @@ SvParser::SvParser( SvStream& rIn, sal_uInt8 nStackSize ) , bTokenHasValue( false ) , eState( SVPAR_NOTSTARTED ) , eSrcEnc( RTL_TEXTENCODING_DONTKNOW ) - , bDownloadingFile( sal_False ) + , nNextChPos(0) + , bDownloadingFile(false) + , bUCS2BSrcEnc(false) + , bSwitchToUCS2(false) + , bRTF_InTextRead(false) , nTokenStackSize( nStackSize ) , nTokenStackPos( 0 ) { - bUCS2BSrcEnc = bSwitchToUCS2 = sal_False; eState = SVPAR_NOTSTARTED; if( nTokenStackSize < 3 ) nTokenStackSize = 3;