diff options
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/svhtml/parhtml.cxx | 2 | ||||
-rw-r--r-- | svtools/source/svrtf/parrtf.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/svhtml/parhtml.cxx b/svtools/source/svhtml/parhtml.cxx index bf4021360272..47f7701de267 100644 --- a/svtools/source/svhtml/parhtml.cxx +++ b/svtools/source/svhtml/parhtml.cxx @@ -317,7 +317,7 @@ SvParserState HTMLParser::CallParser() nPre_LinePos = 0; bPre_IgnoreNewPara = false; - AddRef(); + AddFirstRef(); Continue( 0 ); if( SVPAR_PENDING != eState ) ReleaseRef(); // Parser not needed anymore diff --git a/svtools/source/svrtf/parrtf.cxx b/svtools/source/svrtf/parrtf.cxx index 5c74f7245550..49a612eec01c 100644 --- a/svtools/source/svrtf/parrtf.cxx +++ b/svtools/source/svrtf/parrtf.cxx @@ -553,7 +553,7 @@ SvParserState SvRTFParser::CallParser() // the first two tokens should be '{' and \\rtf !! if( '{' == GetNextToken() && RTF_RTF == GetNextToken() ) { - AddRef(); + AddFirstRef(); Continue( 0 ); if( SVPAR_PENDING != eState ) ReleaseRef(); // now parser is not needed anymore |