remove code in dead HTML_BEHAVIOUR #define
git grep found nowhere in the codebase that this define is being set. Change-Id: I63e18e8f47b5e58ff96b075ddb4bc9a36e1dc80e Reviewed-on: https://gerrit.libreoffice.org/8002 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
parent
501a0142ec
commit
b16f90f331
@ -1600,17 +1600,10 @@ int HTMLParser::FilterPRE( int nToken )
|
||||
{
|
||||
switch( nToken )
|
||||
{
|
||||
#ifdef HTML_BEHAVIOUR
|
||||
// These become LFs according to the definition
|
||||
case HTML_PARABREAK_ON:
|
||||
case HTML_LINEBREAK:
|
||||
nToken = HTML_NEWPARA;
|
||||
#else
|
||||
// in Netscape they only have impact in not empty paragraphs
|
||||
case HTML_PARABREAK_ON:
|
||||
nToken = HTML_LINEBREAK;
|
||||
case HTML_LINEBREAK:
|
||||
#endif
|
||||
case HTML_NEWPARA:
|
||||
nPre_LinePos = 0;
|
||||
if( bPre_IgnoreNewPara )
|
||||
|
Loading…
x
Reference in New Issue
Block a user